Fossil SCM

some more htm validation

Ratte 2010-09-26 12:25 wolfgangFormat2CSS_2
Commit e5bf291e1c9fdfc190bf73f0d1f69c7d2fe93d1e
+22 -22
--- src/attach.c
+++ src/attach.c
@@ -270,25 +270,25 @@
270270
db_end_transaction(0);
271271
cgi_redirect(zFrom);
272272
}
273273
style_header("Add Attachment");
274274
@ <h2>Add Attachment To %s(zTargetType)</h2>
275
- @ <form action="%s(g.zBaseURL)/attachadd" method="POST"
276
- @ enctype="multipart/form-data">
275
+ @ <form action="%s(g.zBaseURL)/attachadd" method="post"
276
+ @ enctype="multipart/form-data"><div>
277277
@ File to Attach:
278
- @ <input type="file" name="f" size="60"><br />
278
+ @ <input type="file" name="f" size="60" /><br />
279279
@ Description:<br />
280
- @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br />
280
+ @ <textarea name="comment" cols="80" rows="5" wrap="virtual"></textarea><br />
281281
if( zTkt ){
282
- @ <input type="hidden" name="tkt" value="%h(zTkt)">
283
- }else{
284
- @ <input type="hidden" name="page" value="%h(zPage)">
285
- }
286
- @ <input type="hidden" name="from" value="%h(zFrom)">
287
- @ <input type="submit" name="ok" value="Add Attachment">
288
- @ <input type="submit" name="cancel" value="Cancel">
289
- @ </form>
282
+ @ <input type="hidden" name="tkt" value="%h(zTkt)" />
283
+ }else{
284
+ @ <input type="hidden" name="page" value="%h(zPage)" />
285
+ }
286
+ @ <input type="hidden" name="from" value="%h(zFrom)" />
287
+ @ <input type="submit" name="ok" value="Add Attachment" />
288
+ @ <input type="submit" name="cancel" value="Cancel" />
289
+ @ </div></form>
290290
style_footer();
291291
}
292292
293293
294294
/*
@@ -349,21 +349,21 @@
349349
manifest_crosslink(rid, &manifest);
350350
db_end_transaction(0);
351351
cgi_redirect(zFrom);
352352
}
353353
style_header("Delete Attachment");
354
- @ <form action="%s(g.zBaseURL)/attachdelete" method="POST">
354
+ @ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
355355
@ <p>Confirm that you want to delete the attachment named
356356
@ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357357
if( zTkt ){
358
- @ <input type="hidden" name="tkt" value="%h(zTkt)">
359
- }else{
360
- @ <input type="hidden" name="page" value="%h(zPage)">
361
- }
362
- @ <input type="hidden" name="file" value="%h(zFile)">
363
- @ <input type="hidden" name="from" value="%h(zFrom)">
364
- @ <input type="submit" name="confirm" value="Delete">
365
- @ <input type="submit" name="cancel" value="Cancel">
366
- @ </form>
358
+ @ <input type="hidden" name="tkt" value="%h(zTkt)" />
359
+ }else{
360
+ @ <input type="hidden" name="page" value="%h(zPage)" />
361
+ }
362
+ @ <input type="hidden" name="file" value="%h(zFile)" />
363
+ @ <input type="hidden" name="from" value="%h(zFrom)" />
364
+ @ <input type="submit" name="confirm" value="Delete" />
365
+ @ <input type="submit" name="cancel" value="Cancel" />
366
+ @ </div></form>
367367
style_footer();
368368
369369
}
370370
--- src/attach.c
+++ src/attach.c
@@ -270,25 +270,25 @@
270 db_end_transaction(0);
271 cgi_redirect(zFrom);
272 }
273 style_header("Add Attachment");
274 @ <h2>Add Attachment To %s(zTargetType)</h2>
275 @ <form action="%s(g.zBaseURL)/attachadd" method="POST"
276 @ enctype="multipart/form-data">
277 @ File to Attach:
278 @ <input type="file" name="f" size="60"><br />
279 @ Description:<br />
280 @ <textarea name="comment" cols=80 rows=5 wrap="virtual"></textarea><br />
281 if( zTkt ){
282 @ <input type="hidden" name="tkt" value="%h(zTkt)">
283 }else{
284 @ <input type="hidden" name="page" value="%h(zPage)">
285 }
286 @ <input type="hidden" name="from" value="%h(zFrom)">
287 @ <input type="submit" name="ok" value="Add Attachment">
288 @ <input type="submit" name="cancel" value="Cancel">
289 @ </form>
290 style_footer();
291 }
292
293
294 /*
@@ -349,21 +349,21 @@
349 manifest_crosslink(rid, &manifest);
350 db_end_transaction(0);
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="POST">
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)">
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)">
361 }
362 @ <input type="hidden" name="file" value="%h(zFile)">
363 @ <input type="hidden" name="from" value="%h(zFrom)">
364 @ <input type="submit" name="confirm" value="Delete">
365 @ <input type="submit" name="cancel" value="Cancel">
366 @ </form>
367 style_footer();
368
369 }
370
--- src/attach.c
+++ src/attach.c
@@ -270,25 +270,25 @@
270 db_end_transaction(0);
271 cgi_redirect(zFrom);
272 }
273 style_header("Add Attachment");
274 @ <h2>Add Attachment To %s(zTargetType)</h2>
275 @ <form action="%s(g.zBaseURL)/attachadd" method="post"
276 @ enctype="multipart/form-data"><div>
277 @ File to Attach:
278 @ <input type="file" name="f" size="60" /><br />
279 @ Description:<br />
280 @ <textarea name="comment" cols="80" rows="5" wrap="virtual"></textarea><br />
281 if( zTkt ){
282 @ <input type="hidden" name="tkt" value="%h(zTkt)" />
283 }else{
284 @ <input type="hidden" name="page" value="%h(zPage)" />
285 }
286 @ <input type="hidden" name="from" value="%h(zFrom)" />
287 @ <input type="submit" name="ok" value="Add Attachment" />
288 @ <input type="submit" name="cancel" value="Cancel" />
289 @ </div></form>
290 style_footer();
291 }
292
293
294 /*
@@ -349,21 +349,21 @@
349 manifest_crosslink(rid, &manifest);
350 db_end_transaction(0);
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)" />
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)" />
361 }
362 @ <input type="hidden" name="file" value="%h(zFile)" />
363 @ <input type="hidden" name="from" value="%h(zFrom)" />
364 @ <input type="submit" name="confirm" value="Delete" />
365 @ <input type="submit" name="cancel" value="Cancel" />
366 @ </div></form>
367 style_footer();
368
369 }
370
+22 -22
--- src/report.c
+++ src/report.c
@@ -328,11 +328,11 @@
328328
zTitle = db_text(0, "SELECT title FROM reportfmt "
329329
"WHERE rn=%d", rn);
330330
if( zTitle==0 ) cgi_redirect("reportlist");
331331
332332
style_header("Are You Sure?");
333
- @ <form action="rptedit" method="POST">
333
+ @ <form action="rptedit" method="post">
334334
@ <p>You are about to delete all traces of the report
335335
@ <strong>%h(zTitle)</strong> from
336336
@ the database. This is an irreversible operation. All records
337337
@ related to this report will be removed and cannot be recovered.</p>
338338
@
@@ -399,24 +399,24 @@
399399
}
400400
style_header(rn>0 ? "Edit Report Format":"Create New Report Format");
401401
if( zErr ){
402402
@ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403403
}
404
- @ <form action="rptedit" method="POST">
405
- @ <input type="hidden" name="rn" value="%d(rn)">
404
+ @ <form action="rptedit" method="post"><div>
405
+ @ <input type="hidden" name="rn" value="%d(rn)" />
406406
@ <p>Report Title:<br />
407
- @ <input type="text" name="t" value="%h(zTitle)" size="60"></p>
407
+ @ <input type="text" name="t" value="%h(zTitle)" size="60" /></p>
408408
@ <p>Enter a complete SQL query statement against the "TICKET" table:<br />
409409
@ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410410
@ </p>
411411
login_insert_csrf_secret();
412412
if( g.okAdmin ){
413413
@ <p>Report owner:
414
- @ <input type="text" name="w" size="20" value="%h(zOwner)">
414
+ @ <input type="text" name="w" size="20" value="%h(zOwner)" />
415415
@ </p>
416416
} else {
417
- @ <input type="hidden" name="w" value="%h(zOwner)">
417
+ @ <input type="hidden" name="w" value="%h(zOwner)" />
418418
}
419419
@ <p>Enter an optional color key in the following box. (If blank, no
420420
@ color key is displayed.) Each line contains the text for a single
421421
@ entry in the key. The first token of each line is the background
422422
@ color for that line.<br />
@@ -428,15 +428,15 @@
428428
@ </form>
429429
report_format_hints();
430430
style_footer();
431431
return;
432432
}
433
- @ <input type="submit" value="Apply Changes">
433
+ @ <input type="submit" value="Apply Changes" />
434434
if( rn>0 ){
435
- @ <input type="submit" value="Delete This Report" name="del1">
435
+ @ <input type="submit" value="Delete This Report" name="del1" />
436436
}
437
- @ </form>
437
+ @ </div></form>
438438
report_format_hints();
439439
style_footer();
440440
}
441441
442442
/*
@@ -478,17 +478,17 @@
478478
@ <p>In this example, the first column in the result set is named
479479
@ "bgcolor". The value of this column is not displayed. Instead, it
480480
@ selects the background color of each row based on the TICKET.STATUS
481481
@ field of the database. The color key at the right shows the various
482482
@ color codes.</p>
483
- @ <table align="right" style="margin: 0 5px;" border=1 cellspacing=0 width=125>
484
- @ <tr bgcolor="#f2dcdc"><td align="center">new or active</td></tr>
485
- @ <tr bgcolor="#e8e8bd"><td align="center">review</td></tr>
486
- @ <tr bgcolor="#cfe8bd"><td align="center">fixed</td></tr>
487
- @ <tr bgcolor="#bde5d6"><td align="center">tested</td></tr>
488
- @ <tr bgcolor="#cacae5"><td align="center">defer</td></tr>
489
- @ <tr bgcolor="#c8c8c8"><td align="center">closed</td></tr>
483
+ @ <table class="rpteditex">
484
+ @ <tr style="background-color:#f2dcdc;"><td class="rpteditex">new or active</td></tr>
485
+ @ <tr style="background-color:#e8e8bd;"><td class="rpteditex">review</td></tr>
486
+ @ <tr style="background-color:#cfe8bd;"><td class="rpteditex">fixed</td></tr>
487
+ @ <tr style="background-color:#bde5d6;"><td class="rpteditex">tested</td></tr>
488
+ @ <tr style="background-color:#cacae5;"><td class="rpteditex">defer</td></tr>
489
+ @ <tr style="background-color:#c8c8c8;"><td class="rpteditex">closed</td></tr>
490490
@ </table>
491491
@ <blockquote><pre>
492492
@ SELECT
493493
@ CASE WHEN status IN ('new','active') THEN '#f2dcdc'
494494
@ WHEN status='review' THEN '#e8e8bd'
@@ -510,16 +510,16 @@
510510
@ FROM ticket
511511
@ </pre></blockquote>
512512
@ <p>To base the background color on the TICKET.PRIORITY or
513513
@ TICKET.SEVERITY fields, substitute the following code for the
514514
@ first column of the query:</p>
515
- @ <table align="right" style="margin: 0 5px;" border=1 cellspacing=0 width=125>
516
- @ <tr bgcolor="#f2dcdc"><td align="center">1</td></tr>
517
- @ <tr bgcolor="#e8e8bd"><td align="center">2</td></tr>
518
- @ <tr bgcolor="#cfe8bd"><td align="center">3</td></tr>
519
- @ <tr bgcolor="#cacae5"><td align="center">4</td></tr>
520
- @ <tr bgcolor="#c8c8c8"><td align="center">5</td></tr>
515
+ @ <table class="rpteditex">
516
+ @ <tr style="background-color:#f2dcdc;"><td class="rpteditex">1</td></tr>
517
+ @ <tr style="background-color:#e8e8bd;"><td class="rpteditex">2</td></tr>
518
+ @ <tr style="background-color:#cfe8bd;"><td class="rpteditex">3</td></tr>
519
+ @ <tr style="background-color:#cacae5;"><td class="rpteditex">4</td></tr>
520
+ @ <tr style="background-color:#c8c8c8;"><td class="rpteditex">5</td></tr>
521521
@ </table>
522522
@ <blockquote><pre>
523523
@ SELECT
524524
@ CASE priority WHEN 1 THEN '#f2dcdc'
525525
@ WHEN 2 THEN '#e8e8bd'
526526
--- src/report.c
+++ src/report.c
@@ -328,11 +328,11 @@
328 zTitle = db_text(0, "SELECT title FROM reportfmt "
329 "WHERE rn=%d", rn);
330 if( zTitle==0 ) cgi_redirect("reportlist");
331
332 style_header("Are You Sure?");
333 @ <form action="rptedit" method="POST">
334 @ <p>You are about to delete all traces of the report
335 @ <strong>%h(zTitle)</strong> from
336 @ the database. This is an irreversible operation. All records
337 @ related to this report will be removed and cannot be recovered.</p>
338 @
@@ -399,24 +399,24 @@
399 }
400 style_header(rn>0 ? "Edit Report Format":"Create New Report Format");
401 if( zErr ){
402 @ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403 }
404 @ <form action="rptedit" method="POST">
405 @ <input type="hidden" name="rn" value="%d(rn)">
406 @ <p>Report Title:<br />
407 @ <input type="text" name="t" value="%h(zTitle)" size="60"></p>
408 @ <p>Enter a complete SQL query statement against the "TICKET" table:<br />
409 @ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410 @ </p>
411 login_insert_csrf_secret();
412 if( g.okAdmin ){
413 @ <p>Report owner:
414 @ <input type="text" name="w" size="20" value="%h(zOwner)">
415 @ </p>
416 } else {
417 @ <input type="hidden" name="w" value="%h(zOwner)">
418 }
419 @ <p>Enter an optional color key in the following box. (If blank, no
420 @ color key is displayed.) Each line contains the text for a single
421 @ entry in the key. The first token of each line is the background
422 @ color for that line.<br />
@@ -428,15 +428,15 @@
428 @ </form>
429 report_format_hints();
430 style_footer();
431 return;
432 }
433 @ <input type="submit" value="Apply Changes">
434 if( rn>0 ){
435 @ <input type="submit" value="Delete This Report" name="del1">
436 }
437 @ </form>
438 report_format_hints();
439 style_footer();
440 }
441
442 /*
@@ -478,17 +478,17 @@
478 @ <p>In this example, the first column in the result set is named
479 @ "bgcolor". The value of this column is not displayed. Instead, it
480 @ selects the background color of each row based on the TICKET.STATUS
481 @ field of the database. The color key at the right shows the various
482 @ color codes.</p>
483 @ <table align="right" style="margin: 0 5px;" border=1 cellspacing=0 width=125>
484 @ <tr bgcolor="#f2dcdc"><td align="center">new or active</td></tr>
485 @ <tr bgcolor="#e8e8bd"><td align="center">review</td></tr>
486 @ <tr bgcolor="#cfe8bd"><td align="center">fixed</td></tr>
487 @ <tr bgcolor="#bde5d6"><td align="center">tested</td></tr>
488 @ <tr bgcolor="#cacae5"><td align="center">defer</td></tr>
489 @ <tr bgcolor="#c8c8c8"><td align="center">closed</td></tr>
490 @ </table>
491 @ <blockquote><pre>
492 @ SELECT
493 @ CASE WHEN status IN ('new','active') THEN '#f2dcdc'
494 @ WHEN status='review' THEN '#e8e8bd'
@@ -510,16 +510,16 @@
510 @ FROM ticket
511 @ </pre></blockquote>
512 @ <p>To base the background color on the TICKET.PRIORITY or
513 @ TICKET.SEVERITY fields, substitute the following code for the
514 @ first column of the query:</p>
515 @ <table align="right" style="margin: 0 5px;" border=1 cellspacing=0 width=125>
516 @ <tr bgcolor="#f2dcdc"><td align="center">1</td></tr>
517 @ <tr bgcolor="#e8e8bd"><td align="center">2</td></tr>
518 @ <tr bgcolor="#cfe8bd"><td align="center">3</td></tr>
519 @ <tr bgcolor="#cacae5"><td align="center">4</td></tr>
520 @ <tr bgcolor="#c8c8c8"><td align="center">5</td></tr>
521 @ </table>
522 @ <blockquote><pre>
523 @ SELECT
524 @ CASE priority WHEN 1 THEN '#f2dcdc'
525 @ WHEN 2 THEN '#e8e8bd'
526
--- src/report.c
+++ src/report.c
@@ -328,11 +328,11 @@
328 zTitle = db_text(0, "SELECT title FROM reportfmt "
329 "WHERE rn=%d", rn);
330 if( zTitle==0 ) cgi_redirect("reportlist");
331
332 style_header("Are You Sure?");
333 @ <form action="rptedit" method="post">
334 @ <p>You are about to delete all traces of the report
335 @ <strong>%h(zTitle)</strong> from
336 @ the database. This is an irreversible operation. All records
337 @ related to this report will be removed and cannot be recovered.</p>
338 @
@@ -399,24 +399,24 @@
399 }
400 style_header(rn>0 ? "Edit Report Format":"Create New Report Format");
401 if( zErr ){
402 @ <blockquote><font color="#ff0000"><b>%h(zErr)</b></font></blockquote>
403 }
404 @ <form action="rptedit" method="post"><div>
405 @ <input type="hidden" name="rn" value="%d(rn)" />
406 @ <p>Report Title:<br />
407 @ <input type="text" name="t" value="%h(zTitle)" size="60" /></p>
408 @ <p>Enter a complete SQL query statement against the "TICKET" table:<br />
409 @ <textarea name="s" rows="20" cols="80">%h(zSQL)</textarea>
410 @ </p>
411 login_insert_csrf_secret();
412 if( g.okAdmin ){
413 @ <p>Report owner:
414 @ <input type="text" name="w" size="20" value="%h(zOwner)" />
415 @ </p>
416 } else {
417 @ <input type="hidden" name="w" value="%h(zOwner)" />
418 }
419 @ <p>Enter an optional color key in the following box. (If blank, no
420 @ color key is displayed.) Each line contains the text for a single
421 @ entry in the key. The first token of each line is the background
422 @ color for that line.<br />
@@ -428,15 +428,15 @@
428 @ </form>
429 report_format_hints();
430 style_footer();
431 return;
432 }
433 @ <input type="submit" value="Apply Changes" />
434 if( rn>0 ){
435 @ <input type="submit" value="Delete This Report" name="del1" />
436 }
437 @ </div></form>
438 report_format_hints();
439 style_footer();
440 }
441
442 /*
@@ -478,17 +478,17 @@
478 @ <p>In this example, the first column in the result set is named
479 @ "bgcolor". The value of this column is not displayed. Instead, it
480 @ selects the background color of each row based on the TICKET.STATUS
481 @ field of the database. The color key at the right shows the various
482 @ color codes.</p>
483 @ <table class="rpteditex">
484 @ <tr style="background-color:#f2dcdc;"><td class="rpteditex">new or active</td></tr>
485 @ <tr style="background-color:#e8e8bd;"><td class="rpteditex">review</td></tr>
486 @ <tr style="background-color:#cfe8bd;"><td class="rpteditex">fixed</td></tr>
487 @ <tr style="background-color:#bde5d6;"><td class="rpteditex">tested</td></tr>
488 @ <tr style="background-color:#cacae5;"><td class="rpteditex">defer</td></tr>
489 @ <tr style="background-color:#c8c8c8;"><td class="rpteditex">closed</td></tr>
490 @ </table>
491 @ <blockquote><pre>
492 @ SELECT
493 @ CASE WHEN status IN ('new','active') THEN '#f2dcdc'
494 @ WHEN status='review' THEN '#e8e8bd'
@@ -510,16 +510,16 @@
510 @ FROM ticket
511 @ </pre></blockquote>
512 @ <p>To base the background color on the TICKET.PRIORITY or
513 @ TICKET.SEVERITY fields, substitute the following code for the
514 @ first column of the query:</p>
515 @ <table class="rpteditex">
516 @ <tr style="background-color:#f2dcdc;"><td class="rpteditex">1</td></tr>
517 @ <tr style="background-color:#e8e8bd;"><td class="rpteditex">2</td></tr>
518 @ <tr style="background-color:#cfe8bd;"><td class="rpteditex">3</td></tr>
519 @ <tr style="background-color:#cacae5;"><td class="rpteditex">4</td></tr>
520 @ <tr style="background-color:#c8c8c8;"><td class="rpteditex">5</td></tr>
521 @ </table>
522 @ <blockquote><pre>
523 @ SELECT
524 @ CASE priority WHEN 1 THEN '#f2dcdc'
525 @ WHEN 2 THEN '#e8e8bd'
526
+1 -1
--- src/skins.c
+++ src/skins.c
@@ -830,11 +830,11 @@
830830
const char *zN = db_column_text(&q, 0);
831831
const char *zV = db_column_text(&q, 1);
832832
if( strcmp(zV, zCurrent)==0 ){
833833
@ <li><p>%h(zN).&nbsp;&nbsp; <b>Currently In Use</b></p>
834834
}else{
835
- @ <li><form action="%s(g.zBaseURL)/setup_skin" method="POST">
835
+ @ <li><form action="%s(g.zBaseURL)/setup_skin" method="post">
836836
@ %h(zN).&nbsp;&nbsp;
837837
@ <input type="hidden" name="sn" value="%h(zN)">
838838
@ <input type="submit" name="load" value="Use This Skin">
839839
@ <input type="submit" name="del1" value="Delete This Skin">
840840
@ </form></li>
841841
--- src/skins.c
+++ src/skins.c
@@ -830,11 +830,11 @@
830 const char *zN = db_column_text(&q, 0);
831 const char *zV = db_column_text(&q, 1);
832 if( strcmp(zV, zCurrent)==0 ){
833 @ <li><p>%h(zN).&nbsp;&nbsp; <b>Currently In Use</b></p>
834 }else{
835 @ <li><form action="%s(g.zBaseURL)/setup_skin" method="POST">
836 @ %h(zN).&nbsp;&nbsp;
837 @ <input type="hidden" name="sn" value="%h(zN)">
838 @ <input type="submit" name="load" value="Use This Skin">
839 @ <input type="submit" name="del1" value="Delete This Skin">
840 @ </form></li>
841
--- src/skins.c
+++ src/skins.c
@@ -830,11 +830,11 @@
830 const char *zN = db_column_text(&q, 0);
831 const char *zV = db_column_text(&q, 1);
832 if( strcmp(zV, zCurrent)==0 ){
833 @ <li><p>%h(zN).&nbsp;&nbsp; <b>Currently In Use</b></p>
834 }else{
835 @ <li><form action="%s(g.zBaseURL)/setup_skin" method="post">
836 @ %h(zN).&nbsp;&nbsp;
837 @ <input type="hidden" name="sn" value="%h(zN)">
838 @ <input type="submit" name="load" value="Use This Skin">
839 @ <input type="submit" name="del1" value="Delete This Skin">
840 @ </form></li>
841
+16
--- src/style.c
+++ src/style.c
@@ -649,10 +649,26 @@
649649
{ "span.tktError",
650650
"format for ticket error messages",
651651
@ color: red;
652652
@ font-weight: bold;
653653
},
654
+ { "table.rpteditex",
655
+ "format for example tables on the report edit page",
656
+ @ float: right;
657
+ @ margin: 0;
658
+ @ padding: 0;
659
+ @ width: 125px;
660
+ @ text-align: center;
661
+ @ border-collapse: collapse;
662
+ @ border-spacing: 0;
663
+ },
664
+ { "td.rpteditex",
665
+ "format for example table cells on the report edit page",
666
+ @ border-width: thin;
667
+ @ border-color: #000000;
668
+ @ border-style: solid;
669
+ },
654670
{ "input.checkinUserColor",
655671
"format for user color input on checkin edit page",
656672
@ # no special definitions, class defined, to enable color pickers, f.e.:
657673
@ # add the color picker found at http:jscolor.com as java script include
658674
@ # to the header and configure the java script file with
659675
--- src/style.c
+++ src/style.c
@@ -649,10 +649,26 @@
649 { "span.tktError",
650 "format for ticket error messages",
651 @ color: red;
652 @ font-weight: bold;
653 },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
654 { "input.checkinUserColor",
655 "format for user color input on checkin edit page",
656 @ # no special definitions, class defined, to enable color pickers, f.e.:
657 @ # add the color picker found at http:jscolor.com as java script include
658 @ # to the header and configure the java script file with
659
--- src/style.c
+++ src/style.c
@@ -649,10 +649,26 @@
649 { "span.tktError",
650 "format for ticket error messages",
651 @ color: red;
652 @ font-weight: bold;
653 },
654 { "table.rpteditex",
655 "format for example tables on the report edit page",
656 @ float: right;
657 @ margin: 0;
658 @ padding: 0;
659 @ width: 125px;
660 @ text-align: center;
661 @ border-collapse: collapse;
662 @ border-spacing: 0;
663 },
664 { "td.rpteditex",
665 "format for example table cells on the report edit page",
666 @ border-width: thin;
667 @ border-color: #000000;
668 @ border-style: solid;
669 },
670 { "input.checkinUserColor",
671 "format for user color input on checkin edit page",
672 @ # no special definitions, class defined, to enable color pickers, f.e.:
673 @ # add the color picker found at http:jscolor.com as java script include
674 @ # to the header and configure the java script file with
675
+6 -6
--- src/wiki.c
+++ src/wiki.c
@@ -533,22 +533,22 @@
533533
wiki_convert(&preview, 0, 0);
534534
@ <hr>
535535
blob_reset(&preview);
536536
}
537537
zUser = PD("u", g.zLogin);
538
- @ <form method="POST" action="%s(g.zBaseURL)/wikiappend">
538
+ @ <form method="post" action="%s(g.zBaseURL)/wikiappend">
539539
login_insert_csrf_secret();
540
- @ <input type="hidden" name="name" value="%h(zPageName)">
540
+ @ <input type="hidden" name="name" value="%h(zPageName)" />
541541
@ Your Name:
542
- @ <input type="text" name="u" size="20" value="%h(zUser)"><br />
542
+ @ <input type="text" name="u" size="20" value="%h(zUser)" /><br />
543543
@ Comment to append:<br />
544544
@ <textarea name="r" class="wikiedit" cols="80"
545545
@ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546546
@ <br />
547
- @ <input type="submit" name="preview" value="Preview Your Comment">
548
- @ <input type="submit" name="submit" value="Append Your Changes">
549
- @ <input type="submit" name="cancel" value="Cancel">
547
+ @ <input type="submit" name="preview" value="Preview Your Comment" />
548
+ @ <input type="submit" name="submit" value="Append Your Changes" />
549
+ @ <input type="submit" name="cancel" value="Cancel" />
550550
@ </form>
551551
style_footer();
552552
}
553553
554554
/*
555555
--- src/wiki.c
+++ src/wiki.c
@@ -533,22 +533,22 @@
533 wiki_convert(&preview, 0, 0);
534 @ <hr>
535 blob_reset(&preview);
536 }
537 zUser = PD("u", g.zLogin);
538 @ <form method="POST" action="%s(g.zBaseURL)/wikiappend">
539 login_insert_csrf_secret();
540 @ <input type="hidden" name="name" value="%h(zPageName)">
541 @ Your Name:
542 @ <input type="text" name="u" size="20" value="%h(zUser)"><br />
543 @ Comment to append:<br />
544 @ <textarea name="r" class="wikiedit" cols="80"
545 @ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546 @ <br />
547 @ <input type="submit" name="preview" value="Preview Your Comment">
548 @ <input type="submit" name="submit" value="Append Your Changes">
549 @ <input type="submit" name="cancel" value="Cancel">
550 @ </form>
551 style_footer();
552 }
553
554 /*
555
--- src/wiki.c
+++ src/wiki.c
@@ -533,22 +533,22 @@
533 wiki_convert(&preview, 0, 0);
534 @ <hr>
535 blob_reset(&preview);
536 }
537 zUser = PD("u", g.zLogin);
538 @ <form method="post" action="%s(g.zBaseURL)/wikiappend">
539 login_insert_csrf_secret();
540 @ <input type="hidden" name="name" value="%h(zPageName)" />
541 @ Your Name:
542 @ <input type="text" name="u" size="20" value="%h(zUser)" /><br />
543 @ Comment to append:<br />
544 @ <textarea name="r" class="wikiedit" cols="80"
545 @ rows="10" wrap="virtual">%h(PD("r",""))</textarea>
546 @ <br />
547 @ <input type="submit" name="preview" value="Preview Your Comment" />
548 @ <input type="submit" name="submit" value="Append Your Changes" />
549 @ <input type="submit" name="cancel" value="Cancel" />
550 @ </form>
551 style_footer();
552 }
553
554 /*
555

Keyboard Shortcuts

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