Changeset 65 for trunk/templates
- Timestamp:
- 11/25/10 16:26:08 (14 years ago)
- Location:
- trunk/templates
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/dns.css
r59 r65 42 42 width: 100%; 43 43 } 44 table.border { 45 border: thin solid #000000; 46 } 44 47 45 48 tr.row0 { … … 61 64 background-color: #F0F0F0; 62 65 text-align: left; 66 } 67 68 th { 69 background-color: #F0F0F0; 70 font-size: 1.1em; 71 font-weight:normal; 72 padding: 4px; 63 73 } 64 74 … … 128 138 text-align: right; 129 139 } 140 td.border { 141 background-color: #e0e0e0; 142 border: solid 1px #101010; 143 padding: 2px; 144 } 145 td.noaccess { 146 background-color: #ffe8e8; 147 color: #2f0000; 148 } 130 149 131 150 .meat { … … 136 155 font-size: 10px; 137 156 } 157 138 158 ul { 139 159 margin-left: 10px; … … 143 163 /* F*** ME BUT THIS LOOKS LIKE CRAP! */ 144 164 /* Need to find a way to vertically centre the plus image on the text. >:( */ 145 /*li.hassub { 146 list-style: none outside url('../images/plus.gif'); 165 li.hassub { 166 background-image: url('../images/fwd.png'); 167 background-repeat: no-repeat; 168 background-position: 0px 1px; 169 padding-left: 10px; 170 //list-style: none outside url('../images/fwd.png'); 171 margin-left: 0px; 147 172 } 148 173 li.leaf { 149 list-style: none outside none; 150 } */ 151 174 //list-style: none outside none; 175 //margin-left: 0px; 176 } 177 li.lastinlvl { 178 background-image: url('../images/ASC.png'); 179 background-repeat: no-repeat; 180 background-position: 0px 1px; 181 padding-left: 10px; 182 //list-style: none outside url('../images/fwd.png'); 183 margin-left: 0px; 184 } 185 ul.grptree { 186 list-style-type: none; 187 padding: 0px; 188 margin: 0px; 189 } 152 190 #grptree { 153 //margin-left: 1 5px;191 //margin-left: 10px; 154 192 } 155 193 /* general classes */ -
trunk/templates/grpman.tmpl
r44 r65 31 31 <TMPL_LOOP name=grouptable> 32 32 <tr class="row<TMPL_VAR name=bg>"> 33 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page= grpman&action=chgroup&group=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td>33 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=edgroup&gid=<TMPL_VAR NAME=groupid>"><TMPL_VAR NAME=groupname></a></td> 34 34 <td><TMPL_VAR name=pgroup></td> 35 35 <td><TMPL_VAR name=nusers></td> -
trunk/templates/grptree.tmpl
r41 r65 1 1 <ul> 2 <TMPL_LOOP NAME=treelvl><li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF> "><TMPL_VAR NAME=grpname>2 <TMPL_LOOP NAME=treelvl><li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF><TMPL_IF last> lastinlvl</TMPL_IF>"><TMPL_VAR NAME=grpname> 3 3 <TMPL_VAR NAME=subs></li> 4 4 </TMPL_LOOP></ul> -
trunk/templates/menu.tmpl
r43 r65 23 23 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman">Manage groups</a><br /> 24 24 <div id="grptree"> 25 <ul >26 <li ><TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF>25 <ul class="grptree"> 26 <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>"><TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF> 27 27 <TMPL_VAR NAME=grptree> 28 28 </li> -
trunk/templates/newuser.tmpl
r38 r65 12 12 <input type="hidden" name="newuser" value="yes" /> 13 13 14 <table class="container" width="450">15 < tr><td>16 <table border="0" cellspacing="2" cellpadding="2" width="100%">17 <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding user <TMPL_VAR NAME=uname>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>14 <table border="0" cellspacing="2" cellpadding="2" width="450"> 15 <TMPL_IF add_failed> <tr> 16 <td class="errhead" colspan="2">Error adding user <TMPL_VAR NAME=uname>: <TMPL_VAR NAME=errmsg></td> 17 </tr></TMPL_IF> 18 18 <tr class="darkrowheader"><td colspan="2" align="center">Add User</td></tr> 19 19 … … 53 53 <td>Create as active user</td><td><input type="checkbox" name="makeactive" checked="checked" /></td> 54 54 </tr> 55 56 <tr> 57 <td colspan="2"> 58 59 <table style="border: thin solid #000000;" border="0" cellspacing="5" cellpadding="0" width="100%"> 60 <tr class="tableheader"> 61 <td align="center" colspan="5"> 62 <input type="radio" name="perms_type" value="inherit" <TMPL_IF add_failed><TMPL_IF perm_inherit>checked="checked"</TMPL_IF><TMPL_ELSE>checked="checked"</TMPL_IF>/> Inherit permissions from group 63 </td> 64 </tr> 65 <tr> 66 <td align="right">Group:</td> 67 <td><input type="checkbox"<TMPL_IF i_grped> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td> 68 <td><input type="checkbox"<TMPL_IF i_grpcreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td> 69 <td><input type="checkbox"<TMPL_IF i_grpdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td> 70 </tr> 71 <tr> 72 <td align="right">User:</td> 73 <td><input type="checkbox"<TMPL_IF i_usered> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td> 74 <td><input type="checkbox"<TMPL_IF i_usercreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td> 75 <td><input type="checkbox"<TMPL_IF i_userdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td> 76 </tr> 77 <tr> 78 <td align="right">Domain:</td> 79 <td><input type="checkbox"<TMPL_IF i_domed> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td> 80 <td><input type="checkbox"<TMPL_IF i_domcreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td> 81 <td><input type="checkbox"<TMPL_IF i_domdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td> 82 <!-- td>+ Delegate</td --> 83 </tr> 84 <tr> 85 <td align="right">Domain Record:</td> 86 <td><input type="checkbox"<TMPL_IF i_reced> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td> 87 <td><input type="checkbox"<TMPL_IF i_reccreate> checked="checked"</TMPL_IF> disabled="disabled" /> Create</td> 88 <td><input type="checkbox"<TMPL_IF i_recdel> checked="checked"</TMPL_IF> disabled="disabled" /> Delete</td> 89 <!-- td>+ Delegate</td --> 90 </tr> 91 <tr> 92 <td align="right">Self:</td> 93 <td><input type="checkbox"<TMPL_IF i_edself> checked="checked"</TMPL_IF> disabled="disabled" /> Edit</td> 94 </tr> 95 96 <tr class="tableheader"> 97 <td align="center" colspan="5"> 98 <input type="radio" name="perms_type" value="clone" <TMPL_IF add_failed><TMPL_IF perm_clone> checked="checked"</TMPL_IF></TMPL_IF>/> Clone permissions from an existing user 99 </td> 100 </tr> 101 <tr> 102 <td align="center" colspan="5"> 103 Note: Only users in the current group may be cloned<br> 104 <select name="clonesrc"> 105 <option>-</option> 106 <TMPL_LOOP name=clonesrc><option value="<TMPL_VAR NAME=uid>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=username></option> 107 </TMPL_LOOP></select> 108 </td> 109 </tr> 110 <tr class="tableheader"> 111 <td align="center" colspan="5"> 112 <input type="radio" name="perms_type" value="custom" <TMPL_IF add_failed><TMPL_IF perm_custom> checked="checked"</TMPL_IF></TMPL_IF>/> Specify permissions 113 </td> 114 </tr> 115 <TMPL_INCLUDE name="permlist_enabled.tmpl"> 116 117 </table> 118 119 </td> 120 </tr> 121 55 122 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add user" /></td></tr> 123 56 124 <tr><td colspan="2">tmp note: radio button select "group template" vs "clone user"?</td></tr> 57 125 </table> 58 </td>59 </tr>60 </table>61 126 62 127 </fieldset> -
trunk/templates/useradmin.tmpl
r59 r65 31 31 <TMPL_LOOP name=usertable> 32 32 <tr class="row<TMPL_VAR name=bg>"> 33 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page= useradmin&action=chuser&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td>33 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=edituser&user=<TMPL_VAR NAME=userid>"><TMPL_VAR NAME=username></a></td> 34 34 <td class="data_nowrap"><TMPL_VAR name=userfull></td> 35 35 <td><TMPL_VAR name=usertype></td>
Note:
See TracChangeset
for help on using the changeset viewer.