Changeset 13673
- Timestamp:
- 2007-01-18T10:38:03+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/gti.dm
r12554 r13673 2 2 3 3 package gti 4 5 ####################################################################### 6 # page head 7 ####################################################################### 8 _header_ { 9 <html> 10 <head> 11 <title>_pagetitle_</title> 12 <style type="text/css"> 13 div.todo\{float: left; width: 23px; white-space: pre; text-align: right; color: red;\} 14 div.update\{float: left; width: 23px; white-space: pre; text-align: right; color: orange;\} 15 div.done\{float: left; width: 23px; white-space: pre; text-align: right; color: green;\} 16 div.plus\{float: left; width: 11px; white-space: pre; text-align: center;\} 17 div.nowrap\{table-layout: fixed; hight: 20px; width: 100px;\} 18 table.status\{border-collapse: collapse;border-style: none; font-size: 12pt;\} 19 td.first\{border:solid; border-width:1px; border-color:grey; border-collapse: collapse; vertical-align: middle;\} 20 td.status\{table-layout: fixed; border:solid; border-width:1px; border-color:grey; border-collapse: collapse; vertical-align: middle; text-align: center;\} 21 th.status\{border:solid; border-width:1px; border-color:white; border-collapse: collapse; background-color: #d0d0d0; text-align: center;\} 22 </style> 23 </head> 24 <body> 25 } 4 26 5 27 ####################################################################### … … 60 82 <input type="hidden" name="p" value="core"/><input type="submit" value="_textgtienter_"/> 61 83 </center> 84 } 85 86 # Content of the GTI "view status" page 87 _gtistatus_ { 88 <h2>_textgtistatustable_</h2> 89 <table> 90 <tr><td><font color="green">green</font>:</td><td>_textgtinumchunkstranslated2_</td></tr> 91 <tr><td><font color="orange">orange</font>:</td><td>_textgtinumchunksrequiringupdating2_</td></tr> 92 <tr><td><font color="red">red</font>:</td><td>_textgtinumchunksrequiringtranslation2_</td></tr> 93 </table> 94 _gtistatustable_ 62 95 } 63 96 … … 140 173 141 174 # -------------------------------------------------------------------------------- 175 # Displays the status of a translation file 176 # 177 # Used on the GTI "view status" page 178 # 179 # Parameters: 1 -- Number of chunks translated 180 # 2 -- Number of chunks requiring translation 181 # 3 -- Number of chunks requiring updating 182 # -------------------------------------------------------------------------------- 183 _gtitranslationfilestatus2_ { 184 _If_("_1_" eq "0", , <font color="green">_1_</font>+<font color="orange">_3_</font>+<font color="red">_2_</font>) 185 } 186 187 # -------------------------------------------------------------------------------- 142 188 # Displays text area for correcting a chunk 143 189 #
Note:
See TracChangeset
for help on using the changeset viewer.