diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-24 17:18:33 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-24 17:18:33 +0000 |
commit | ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8 (patch) | |
tree | f998376ed58d317b2556882a29a91a7d1a0141b4 /webgui/data | |
parent | d687710cb8f5a5ceb605d9859cd8ba76fb2c45a0 (diff) | |
download | thermoprint-ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8.tar thermoprint-ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8.tar.gz thermoprint-ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8.tar.bz2 thermoprint-ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8.tar.xz thermoprint-ee0e38eba89bdc1a6b7b22b79b4693d35fa5f0a8.zip |
Style tweaks & discard -> save & clear
Diffstat (limited to 'webgui/data')
-rw-r--r-- | webgui/data/index.html | 13 | ||||
-rw-r--r-- | webgui/data/style.css | 10 |
2 files changed, 20 insertions, 3 deletions
diff --git a/webgui/data/index.html b/webgui/data/index.html index 79e7bc2..0c877ac 100644 --- a/webgui/data/index.html +++ b/webgui/data/index.html | |||
@@ -29,7 +29,7 @@ | |||
29 | <textarea id="editorText"></textarea> | 29 | <textarea id="editorText"></textarea> |
30 | <span id="bbcodeStatus"></span> | 30 | <span id="bbcodeStatus"></span> |
31 | <span id="editorStatus">Not connected to server</span> | 31 | <span id="editorStatus">Not connected to server</span> |
32 | <div class="table"> | 32 | <div class="table" style="width:100%"> |
33 | <div class="tr"> | 33 | <div class="tr"> |
34 | <div class="editorButtonContainer tc"> | 34 | <div class="editorButtonContainer tc"> |
35 | <button class="editorButton" id="saveButton">Save</button> | 35 | <button class="editorButton" id="saveButton">Save</button> |
@@ -38,7 +38,7 @@ | |||
38 | <button class="editorButton" id="printButton">Print</button> | 38 | <button class="editorButton" id="printButton">Print</button> |
39 | </div> | 39 | </div> |
40 | <div class="editorButtonContainer tc"> | 40 | <div class="editorButtonContainer tc"> |
41 | <button class="editorButton" id="discardButton">Discard</button> | 41 | <button class="editorButton" id="discardButton">Save & Clear</button> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
@@ -53,8 +53,15 @@ | |||
53 | </tr> | 53 | </tr> |
54 | </thead> | 54 | </thead> |
55 | <tbody id="draftListBody"></tbody> | 55 | <tbody id="draftListBody"></tbody> |
56 | <tfoot> | ||
57 | <tr> | ||
58 | <td></td><td></td> | ||
59 | <td> | ||
60 | <input id="allowDeletion" type="checkbox" /><label for="allowDeletion">Allow Deletion</label> | ||
61 | </td> | ||
62 | </tr> | ||
63 | </tfoot> | ||
56 | </table> | 64 | </table> |
57 | <input id="allowDeletion" type="checkbox" /><label for="allowDeletion">Allow Deletion</label> | ||
58 | </div> | 65 | </div> |
59 | 66 | ||
60 | <div class="tab" id="queue"> | 67 | <div class="tab" id="queue"> |
diff --git a/webgui/data/style.css b/webgui/data/style.css index 7520e42..001a874 100644 --- a/webgui/data/style.css +++ b/webgui/data/style.css | |||
@@ -36,6 +36,12 @@ thead tr:last-child td { | |||
36 | border-bottom:1px solid #ddd; | 36 | border-bottom:1px solid #ddd; |
37 | } | 37 | } |
38 | 38 | ||
39 | tfoot tr:first-child td { | ||
40 | margin:0.125em 0 0 0; | ||
41 | padding-top:0.125em; | ||
42 | border-top:1px solid #ddd; | ||
43 | } | ||
44 | |||
39 | .editorButtonContainer { | 45 | .editorButtonContainer { |
40 | text-align:center; | 46 | text-align:center; |
41 | } | 47 | } |
@@ -83,6 +89,10 @@ thead tr:last-child td { | |||
83 | width:6em; | 89 | width:6em; |
84 | } | 90 | } |
85 | 91 | ||
92 | #draftListBody tbody { | ||
93 | min-height:10em; | ||
94 | } | ||
95 | |||
86 | /*----- Tabs -----*/ | 96 | /*----- Tabs -----*/ |
87 | .tabs { | 97 | .tabs { |
88 | display:block; | 98 | display:block; |