Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Style tweaks, including some CSS and moving the capability string element 'out' one level. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | inherit-priv-mark-sub |
| Files: | files | file ages | folders |
| SHA1: |
bdf233a7147d0c35c38d23a3f83476e8 |
| User & Date: | mistachkin 2014-09-27 21:41:12.638 |
Context
|
2014-09-27
| ||
| 22:03 | Some JavaScript coding style updates. ... (check-in: df0e48e0ab user: mistachkin tags: inherit-priv-mark-sub) | |
| 21:41 | Style tweaks, including some CSS and moving the capability string element 'out' one level. ... (check-in: bdf233a714 user: mistachkin tags: inherit-priv-mark-sub) | |
| 20:11 | removed an unused JS var. ... (check-in: 2adc039766 user: stephan tags: inherit-priv-mark-sub) | |
Changes
Changes to src/setup.c.
| ︙ | ︙ | |||
489 490 491 492 493 494 495 |
if( login_is_special(zLogin) ){
@ <input type="hidden" name="login" value="%s(zLogin)">
@ <input type="hidden" name="info" value="">
@ <input type="hidden" name="pw" value="*">
}
@ <script type='text/javascript'>
@ function fossilUpdatePermissionsList(){
| | | | 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 |
if( login_is_special(zLogin) ){
@ <input type="hidden" name="login" value="%s(zLogin)">
@ <input type="hidden" name="info" value="">
@ <input type="hidden" name="pw" value="*">
}
@ <script type='text/javascript'>
@ function fossilUpdatePermissionsList(){
@ /* updates #usetupEditCapability with current permissions string based on checkboxes */
@ try {
@ var inputs = document.getElementsByTagName('input'), i, x = 0, e, permsIds = [];
@ if(inputs && inputs.length){
@ for( i = 0; i < inputs.length; ++i ){
@ e = inputs[i];
@ if(e.name && e.type && ('checkbox' === e.type.toLowerCase()) && 2===e.name.length && 'a'===e.name[0]){
@ // looks like a permissions checkbox
@ if(e.checked){
@ permsIds[x++] = e.name[1];
@ }
@ }
@ }
@ }
@ permsIds.sort();
@ document.getElementById('usetupEditCapability').innerHTML = permsIds.join('');
@ }catch(e){/*ignore errors*/}
@ }</script>
@ <table>
@ <tr>
@ <td class="usetupEditLabel">User ID:</td>
if( uid ){
@ <td>%d(uid) <input type="hidden" name="id" value="%d(uid)" /></td>
|
| ︙ | ︙ | |||
588 589 590 591 592 593 594 |
@ <label><input type="checkbox" name="at"%s(oa['t']) onchange="fossilUpdatePermissionsList()" />
@ Ticket Report%s(B('t'))</label><br />
@ <label><input type="checkbox" name="ax"%s(oa['x']) onchange="fossilUpdatePermissionsList()" />
@ Private%s(B('x'))</label><br />
@ <label><input type="checkbox" name="az"%s(oa['z']) onchange="fossilUpdatePermissionsList()" />
@ Download Zip%s(B('z'))</label>
@ </td></tr>
| < > > > > > > | 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 |
@ <label><input type="checkbox" name="at"%s(oa['t']) onchange="fossilUpdatePermissionsList()" />
@ Ticket Report%s(B('t'))</label><br />
@ <label><input type="checkbox" name="ax"%s(oa['x']) onchange="fossilUpdatePermissionsList()" />
@ Private%s(B('x'))</label><br />
@ <label><input type="checkbox" name="az"%s(oa['z']) onchange="fossilUpdatePermissionsList()" />
@ Download Zip%s(B('z'))</label>
@ </td></tr>
@ </table>
@ </td>
@ </tr>
@ <tr>
@ <td class="usetupEditLabel">Selected Capabilities:</td>
@ <td>
@ <span id="usetupEditCapability">(missing JS?)</span>
@ </td>
@ </tr>
if( !login_is_special(zLogin) ){
@ <tr>
@ <td align="right">Password:</td>
if( zPw[0] ){
/* Obscure the password for all users */
@ <td><input type="password" name="pw" value="**********" /></td>
}else{
|
| ︙ | ︙ |
Changes to src/style.c.
| ︙ | ︙ | |||
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
{ "tr.row0",
"even table row color",
@ /* use default */
},
{ "tr.row1",
"odd table row color",
@ /* Use default */
},
{ "#canvas", "timeline graph node colors",
@ color: black;
@ background-color: white;
},
{ 0,
0,
| > > > > | 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 |
{ "tr.row0",
"even table row color",
@ /* use default */
},
{ "tr.row1",
"odd table row color",
@ /* Use default */
},
{ "#usetupEditCapability",
"format for capabilities string, mentioned on the user edit page",
@ font-weight: bold;
},
{ "#canvas", "timeline graph node colors",
@ color: black;
@ background-color: white;
},
{ 0,
0,
|
| ︙ | ︙ |