Overview
Comment: | Pass in config and carry it through. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | stml2 |
Files: | files | file ages | folders |
SHA1: |
1132e616b5ef54243c53fbc3f91526dc |
User & Date: | matt on 2018-09-27 05:53:35 |
Other Links: | branch diff | manifest | tags |
Context
2018-10-03
| ||
06:33 | Added s:output (the html feature) Leaf check-in: 6da3fc24ef user: matt tags: stml2 | |
2018-09-27
| ||
05:53 | Pass in config and carry it through. check-in: 1132e616b5 user: matt tags: stml2 | |
2018-09-17
| ||
14:11 | Set toppage to home check-in: 461d0e242a user: matt tags: stml2 | |
Changes
Modified stml2.scm from [45a56b2b83] to [d702e51bb3].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + - - + + | ;; (defstruct sdat ;; database (dbtype 'pg) (dbinit #f) (conn #f) ;; page info |
︙ | |||
2414 2415 2416 2417 2418 2419 2420 | 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 | - + - + | ;; Usage: (s:get-err s:big) (define (s:get-err wrapperfunc) (let ((errmsg (sdat-curr-err s:session))) (if errmsg ((if wrapperfunc wrapperfunc s:strong) errmsg) '()))) |
︙ | |||
2451 2452 2453 2454 2455 2456 2457 | 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 | - + | (s:html (s:head (s:title err) (s:body (s:h1 "ERROR") (s:p err))))))) |
︙ | |||
2501 2502 2503 2504 2505 2506 2507 | 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 | - + | ;; (print "</pre>") ;; (print "<table>") ;; (for-each (lambda (var) ;; (print "<tr><td>" (car var) "</td><td>" (cdr var) "</td></tr>")) ;; (get-environment-variables)) ;; (print "</table>") (print "</body></html>"))) |
︙ |