Differences From:
File
src/style.c
part of check-in
[5cd9597428]
- Added style.css page that get's from the repo or uses a built in style.css. Removed static formatting in header/footer, replaced with divs, spans and ids which the style.css can totally control. The default style.css is simple, uses blue colors from timeline date area. Fixed minor bug on setup_ulist where it would display footer at top.
by
jnc on
2007-09-24 04:37:18.
[view]
To:
File
src/style.c
part of check-in
[01ce2cf3dc]
- Added a gdiff command. diff command now runs config diff-command, gdiff command (graphical diff) now runs config gdiff-command. With both, if -i is supplied, internal diff is used. With both, if they are not configured, internal diff is used. Fixed bug with internal diff giving files in reverse order. Also put div id="sub-menu" inside of submenu if, as to not display the sub menu if no sub menu items exist
by
jnc on
2007-09-24 14:02:30.
[view]
@@ -108,10 +108,10 @@
if( !g.noPswd ){
@ | <a href="%s(g.zBaseURL)/login">%s(zLogInOut)</a>
}
@ </div>
- @ <div id="sub-menu">
if( nSubmenu>0 ){
+ @ <div id="sub-menu">
int i;
qsort(aSubmenu, nSubmenu, sizeof(aSubmenu[0]), submenuCompare);
for(i=0; i<nSubmenu; i++){
struct Submenu *p = &aSubmenu[i];
@@ -123,10 +123,10 @@
@ <a class="label" href="%T(p->zLink)">%h(p->zLabel)</a>
@ <span class="tail">%s(zTail)</span>
}
}
- }
- @ </div>
+ @ </div>
+ }
@ <div id="page">
g.cgiPanic = 1;
}