Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | css for hyperlinks disabled |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | wolfgangFormat2CSS |
| Files: | files | file ages | folders |
| SHA1: |
0e394b8fa2ab71d64721dcf35c301fe3 |
| User & Date: | wolfgang 2010-09-08 20:25:07.000 |
Context
|
2010-09-08
| ||
| 21:15 | made default css handled by loop instead of explizit calls, .. ... (check-in: a5576e2d51 user: wolfgang tags: wolfgangFormat2CSS) | |
| 20:25 | css for hyperlinks disabled ... (check-in: 0e394b8fa2 user: wolfgang tags: wolfgangFormat2CSS) | |
| 19:26 | reduced html validator errors on branch page ... (check-in: 156358e296 user: wolfgang tags: wolfgangFormat2CSS) | |
Changes
Changes to src/branch.c.
| ︙ | ︙ | |||
229 230 231 232 233 234 235 |
}else{
style_submenu_element("Closed","Closed","brlist?closed");
}
login_anonymous_available();
compute_leaves(0, 1);
style_sidebox_begin("Nomenclature:", "33%");
@ <ol>
| | | | | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
}else{
style_submenu_element("Closed","Closed","brlist?closed");
}
login_anonymous_available();
compute_leaves(0, 1);
style_sidebox_begin("Nomenclature:", "33%");
@ <ol>
@ <li> An <div class="sideboxDescribed"><a href="brlist">open branch</a></div> is a branch that has one or
@ more <a href="leaves">open leaves.</a>
@ The presence of open leaves presumably means
@ that the branch is still being extended with new check-ins.</li>
@ <li> A <div class="sideboxDescribed"><a href="brlist?closed">closed branch</a></div> is a branch with only
@ <div class="sideboxDescribed"><a href="leaves?closed">closed leaves</a></div>.
@ Closed branches are fixed and do not change (unless they are first
@ reopened)</li>
@ </ol>
style_sidebox_end();
cnt = 0;
if( !showClosed ){
|
| ︙ | ︙ |
Changes to src/descendants.c.
| ︙ | ︙ | |||
316 317 318 319 320 321 322 |
style_submenu_element("Open", "Open", "leaves");
}
style_header("Leaves");
login_anonymous_available();
compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1);
style_sidebox_begin("Nomenclature:", "33%");
@ <ol>
| | | | | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 |
style_submenu_element("Open", "Open", "leaves");
}
style_header("Leaves");
login_anonymous_available();
compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1);
style_sidebox_begin("Nomenclature:", "33%");
@ <ol>
@ <li> A <div class="sideboxDescribed">leaf</div> is a check-in with no descendants.</li>
@ <li> An <div class="sideboxDescribed">open leaf</div> is a leaf that does not have a "closed" tag
@ and is thus assumed to still be in use.</li>
@ <li> A <div class="sideboxDescribed">closed leaf</div> has a "closed" tag and is thus assumed to
@ be historical and no longer in active use.</li>
@ </ol>
style_sidebox_end();
if( showAll ){
@ <h1>All leaves, both open and closed:</h1>
}else if( showClosed ){
|
| ︙ | ︙ |
Changes to src/login.c.
| ︙ | ︙ | |||
594 595 596 597 598 599 600 |
*/
void login_anonymous_available(void){
if( !g.okHistory &&
db_exists("SELECT 1 FROM user"
" WHERE login='anonymous'"
" AND cap LIKE '%%h%%'") ){
const char *zUrl = PD("REQUEST_URI", "index");
| | | 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
*/
void login_anonymous_available(void){
if( !g.okHistory &&
db_exists("SELECT 1 FROM user"
" WHERE login='anonymous'"
" AND cap LIKE '%%h%%'") ){
const char *zUrl = PD("REQUEST_URI", "index");
@ <p>Many <span class="disabled">hyperlinks are disabled.</span><br />
@ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a>
@ to enable hyperlinks.</p>
}
}
/*
** While rendering a form, call this routine to add the Anti-CSRF token
|
| ︙ | ︙ |
Changes to src/setup.c.
| ︙ | ︙ | |||
910 911 912 913 914 915 916 917 918 919 920 921 922 923 | @ See also the <a href="setup_header">header</a> and @ <a href="setup_footer">footer</a> editing screens. @ <blockquote><pre> @ %h(zDefaultCSS) @ %h(zTableLabelValueCSS) @ %h(zDivSidebox) @ %h(zDivSideboxTitle) @ </pre></blockquote> style_footer(); db_end_transaction(0); } /* ** WEBPAGE: setup_header | > > | 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 | @ See also the <a href="setup_header">header</a> and @ <a href="setup_footer">footer</a> editing screens. @ <blockquote><pre> @ %h(zDefaultCSS) @ %h(zTableLabelValueCSS) @ %h(zDivSidebox) @ %h(zDivSideboxTitle) @ %h(zDivSideboxDescribed) @ %h(zSpanDisabled) @ </pre></blockquote> style_footer(); db_end_transaction(0); } /* ** WEBPAGE: setup_header |
| ︙ | ︙ |
Changes to src/style.c.
| ︙ | ︙ | |||
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 |
const char zDivSideboxTitle[] =
@ /* The nomenclature title in sideboxes for branches,.. */
@ div.sideboxTitle {
@ display: inline;
@ font-weight: bold;
@ }
;
/*
** WEBPAGE: style.css
*/
void page_style_css(void){
const char *zCSS = 0;
const char *zCSSdef = 0;
cgi_set_content_type("text/css");
zCSS = db_get("css",(char*)zDefaultCSS);
/* append user defined css */
cgi_append_content(zCSS, -1);
/* add special missing definitions */
if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
if (!strstr("div.sidebox",zCSS)) cgi_append_content(zDivSidebox, -1);
if (!strstr("div.sideboxTitle",zCSS)) cgi_append_content(zDivSideboxTitle, -1);
g.isConst = 1;
}
/*
** WEBPAGE: test_env
*/
void page_test_env(void){
| > > > > > > > > > > > > > > > | 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
const char zDivSideboxTitle[] =
@ /* The nomenclature title in sideboxes for branches,.. */
@ div.sideboxTitle {
@ display: inline;
@ font-weight: bold;
@ }
;
const char zDivSideboxDescribed[] =
@ /* The defined element in sideboxes for branches,.. */
@ div.sideboxDescribed {
@ display: inline;
@ font-weight: bold;
@ }
;
const char zSpanDisabled[] =
@ /* The defined element in sideboxes for branches,.. */
@ span.disabled {
@ color: red;
@ }
;
/*
** WEBPAGE: style.css
*/
void page_style_css(void){
const char *zCSS = 0;
const char *zCSSdef = 0;
cgi_set_content_type("text/css");
zCSS = db_get("css",(char*)zDefaultCSS);
/* append user defined css */
cgi_append_content(zCSS, -1);
/* add special missing definitions */
if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
if (!strstr("div.sidebox",zCSS)) cgi_append_content(zDivSidebox, -1);
if (!strstr("div.sideboxTitle",zCSS)) cgi_append_content(zDivSideboxTitle, -1);
if (!strstr("div.sideboxDescribed",zCSS)) cgi_append_content(zDivSideboxDescribed, -1);
if (!strstr("span.disabled",zCSS)) cgi_append_content(zSpanDisabled, -1);
g.isConst = 1;
}
/*
** WEBPAGE: test_env
*/
void page_test_env(void){
|
| ︙ | ︙ |