Fossil SCM

merged trunk changes

wolfgang 2010-09-08 17:30 wolfgangFormat2CSS
Commit e621ef436757ec3329e07a31d107ebdaf2c88176
2 files changed +1 +12 -1
--- src/setup.c
+++ src/setup.c
@@ -910,10 +910,11 @@
910910
@ See also the <a href="setup_header">header</a> and
911911
@ <a href="setup_footer">footer</a> editing screens.
912912
@ <blockquote><pre>
913913
@ %h(zDefaultCSS)
914914
@ %h(zTableLabelValueCSS)
915
+ @ %h(zDivNomenclatureSidebox)
915916
@ </pre></blockquote>
916917
style_footer();
917918
db_end_transaction(0);
918919
}
919920
920921
--- src/setup.c
+++ src/setup.c
@@ -910,10 +910,11 @@
910 @ See also the <a href="setup_header">header</a> and
911 @ <a href="setup_footer">footer</a> editing screens.
912 @ <blockquote><pre>
913 @ %h(zDefaultCSS)
914 @ %h(zTableLabelValueCSS)
 
915 @ </pre></blockquote>
916 style_footer();
917 db_end_transaction(0);
918 }
919
920
--- src/setup.c
+++ src/setup.c
@@ -910,10 +910,11 @@
910 @ See also the <a href="setup_header">header</a> and
911 @ <a href="setup_footer">footer</a> editing screens.
912 @ <blockquote><pre>
913 @ %h(zDefaultCSS)
914 @ %h(zTableLabelValueCSS)
915 @ %h(zDivNomenclatureSidebox)
916 @ </pre></blockquote>
917 style_footer();
918 db_end_transaction(0);
919 }
920
921
+12 -1
--- src/style.c
+++ src/style.c
@@ -385,10 +385,20 @@
385385
@ vertical-align: top;
386386
@ text-align: right;
387387
@ padding: 0.2ex 2ex;
388388
@ }
389389
;
390
+const char zDivNomenclatureSidebox[] =
391
+@ /* The nomenclature sidebox for branches,.. */
392
+@ div.nomenclatureSidebox {
393
+@ float: right;
394
+@ width: 33%;
395
+@ border-width: medium;
396
+@ border-style: double;
397
+@ margin: 10;
398
+@ }
399
+;
390400
391401
/*
392402
** WEBPAGE: style.css
393403
*/
394404
void page_style_css(void){
@@ -398,11 +408,12 @@
398408
cgi_set_content_type("text/css");
399409
zCSS = db_get("css",(char*)zDefaultCSS);
400410
/* append user defined css */
401411
cgi_append_content(zCSS, -1);
402412
/* add special missing definitions */
403
- if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
413
+ if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
414
+ if (!strstr("div.nomenclatureSidebox",zCSS)) cgi_append_content(zDivNomenclatureSidebox, -1);
404415
g.isConst = 1;
405416
}
406417
407418
/*
408419
** WEBPAGE: test_env
409420
--- src/style.c
+++ src/style.c
@@ -385,10 +385,20 @@
385 @ vertical-align: top;
386 @ text-align: right;
387 @ padding: 0.2ex 2ex;
388 @ }
389 ;
 
 
 
 
 
 
 
 
 
 
390
391 /*
392 ** WEBPAGE: style.css
393 */
394 void page_style_css(void){
@@ -398,11 +408,12 @@
398 cgi_set_content_type("text/css");
399 zCSS = db_get("css",(char*)zDefaultCSS);
400 /* append user defined css */
401 cgi_append_content(zCSS, -1);
402 /* add special missing definitions */
403 if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
 
404 g.isConst = 1;
405 }
406
407 /*
408 ** WEBPAGE: test_env
409
--- src/style.c
+++ src/style.c
@@ -385,10 +385,20 @@
385 @ vertical-align: top;
386 @ text-align: right;
387 @ padding: 0.2ex 2ex;
388 @ }
389 ;
390 const char zDivNomenclatureSidebox[] =
391 @ /* The nomenclature sidebox for branches,.. */
392 @ div.nomenclatureSidebox {
393 @ float: right;
394 @ width: 33%;
395 @ border-width: medium;
396 @ border-style: double;
397 @ margin: 10;
398 @ }
399 ;
400
401 /*
402 ** WEBPAGE: style.css
403 */
404 void page_style_css(void){
@@ -398,11 +408,12 @@
408 cgi_set_content_type("text/css");
409 zCSS = db_get("css",(char*)zDefaultCSS);
410 /* append user defined css */
411 cgi_append_content(zCSS, -1);
412 /* add special missing definitions */
413 if (!strstr("table.label-value",zCSS)) cgi_append_content(zTableLabelValueCSS, -1);
414 if (!strstr("div.nomenclatureSidebox",zCSS)) cgi_append_content(zDivNomenclatureSidebox, -1);
415 g.isConst = 1;
416 }
417
418 /*
419 ** WEBPAGE: test_env
420

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button