383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
|
@ /* The label/value pairs on (for example) the ci page */
@ table.label-value th {
@ vertical-align: top;
@ text-align: right;
@ padding: 0.2ex 2ex;
@ }
;
/*
** 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);
g.isConst = 1;
}
/*
** WEBPAGE: test_env
*/
void page_test_env(void){
|
>
>
>
>
>
>
>
>
>
>
|
>
|
383
384
385
386
387
388
389
390
391
392
393
394
395
396
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
|
@ /* The label/value pairs on (for example) the ci page */
@ table.label-value th {
@ vertical-align: top;
@ text-align: right;
@ padding: 0.2ex 2ex;
@ }
;
const char zDivNomenclatureSidebox[] =
@ /* The nomenclature sidebox for branches,.. */
@ div.nomenclatureSidebox {
@ float: right;
@ width: 33%;
@ border-width: medium;
@ border-style: double;
@ margin: 10;
@ }
;
/*
** 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.nomenclatureSidebox",zCSS)) cgi_append_content(zDivNomenclatureSidebox, -1);
g.isConst = 1;
}
/*
** WEBPAGE: test_env
*/
void page_test_env(void){
|