Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | code layout optimoied for user color input and standard style comment for use of jscolor.com.. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | wolfgangFormat2CSS_2 |
| Files: | files | file ages | folders |
| SHA1: |
87e27419fd33979a4458bd72506b7fb6 |
| User & Date: | wolfgang 2010-09-26 11:32:09.000 |
| Original User & Date: | Ratte 2010-09-26 11:32:09.000 |
Context
|
2010-09-26
| ||
| 11:34 | merge from trunk ... (check-in: 5b2c837336 user: wolfgang tags: wolfgangFormat2CSS_2) | |
| 11:32 | code layout optimoied for user color input and standard style comment for use of jscolor.com.. ... (check-in: 87e27419fd user: wolfgang tags: wolfgangFormat2CSS_2) | |
| 10:35 | edit checkin page html validated and added custom color edit ... (check-in: 41385f75da user: wolfgang tags: wolfgangFormat2CSS_2) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
1514 1515 1516 1517 1518 1519 1520 |
for(i=0,stdClrFound=0; i<nColor; i++){
if( aColor[i].zColor[0] ){
@ <td style="background-color: %h(aColor[i].zColor);">
}else{
@ <td>
}
if( strcmp(zNewColor, aColor[i].zColor)==0 ){
| | > | > > | > > > > > | < > | | 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 |
for(i=0,stdClrFound=0; i<nColor; i++){
if( aColor[i].zColor[0] ){
@ <td style="background-color: %h(aColor[i].zColor);">
}else{
@ <td>
}
if( strcmp(zNewColor, aColor[i].zColor)==0 ){
@ <input type="radio" name="clr" value="%h(aColor[i].zColor)"
@ checked="checked" />
stdClrFound=1;
}else{
@ <input type="radio" name="clr" value="%h(aColor[i].zColor)" />
}
@ %h(aColor[i].zCName)</td>
if( (i%6)==5 && i+1<nColor ){
@ </tr><tr>
}
}
@ </tr><tr>
if (stdClrFound){
@ <td colspan="6">
@ <input type="radio" name="clr" value="%h(aColor[nColor].zColor)" />
}else{
@ <td style="background-color: %h(zNewColor);" colspan="6">
@ <input type="radio" name="clr" value="%h(aColor[nColor].zColor)"
@ checked="checked" />
}
@ %h(aColor[i].zCName)
@ <input type="text" name="clrcust" id="clrcust" class="checkinUserColor"
@ value="%h(stdClrFound?"":zNewColor)" />
@ </td>
@ </tr>
@ </table>
@ </td></tr>
@ <tr><td align="right" valign="top"><b>Tags:</b></td>
@ <td valign="top">
|
| ︙ | ︙ |
Changes to src/style.c.
| ︙ | ︙ | |||
647 648 649 650 651 652 653 654 655 656 657 658 659 660 |
@ background-color: #d0d0d0;
},
{ "span.tktError",
"format for ticket error messages",
@ color: red;
@ font-weight: bold;
},
{ 0,
0,
0
}
};
/*
| > > > > > > > > > > | 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 |
@ background-color: #d0d0d0;
},
{ "span.tktError",
"format for ticket error messages",
@ color: red;
@ font-weight: bold;
},
{ "input.checkinUserColor",
"format for user color input on checkin edit page",
@ # no special definitions, class defined, to enable color pickers, f.e.:
@ # add the color picker found at http:jscolor.com as java script include
@ # to the header and configure the java script file with
@ # 1. use as bindClass :checkinUserColor
@ # 2. change the default hash adding behaviour to ON
@ # or change the class defition of element identified by id="clrcust"
@ # to a standard jscolor definition with java script in the footer.
},
{ 0,
0,
0
}
};
/*
|
| ︙ | ︙ |