Fossil

Changes On Branch a2d5230d24b9f175
Login

Changes On Branch a2d5230d24b9f175

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch wolfgangFormat2CSS Through [a2d5230d24] Excluding Merge-Ins

This is equivalent to a diff from 8d864a7f65 to a2d5230d24

2010-09-09
09:59
Allow ~ and % characters in the URL. Ticket [74ccf51c7d24414b1]. ... (check-in: a203674aa5 user: drh tags: trunk)
2010-09-08
17:30
merged trunk changes ... (check-in: e621ef4367 user: wolfgang tags: wolfgangFormat2CSS)
17:23
merged trunk changes ... (check-in: a2d5230d24 user: wolfgang tags: wolfgangFormat2CSS)
12:38
Merge in the latest changes from the windowscompilers branch. ... (check-in: 8d864a7f65 user: drh tags: trunk)
12:36
Documentation updates. ... (check-in: 546d48ff45 user: drh tags: trunk)
00:00
first step to extract formats in separat css definitions ... (check-in: bdd92802d0 user: wolfgang tags: wolfgangFormat2CSS)
2010-08-31
15:51
make compilation depend on _WIN32 being defined by including allways config.h ... (Closed-Leaf check-in: c0a530f482 user: renez tags: windowscompilers)

Changes to src/setup.c.
907
908
909
910
911
912
913

914
915
916
917
918
919
920
  @ <hr>
  @ The default CSS is shown below for reference.  Other examples
  @ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
  @ See also the <a href="setup_header">header</a> and
  @ <a href="setup_footer">footer</a> editing screens.
  @ <blockquote><pre>
  @ %h(zDefaultCSS)

  @ </pre></blockquote>
  style_footer();
  db_end_transaction(0);
}

/*
** WEBPAGE: setup_header







>







907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
  @ <hr>
  @ The default CSS is shown below for reference.  Other examples
  @ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
  @ See also the <a href="setup_header">header</a> and
  @ <a href="setup_footer">footer</a> editing screens.
  @ <blockquote><pre>
  @ %h(zDefaultCSS)
  @ %h(zTableLabelValueCSS)
  @ </pre></blockquote>
  style_footer();
  db_end_transaction(0);
}

/*
** WEBPAGE: setup_header
Changes to src/style.c.
241
242
243
244
245
246
247




248
249
250
251
252
253
254
@ Fossil version $manifest_version $manifest_date
@ </div>
@ </body></html>
;

/*
** The default Cascading Style Sheet.




*/
const char zDefaultCSS[] = 
@ /* General settings for the entire page */
@ body {
@   margin: 0ex 1ex;
@   padding: 0px;
@   background-color: white;







>
>
>
>







241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
@ Fossil version $manifest_version $manifest_date
@ </div>
@ </body></html>
;

/*
** The default Cascading Style Sheet.
** It's assembled by different strings for each class.
** The default css conatains all definitions.
** The style sheet, send to the client only contains the ones,
** not defined in the user defined css.
*/
const char zDefaultCSS[] = 
@ /* General settings for the entire page */
@ body {
@   margin: 0ex 1ex;
@   padding: 0px;
@   background-color: white;
370
371
372
373
374
375
376


377
378
379
380
381
382
383
384
385
386
387
388
389

390
391
392

393


394
395
396
397
398
399
400
@ 
@ /* <verbatim> blocks */
@ pre.verbatim {
@    background-color: #f5f5f5;
@    padding: 0.5em;
@}
@


@ /* 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){
  char *zCSS = 0;


  cgi_set_content_type("text/css");
  zCSS = db_get("css",(char*)zDefaultCSS);

  cgi_append_content(zCSS, -1);


  g.isConst = 1;
}

/*
** WEBPAGE: test_env
*/
void page_test_env(void){







>
>












|
>



>

>
>







374
375
376
377
378
379
380
381
382
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
@ 
@ /* <verbatim> blocks */
@ pre.verbatim {
@    background-color: #f5f5f5;
@    padding: 0.5em;
@}
@
;
const char zTableLabelValueCSS[] = 
@ /* 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){