Documentation Source Text

Check-in [a5c38ef1bf]
Login

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

Overview
Comment:Add the CGI-Environment and Source-code submenu links to the checklist application.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a5c38ef1bfbdef2c250e8361315d81bac70da1d3bce36334ac4e3c94ae5d5aa5
User & Date: drh 2019-07-27 15:39:20
Context
2019-07-27
16:09
Improvements to the header comment on the checklist application, bringing it up-to-date with the actual implementation. Added a prototype checklist database file. check-in: e8d378f753 user: drh tags: trunk
15:39
Add the CGI-Environment and Source-code submenu links to the checklist application. check-in: a5c38ef1bf user: drh tags: trunk
15:28
In the checklist application, add a /self method and make the magic database name "top" refer to the lexically largest database file. check-in: 752d433361 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to misc/checklist.tcl.

   149    149       </style>
   150    150     }
   151    151     checklist-verify-login
   152    152     wapp-subst {<div class="submenu">\n}
   153    153     set base [wapp-param BASE]
   154    154     set this [wapp-param PATH_HEAD]
   155    155     if {$this!="index"} {
   156         -    wapp-subst {<a href='%html($base/index)'>checklist</a>\n}
          156  +    wapp-subst {<a href='%html($base/index)'>Checklist</a>\n}
   157    157     }
   158    158     set admin [wapp-param CKLIST_ADMIN 0]
   159    159     if {$admin} {
   160    160       if {$this!="sql"} {
   161         -      wapp-subst {<a href='%html($base/sql)'>sql</a>\n}
          161  +      wapp-subst {<a href='%html($base/sql)'>SQL</a>\n}
   162    162       }
   163    163       if {$this!="cklistedit"} {
   164         -      wapp-subst {<a href='%html($base/cklistedit)'>edit-checklist</a>\n}
          164  +      wapp-subst {<a href='%html($base/cklistedit)'>Edit-checklist</a>\n}
   165    165       }
          166  +    wapp-subst {<a href='%html($base/env)'>CGI-environment</a>}
          167  +    wapp-subst {<a href='%html($base/self)'>Source-code</a>}
   166    168     }
   167    169     set dir [wapp-param ROOT_URL]
   168         -  wapp-subst {<a href='%html($dir/listing)'>catalog</a>\n}
          170  +  wapp-subst {<a href='%html($dir/listing)'>Catalog</a>\n}
   169    171     wapp-subst {</div>\n}
   170    172     return 0
   171    173   }
   172    174   
   173    175   # Close out a web page.  Close the database connection that was opened
   174    176   # by checklist-common-header.
   175    177   #