Fossil

Check-in [cf8d628d]
Login

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

Overview
Comment:HTML validator error free ticket configuration
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS
Files: files | file ages | folders
SHA1: cf8d628d1d9573621f0424a10949e5a6ab0096dd
User & Date: wolfgang 2010-09-11 21:20:46
Context
2010-09-12
08:47
correct all unclosed br and hr tags, skipped sqlite.c check-in: 692b67bd user: wolfgang tags: wolfgangFormat2CSS
2010-09-11
21:20
HTML validator error free ticket configuration check-in: cf8d628d user: wolfgang tags: wolfgangFormat2CSS
20:49
admin pages without errors in HTML validator check-in: a62bfaf5 user: wolfgang tags: wolfgangFormat2CSS
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/style.c.

   275    275   @   display: table-cell;
   276    276   @   font-size: 2em;
   277    277   @   font-weight: bold;
   278    278   @   text-align: center;
   279    279   @   padding: 0 0 0 1em;
   280    280   @   color: #558195;
   281    281   @   vertical-align: bottom;
   282         -@   width: 100%%;
          282  +@   width: 100% ;
   283    283   @ }
   284    284   @
   285    285   @ /* The login status message in the top right-hand corner */
   286    286   @ div.status {
   287    287   @   display: table-cell;
   288    288   @   text-align: right;
   289    289   @   vertical-align: bottom;
................................................................................
   293    293   @   min-width: 200px;
   294    294   @   white-space: nowrap;
   295    295   @ }
   296    296   @
   297    297   @ /* The header across the top of the page */
   298    298   @ div.header {
   299    299   @   display: table;
   300         -@   width: 100%%;
          300  +@   width: 100% ;
   301    301   @ }
   302    302   @
   303    303   @ /* The main menu bar that appears at the top of the page beneath
   304    304   @ ** the header */
   305    305   @ div.mainmenu {
   306    306   @   padding: 5px 10px 5px 10px;
   307    307   @   font-size: 0.9em;
................................................................................
   478    478     { "span.wikiTagCancelled",
   479    479       "the format for fixed/cancelled tags,.. on wiki pages",
   480    480       @   text-decoration: line-through;
   481    481     },
   482    482     { "table.browser",
   483    483       "format for the file display table",
   484    484       @ /* the format for wiki errors */
   485         -    @   width: 100%%;
          485  +    @   width: 100% ;
   486    486       @   border: 0;
   487    487     },
   488    488     { "td.browser",
   489    489       "format for cells in the file browser",
   490         -    @   width: 25%%;
          490  +    @   width: 24% ;
   491    491       @   vertical-align: top;
   492    492     },
   493    493     { "ul.browser",
   494    494       "format for the list in the file browser",
   495    495       @   margin-left: 0.5em;
   496    496       @   padding-left: 0.5em;
   497    497     },

Changes to src/tktsetup.c.

   128    128         @ <p><font color="red"><b>ERROR: %h(zErr)</b></font></p>
   129    129       }else{
   130    130         db_set(zDbField, z, 0);
   131    131         if( xRebuild ) xRebuild();
   132    132         cgi_redirect("tktsetup");
   133    133       }
   134    134     }
   135         -  @ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="POST">
          135  +  @ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="post"><div>
   136    136     login_insert_csrf_secret();
   137    137     @ <p>%s(zDesc)</p>
   138    138     @ <textarea name="x" rows="%d(height)" cols="80">%h(z)</textarea>
   139         -  @ <blockquote>
   140         -  @ <input type="submit" name="submit" value="Apply Changes">
   141         -  @ <input type="submit" name="clear" value="Revert To Default">
   142         -  @ <input type="submit" name="setup" value="Cancel">
   143         -  @ </blockquote>
   144         -  @ </form>
   145         -  @ <hr>
          139  +  @ <blockquote><p>
          140  +  @ <input type="submit" name="submit" value="Apply Changes" />
          141  +  @ <input type="submit" name="clear" value="Revert To Default" />
          142  +  @ <input type="submit" name="setup" value="Cancel" />
          143  +  @ </p></blockquote>
          144  +  @ </div></form>
          145  +  @ <hr />
   146    146     @ <h2>Default %s(zTitle)</h2>
   147    147     @ <blockquote><pre>
   148    148     @ %h(zDfltValue)
   149    149     @ </pre></blockquote>
   150    150     style_footer();
   151    151   }
   152    152   
   153    153   /*
   154    154   ** WEBPAGE: tktsetup_tab
   155    155   */
   156    156   void tktsetup_tab_page(void){
   157    157     static const char zDesc[] =
   158         -  @ <p>Enter a valid CREATE TABLE statement for the "ticket" table.  The
          158  +  @ Enter a valid CREATE TABLE statement for the "ticket" table.  The
   159    159     @ table must contain columns named "tkt_id", "tkt_uuid", and "tkt_mtime"
   160         -  @ with an unique index on "tkt_uuid" and "tkt_mtime".</p>
          160  +  @ with an unique index on "tkt_uuid" and "tkt_mtime".
   161    161     ;
   162    162     tktsetup_generic(
   163    163       "Ticket Table Schema",
   164    164       "ticket-table",
   165    165       zDefaultTicketTable,
   166    166       zDesc,
   167    167       ticket_schema_check,
................................................................................
   227    227   }
   228    228   
   229    229   /*
   230    230   ** WEBPAGE: tktsetup_com
   231    231   */
   232    232   void tktsetup_com_page(void){
   233    233     static const char zDesc[] =
   234         -  @ <p>Enter TH1 script that initializes variables prior to generating
   235         -  @ any of the ticket view, edit, or creation pages.</p>
          234  +  @ Enter TH1 script that initializes variables prior to generating
          235  +  @ any of the ticket view, edit, or creation pages.
   236    236     ;
   237    237     tktsetup_generic(
   238    238       "Ticket Common Script",
   239    239       "ticket-common",
   240    240       zDefaultTicketCommon,
   241    241       zDesc,
   242    242       0,
................................................................................
   336    336   }
   337    337   
   338    338   /*
   339    339   ** WEBPAGE: tktsetup_newpage
   340    340   */
   341    341   void tktsetup_newpage_page(void){
   342    342     static const char zDesc[] =
   343         -  @ <p>Enter HTML with embedded TH1 script that will render the "new ticket"
   344         -  @ page</p>
          343  +  @ Enter HTML with embedded TH1 script that will render the "new ticket" page
   345    344     ;
   346    345     tktsetup_generic(
   347    346       "HTML For New Tickets",
   348    347       "ticket-newpage",
   349    348       zDefaultNew,
   350    349       zDesc,
   351    350       0,
................................................................................
   410    409   }
   411    410   
   412    411   /*
   413    412   ** WEBPAGE: tktsetup_viewpage
   414    413   */
   415    414   void tktsetup_viewpage_page(void){
   416    415     static const char zDesc[] =
   417         -  @ <p>Enter HTML with embedded TH1 script that will render the "view ticket"
   418         -  @ page</p>
          416  +  @ Enter HTML with embedded TH1 script that will render the "view ticket" page
   419    417     ;
   420    418     tktsetup_generic(
   421    419       "HTML For Viewing Tickets",
   422    420       "ticket-viewpage",
   423    421       zDefaultView,
   424    422       zDesc,
   425    423       0,
................................................................................
   533    531   }
   534    532   
   535    533   /*
   536    534   ** WEBPAGE: tktsetup_editpage
   537    535   */
   538    536   void tktsetup_editpage_page(void){
   539    537     static const char zDesc[] =
   540         -  @ <p>Enter HTML with embedded TH1 script that will render the "edit ticket"
   541         -  @ page</p>
          538  +  @ Enter HTML with embedded TH1 script that will render the "edit ticket" page
   542    539     ;
   543    540     tktsetup_generic(
   544    541       "HTML For Editing Tickets",
   545    542       "ticket-editpage",
   546    543       zDefaultEdit,
   547    544       zDesc,
   548    545       0,
................................................................................
   583    580   }
   584    581   
   585    582   /*
   586    583   ** WEBPAGE: tktsetup_reportlist
   587    584   */
   588    585   void tktsetup_reportlist(void){
   589    586     static const char zDesc[] =
   590         -  @ <p>Enter HTML with embedded TH1 script that will render the "report list"
   591         -  @ page</p>
          587  +  @ Enter HTML with embedded TH1 script that will render the "report list" page
   592    588     ;
   593    589     tktsetup_generic(
   594    590       "HTML For Report List",
   595    591       "ticket-reportlist",
   596    592       zDefaultReportList,
   597    593       zDesc,
   598    594       0,
................................................................................
   631    627   }
   632    628   
   633    629   /*
   634    630   ** WEBPAGE: tktsetup_rpttplt
   635    631   */
   636    632   void tktsetup_rpttplt_page(void){
   637    633     static const char zDesc[] =
   638         -  @ <p>Enter the default ticket report format template.  This is the
          634  +  @ Enter the default ticket report format template.  This is the
   639    635     @ the template report format that initially appears when creating a
   640         -  @ new ticket summary report.</p>
          636  +  @ new ticket summary report.
   641    637     ;
   642    638     tktsetup_generic(
   643    639       "Default Report Template",
   644    640       "ticket-report-template",
   645    641       zDefaultReport,
   646    642       zDesc,
   647    643       0,
................................................................................
   672    668   }
   673    669   
   674    670   /*
   675    671   ** WEBPAGE: tktsetup_keytplt
   676    672   */
   677    673   void tktsetup_keytplt_page(void){
   678    674     static const char zDesc[] =
   679         -  @ <p>Enter the default ticket report color-key template.  This is the
          675  +  @ Enter the default ticket report color-key template.  This is the
   680    676     @ the color-key that initially appears when creating a
   681         -  @ new ticket summary report.</p>
          677  +  @ new ticket summary report.
   682    678     ;
   683    679     tktsetup_generic(
   684    680       "Default Report Color-Key Template",
   685    681       "ticket-key-template",
   686    682       zDefaultKey,
   687    683       zDesc,
   688    684       0,
................................................................................
   701    697     }
   702    698   
   703    699     if( P("setup") ){
   704    700       cgi_redirect("tktsetup");
   705    701     }
   706    702     style_header("Ticket Display On Timelines");
   707    703     db_begin_transaction();
   708         -  @ <form action="%s(g.zBaseURL)/tktsetup_timeline" method="POST">
          704  +  @ <form action="%s(g.zBaseURL)/tktsetup_timeline" method="post"><div>
   709    705     login_insert_csrf_secret();
   710    706   
   711         -  @ <hr>
          707  +  @ <hr />
   712    708     entry_attribute("Ticket Title", 40, "ticket-title-expr", "t", "title");
   713    709     @ <p>An SQL expression in a query against the TICKET table that will
   714    710     @ return the title of the ticket for display purposes.</p>
   715    711   
   716         -  @ <hr>
          712  +  @ <hr />
   717    713     entry_attribute("Ticket Status", 40, "ticket-status-column", "s", "status");
   718    714     @ <p>The name of the column in the TICKET table that contains the ticket
   719    715     @ status in human-readable form.  Case sensitive.</p>
   720    716   
   721         -  @ <hr>
          717  +  @ <hr />
   722    718     entry_attribute("Ticket Closed", 40, "ticket-closed-expr", "c",
   723    719                     "status='Closed'");
   724    720     @ <p>An SQL expression that evaluates to true in a TICKET table query if
   725    721     @ the ticket is closed.</p>
   726    722   
   727         -  @ <hr>
          723  +  @ <hr />
   728    724     @ <p>
   729         -  @ <input type="submit"  name="submit" value="Apply Changes">
   730         -  @ <input type="submit" name="setup" value="Cancel">
          725  +  @ <input type="submit"  name="submit" value="Apply Changes" />
          726  +  @ <input type="submit" name="setup" value="Cancel" />
   731    727     @ </p>
   732         -  @ </form>
          728  +  @ </div></form>
   733    729     db_end_transaction(0);
   734    730     style_footer();
   735    731     
   736    732   }