#!/usr/bin/wapptclsh
#
proc wapp-default {} {
wapp-trim {
Fossil Self-Hosting With Built-In Skins
The following links run the Fossil self-hosting repository using
the various built-in skins. Use these for testing the built-in
skins.
The main self-hosting repository uses a
customized skin, different from all of the built-ins shown below.
}
set parentdir [file dir [wapp-param SCRIPT_NAME]]
foreach file [lsort [glob -nocomplain *]] {
if {[regexp {[^a-z0-9_]} $file]} continue
if {![file executable $file]} continue
set url $parentdir/$file/timeline
wapp-subst {- %html($file)\n}
}
wapp-subst {
\n}
}
wapp-start $argv