Fossil SCM
css for hyperlinks disabled
Commit
0e394b8fa2ab71d64721dcf35c301fe38a409d7a
Parent
156358e296fd7ba…
5 files changed
+3
-3
+3
-3
+1
-1
+2
+15
+3
-3
| --- src/branch.c | ||
| +++ src/branch.c | ||
| @@ -231,16 +231,16 @@ | ||
| 231 | 231 | } |
| 232 | 232 | login_anonymous_available(); |
| 233 | 233 | compute_leaves(0, 1); |
| 234 | 234 | style_sidebox_begin("Nomenclature:", "33%"); |
| 235 | 235 | @ <ol> |
| 236 | - @ <li> An <a href="brlist">open branch</a> is a branch that has one or | |
| 236 | + @ <li> An <div class="sideboxDescribed"><a href="brlist">open branch</a></div> is a branch that has one or | |
| 237 | 237 | @ more <a href="leaves">open leaves.</a> |
| 238 | 238 | @ The presence of open leaves presumably means |
| 239 | 239 | @ that the branch is still being extended with new check-ins.</li> |
| 240 | - @ <li> A <a href="brlist?closed">closed branch</a> is a branch with only | |
| 241 | - @ <a href="leaves?closed">closed leaves</a>. | |
| 240 | + @ <li> A <div class="sideboxDescribed"><a href="brlist?closed">closed branch</a></div> is a branch with only | |
| 241 | + @ <div class="sideboxDescribed"><a href="leaves?closed">closed leaves</a></div>. | |
| 242 | 242 | @ Closed branches are fixed and do not change (unless they are first |
| 243 | 243 | @ reopened)</li> |
| 244 | 244 | @ </ol> |
| 245 | 245 | style_sidebox_end(); |
| 246 | 246 | |
| 247 | 247 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -231,16 +231,16 @@ | |
| 231 | } |
| 232 | login_anonymous_available(); |
| 233 | compute_leaves(0, 1); |
| 234 | style_sidebox_begin("Nomenclature:", "33%"); |
| 235 | @ <ol> |
| 236 | @ <li> An <a href="brlist">open branch</a> is a branch that has one or |
| 237 | @ more <a href="leaves">open leaves.</a> |
| 238 | @ The presence of open leaves presumably means |
| 239 | @ that the branch is still being extended with new check-ins.</li> |
| 240 | @ <li> A <a href="brlist?closed">closed branch</a> is a branch with only |
| 241 | @ <a href="leaves?closed">closed leaves</a>. |
| 242 | @ Closed branches are fixed and do not change (unless they are first |
| 243 | @ reopened)</li> |
| 244 | @ </ol> |
| 245 | style_sidebox_end(); |
| 246 | |
| 247 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -231,16 +231,16 @@ | |
| 231 | } |
| 232 | login_anonymous_available(); |
| 233 | compute_leaves(0, 1); |
| 234 | style_sidebox_begin("Nomenclature:", "33%"); |
| 235 | @ <ol> |
| 236 | @ <li> An <div class="sideboxDescribed"><a href="brlist">open branch</a></div> is a branch that has one or |
| 237 | @ more <a href="leaves">open leaves.</a> |
| 238 | @ The presence of open leaves presumably means |
| 239 | @ that the branch is still being extended with new check-ins.</li> |
| 240 | @ <li> A <div class="sideboxDescribed"><a href="brlist?closed">closed branch</a></div> is a branch with only |
| 241 | @ <div class="sideboxDescribed"><a href="leaves?closed">closed leaves</a></div>. |
| 242 | @ Closed branches are fixed and do not change (unless they are first |
| 243 | @ reopened)</li> |
| 244 | @ </ol> |
| 245 | style_sidebox_end(); |
| 246 | |
| 247 |
+3
-3
| --- src/descendants.c | ||
| +++ src/descendants.c | ||
| @@ -318,14 +318,14 @@ | ||
| 318 | 318 | style_header("Leaves"); |
| 319 | 319 | login_anonymous_available(); |
| 320 | 320 | compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1); |
| 321 | 321 | style_sidebox_begin("Nomenclature:", "33%"); |
| 322 | 322 | @ <ol> |
| 323 | - @ <li> A <b>leaf</b> is a check-in with no descendants.</li> | |
| 324 | - @ <li> An <b>open leaf</b> is a leaf that does not have a "closed" tag | |
| 323 | + @ <li> A <div class="sideboxDescribed">leaf</div> is a check-in with no descendants.</li> | |
| 324 | + @ <li> An <div class="sideboxDescribed">open leaf</div> is a leaf that does not have a "closed" tag | |
| 325 | 325 | @ and is thus assumed to still be in use.</li> |
| 326 | - @ <li> A <b>closed leaf</b> has a "closed" tag and is thus assumed to | |
| 326 | + @ <li> A <div class="sideboxDescribed">closed leaf</div> has a "closed" tag and is thus assumed to | |
| 327 | 327 | @ be historical and no longer in active use.</li> |
| 328 | 328 | @ </ol> |
| 329 | 329 | style_sidebox_end(); |
| 330 | 330 | |
| 331 | 331 | if( showAll ){ |
| 332 | 332 |
| --- src/descendants.c | |
| +++ src/descendants.c | |
| @@ -318,14 +318,14 @@ | |
| 318 | style_header("Leaves"); |
| 319 | login_anonymous_available(); |
| 320 | compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1); |
| 321 | style_sidebox_begin("Nomenclature:", "33%"); |
| 322 | @ <ol> |
| 323 | @ <li> A <b>leaf</b> is a check-in with no descendants.</li> |
| 324 | @ <li> An <b>open leaf</b> is a leaf that does not have a "closed" tag |
| 325 | @ and is thus assumed to still be in use.</li> |
| 326 | @ <li> A <b>closed leaf</b> has a "closed" tag and is thus assumed to |
| 327 | @ be historical and no longer in active use.</li> |
| 328 | @ </ol> |
| 329 | style_sidebox_end(); |
| 330 | |
| 331 | if( showAll ){ |
| 332 |
| --- src/descendants.c | |
| +++ src/descendants.c | |
| @@ -318,14 +318,14 @@ | |
| 318 | style_header("Leaves"); |
| 319 | login_anonymous_available(); |
| 320 | compute_leaves(0, showAll ? 0 : showClosed ? 2 : 1); |
| 321 | style_sidebox_begin("Nomenclature:", "33%"); |
| 322 | @ <ol> |
| 323 | @ <li> A <div class="sideboxDescribed">leaf</div> is a check-in with no descendants.</li> |
| 324 | @ <li> An <div class="sideboxDescribed">open leaf</div> is a leaf that does not have a "closed" tag |
| 325 | @ and is thus assumed to still be in use.</li> |
| 326 | @ <li> A <div class="sideboxDescribed">closed leaf</div> has a "closed" tag and is thus assumed to |
| 327 | @ be historical and no longer in active use.</li> |
| 328 | @ </ol> |
| 329 | style_sidebox_end(); |
| 330 | |
| 331 | if( showAll ){ |
| 332 |
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -596,11 +596,11 @@ | ||
| 596 | 596 | if( !g.okHistory && |
| 597 | 597 | db_exists("SELECT 1 FROM user" |
| 598 | 598 | " WHERE login='anonymous'" |
| 599 | 599 | " AND cap LIKE '%%h%%'") ){ |
| 600 | 600 | const char *zUrl = PD("REQUEST_URI", "index"); |
| 601 | - @ <p>Many <font color="red">hyperlinks are disabled.</font><br /> | |
| 601 | + @ <p>Many <span class="disabled">hyperlinks are disabled.</span><br /> | |
| 602 | 602 | @ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a> |
| 603 | 603 | @ to enable hyperlinks.</p> |
| 604 | 604 | } |
| 605 | 605 | } |
| 606 | 606 | |
| 607 | 607 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -596,11 +596,11 @@ | |
| 596 | if( !g.okHistory && |
| 597 | db_exists("SELECT 1 FROM user" |
| 598 | " WHERE login='anonymous'" |
| 599 | " AND cap LIKE '%%h%%'") ){ |
| 600 | const char *zUrl = PD("REQUEST_URI", "index"); |
| 601 | @ <p>Many <font color="red">hyperlinks are disabled.</font><br /> |
| 602 | @ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a> |
| 603 | @ to enable hyperlinks.</p> |
| 604 | } |
| 605 | } |
| 606 | |
| 607 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -596,11 +596,11 @@ | |
| 596 | if( !g.okHistory && |
| 597 | db_exists("SELECT 1 FROM user" |
| 598 | " WHERE login='anonymous'" |
| 599 | " AND cap LIKE '%%h%%'") ){ |
| 600 | const char *zUrl = PD("REQUEST_URI", "index"); |
| 601 | @ <p>Many <span class="disabled">hyperlinks are disabled.</span><br /> |
| 602 | @ Use <a href="%s(g.zTop)/login?anon=1&g=%T(zUrl)">anonymous login</a> |
| 603 | @ to enable hyperlinks.</p> |
| 604 | } |
| 605 | } |
| 606 | |
| 607 |
+2
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -912,10 +912,12 @@ | ||
| 912 | 912 | @ <blockquote><pre> |
| 913 | 913 | @ %h(zDefaultCSS) |
| 914 | 914 | @ %h(zTableLabelValueCSS) |
| 915 | 915 | @ %h(zDivSidebox) |
| 916 | 916 | @ %h(zDivSideboxTitle) |
| 917 | + @ %h(zDivSideboxDescribed) | |
| 918 | + @ %h(zSpanDisabled) | |
| 917 | 919 | @ </pre></blockquote> |
| 918 | 920 | style_footer(); |
| 919 | 921 | db_end_transaction(0); |
| 920 | 922 | } |
| 921 | 923 | |
| 922 | 924 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -912,10 +912,12 @@ | |
| 912 | @ <blockquote><pre> |
| 913 | @ %h(zDefaultCSS) |
| 914 | @ %h(zTableLabelValueCSS) |
| 915 | @ %h(zDivSidebox) |
| 916 | @ %h(zDivSideboxTitle) |
| 917 | @ </pre></blockquote> |
| 918 | style_footer(); |
| 919 | db_end_transaction(0); |
| 920 | } |
| 921 | |
| 922 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -912,10 +912,12 @@ | |
| 912 | @ <blockquote><pre> |
| 913 | @ %h(zDefaultCSS) |
| 914 | @ %h(zTableLabelValueCSS) |
| 915 | @ %h(zDivSidebox) |
| 916 | @ %h(zDivSideboxTitle) |
| 917 | @ %h(zDivSideboxDescribed) |
| 918 | @ %h(zSpanDisabled) |
| 919 | @ </pre></blockquote> |
| 920 | style_footer(); |
| 921 | db_end_transaction(0); |
| 922 | } |
| 923 | |
| 924 |
+15
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -399,10 +399,23 @@ | ||
| 399 | 399 | @ div.sideboxTitle { |
| 400 | 400 | @ display: inline; |
| 401 | 401 | @ font-weight: bold; |
| 402 | 402 | @ } |
| 403 | 403 | ; |
| 404 | +const char zDivSideboxDescribed[] = | |
| 405 | +@ /* The defined element in sideboxes for branches,.. */ | |
| 406 | +@ div.sideboxDescribed { | |
| 407 | +@ display: inline; | |
| 408 | +@ font-weight: bold; | |
| 409 | +@ } | |
| 410 | +; | |
| 411 | +const char zSpanDisabled[] = | |
| 412 | +@ /* The defined element in sideboxes for branches,.. */ | |
| 413 | +@ span.disabled { | |
| 414 | +@ color: red; | |
| 415 | +@ } | |
| 416 | +; | |
| 404 | 417 | |
| 405 | 418 | /* |
| 406 | 419 | ** WEBPAGE: style.css |
| 407 | 420 | */ |
| 408 | 421 | void page_style_css(void){ |
| @@ -415,10 +428,12 @@ | ||
| 415 | 428 | cgi_append_content(zCSS, -1); |
| 416 | 429 | /* add special missing definitions */ |
| 417 | 430 | if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1); |
| 418 | 431 | if (!strstr("div.sidebox",zCSS)) cgi_append_content(zDivSidebox, -1); |
| 419 | 432 | if (!strstr("div.sideboxTitle",zCSS)) cgi_append_content(zDivSideboxTitle, -1); |
| 433 | + if (!strstr("div.sideboxDescribed",zCSS)) cgi_append_content(zDivSideboxDescribed, -1); | |
| 434 | + if (!strstr("span.disabled",zCSS)) cgi_append_content(zSpanDisabled, -1); | |
| 420 | 435 | g.isConst = 1; |
| 421 | 436 | } |
| 422 | 437 | |
| 423 | 438 | /* |
| 424 | 439 | ** WEBPAGE: test_env |
| 425 | 440 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -399,10 +399,23 @@ | |
| 399 | @ div.sideboxTitle { |
| 400 | @ display: inline; |
| 401 | @ font-weight: bold; |
| 402 | @ } |
| 403 | ; |
| 404 | |
| 405 | /* |
| 406 | ** WEBPAGE: style.css |
| 407 | */ |
| 408 | void page_style_css(void){ |
| @@ -415,10 +428,12 @@ | |
| 415 | cgi_append_content(zCSS, -1); |
| 416 | /* add special missing definitions */ |
| 417 | if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1); |
| 418 | if (!strstr("div.sidebox",zCSS)) cgi_append_content(zDivSidebox, -1); |
| 419 | if (!strstr("div.sideboxTitle",zCSS)) cgi_append_content(zDivSideboxTitle, -1); |
| 420 | g.isConst = 1; |
| 421 | } |
| 422 | |
| 423 | /* |
| 424 | ** WEBPAGE: test_env |
| 425 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -399,10 +399,23 @@ | |
| 399 | @ div.sideboxTitle { |
| 400 | @ display: inline; |
| 401 | @ font-weight: bold; |
| 402 | @ } |
| 403 | ; |
| 404 | const char zDivSideboxDescribed[] = |
| 405 | @ /* The defined element in sideboxes for branches,.. */ |
| 406 | @ div.sideboxDescribed { |
| 407 | @ display: inline; |
| 408 | @ font-weight: bold; |
| 409 | @ } |
| 410 | ; |
| 411 | const char zSpanDisabled[] = |
| 412 | @ /* The defined element in sideboxes for branches,.. */ |
| 413 | @ span.disabled { |
| 414 | @ color: red; |
| 415 | @ } |
| 416 | ; |
| 417 | |
| 418 | /* |
| 419 | ** WEBPAGE: style.css |
| 420 | */ |
| 421 | void page_style_css(void){ |
| @@ -415,10 +428,12 @@ | |
| 428 | cgi_append_content(zCSS, -1); |
| 429 | /* add special missing definitions */ |
| 430 | if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1); |
| 431 | if (!strstr("div.sidebox",zCSS)) cgi_append_content(zDivSidebox, -1); |
| 432 | if (!strstr("div.sideboxTitle",zCSS)) cgi_append_content(zDivSideboxTitle, -1); |
| 433 | if (!strstr("div.sideboxDescribed",zCSS)) cgi_append_content(zDivSideboxDescribed, -1); |
| 434 | if (!strstr("span.disabled",zCSS)) cgi_append_content(zSpanDisabled, -1); |
| 435 | g.isConst = 1; |
| 436 | } |
| 437 | |
| 438 | /* |
| 439 | ** WEBPAGE: test_env |
| 440 |