Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Make the "Line Numbers" submenu element on the /artifact and /file pages a check-box. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4946efef65c2e808686d8c9a80544ba2 |
| User & Date: | drh 2016-11-29 16:57:35.722 |
Context
|
2016-11-30
| ||
| 04:08 | Minor correction to documentation of new /file webpage regarding multiple highlighted line blocks. ... (check-in: 4896c0b731 user: andybradford tags: trunk) | |
|
2016-11-29
| ||
| 16:57 | Make the "Line Numbers" submenu element on the /artifact and /file pages a check-box. ... (check-in: 4946efef65 user: drh tags: trunk) | |
| 14:32 | Further enhancements to the new /file webpage. ... (check-in: 3cca4c254f user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
1979 1980 1981 1982 1983 1984 1985 |
}
if( (objType & (OBJTYPE_WIKI|OBJTYPE_TICKET))!=0 ){
style_submenu_element("Parsed", "%R/info/%s", zUuid);
}
if( descOnly ){
style_submenu_element("Content", "%R/artifact/%s", zUuid);
}else{
| | | < < < < | 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 |
}
if( (objType & (OBJTYPE_WIKI|OBJTYPE_TICKET))!=0 ){
style_submenu_element("Parsed", "%R/info/%s", zUuid);
}
if( descOnly ){
style_submenu_element("Content", "%R/artifact/%s", zUuid);
}else{
if( zLn==0 || atoi(zLn)==0 ){
style_submenu_checkbox("ln", "Line Numbers", 0);
}
@ <hr />
content_get(rid, &content);
if( renderAsWiki ){
wiki_render_by_mimetype(&content, zMime);
}else if( renderAsHtml ){
@ <iframe src="%R/raw/%T(blob_str(&downloadName))?name=%s(zUuid)"
|
| ︙ | ︙ |
Changes to src/style.c.
| ︙ | ︙ | |||
591 592 593 594 595 596 597 |
@ selected\
}
@ >%h(aSubmenuCtrl[i].zFalse)</option>
@ </select>
break;
}
case FF_CHECKBOX:
| | | | 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
@ selected\
}
@ >%h(aSubmenuCtrl[i].zFalse)</option>
@ </select>
break;
}
case FF_CHECKBOX:
@ <label class='submenuctrl submenuckbox'>\
@ <input type='checkbox' name='%s(zQPN)' \
if( PB(zQPN) ){
@ checked \
}
@ onchange='gebi("f01").submit();'%s(zDisabled)>\
@ %h(aSubmenuCtrl[i].zLabel)</label>
break;
}
|
| ︙ | ︙ |