# config

name: project-description
value:
  This utility can be used to display the version dependency information for the program being built in the current directory.


name: skin:Backup On 2013-03-07 06:24:54
value:
  REPLACE INTO config(name,value,mtime) VALUES('css','/* General settings for the entire page */
  body {
    margin: 0ex 1ex;
    padding: 0px;
    background-color: white;
    font-family: sans-serif;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: table-cell;
    text-align: center;
    vertical-align: bottom;
    font-weight: bold;
    color: #558195;
    min-width: 200px;
  }

  /* The page title centered at the top of each page */
  div.title {
    display: table-cell;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    padding: 0 0 0 1em;
    color: #558195;
    vertical-align: bottom;
    width: 100% ;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #558195;
    font-size: 0.8em;
    font-weight: bold;
    min-width: 200px;
    white-space: nowrap;
  }

  /* The header across the top of the page */
  div.header {
    display: table;
    width: 100% ;
  }

  /* The main menu bar that appears at the top of the page beneath
  ** the header */
  div.mainmenu {
    padding: 5px 10px 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    background-color: #558195;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: white;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu, div.sectionmenu {
    padding: 3px 10px 3px 0px;
    font-size: 0.9em;
    text-align: center;
    background-color: #456878;
    color: white;
  }
  div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited,
  div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover {
    color: #558195;
    background-color: white;
  }

  /* All page content from the bottom of the menu or submenu down to
  ** the footer */
  div.content {
    padding: 0ex 1ex 1ex 1ex;
    border: solid #aaa;
    border-width: 1px;
  }

  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0px;
    margin-top: 1em;
    padding: 1px 1px 1px 1px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #558195;
    color: white;
    white-space: nowrap;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    background: #a1c4d4;
    border: 2px #558195 solid;
    font-size: 1em; font-weight: normal;
    padding: .25em;
    margin: .2em 0 .2em 0;
    float: left;
    clear: left;
    white-space: nowrap;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    clear: both;
    font-size: 0.8em;
    padding: 5px 10px 5px 10px;
    text-align: right;
    background-color: #558195;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: white;
  }

  /* Hyperlink colors in the footer */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* verbatim blocks */
  pre.verbatim {
     background-color: #f5f5f5;
     padding: 0.5em;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }',now());
  REPLACE INTO config(name,value,mtime) VALUES('header','<html>
  <head>
  <base href="$baseurl/$current_page" />
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss" />
  <link rel="stylesheet" href="$home/style.css?enhanced" type="text/css"
        media="screen" />
  </head>
  <body>
  <div class="header">
    <div class="logo">
      <th1>
      proc getLogoUrl { baseurl } {
        set idx(first) [string first // $baseurl]
        if {$idx(first) != -1} {
          set idx(first+1) [expr {$idx(first) + 2}]
          set idx(nextRange) [string range $baseurl $idx(first+1) end]
          set idx(next) [string first / $idx(nextRange)]
          if {$idx(next) != -1} {
            set idx(next) [expr {$idx(next) + $idx(first+1)}]
            set idx(next-1) [expr {$idx(next) - 1}]
            set scheme [string range $baseurl 0 $idx(first)]
            set host [string range $baseurl $idx(first+1) $idx(next-1)]
            if {[string compare $scheme http:/] == 0} {
              set scheme http://
            } else {
              set scheme https://
            }
            set logourl $scheme$host/
          } else {
            set logourl $baseurl
          }
        } else {
          set logourl $baseurl
        }
        return $logourl
      }
      set logourl [getLogoUrl $baseurl]
      </th1>
      <a href="$logourl">
        <img src="$baseurl/logo" border="0" alt="$project_name">
      </a>
    </div>
    <div class="title"><small>$<project_name></small><br />$<title></div>
    <div class="status"><nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href=''$home$index_page''>Home</a>\n"
  if {[anycap jor]} {
    html "<a href=''timeline''>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href=''dir?ci=tip''>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href=''brlist''>Branches</a>\n"
    html "<a href=''taglist''>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href=''reportlist''>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href=''wiki''>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href=''setup''>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href=''setup_ulist''>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href=''login''>Logout</a>\n"
  } else {
    html "<a href=''login''>Login</a>\n"
  }
  </th1></div>
  ',now());
  REPLACE INTO config(name,value,mtime) VALUES('footer','<div class="footer">
    <th1>
    proc getTclVersion {} {
      if {[catch {tclEval info patchlevel} tclVersion] == 0} {
        return "<a href=\"http://www.tcl.tk/\">Tcl</a> version $tclVersion"
      }
      return ""
    }
    proc getVersion { version } {
      set length [string length $version]
      return [string range $version 1 [expr {$length - 2}]]
    }
    set version [getVersion $manifest_version]
    set tclVersion [getTclVersion]
    set fossilUrl http://www.fossil-scm.org
    </th1>
    <a href="$fossilUrl/">Fossil</a>
    version $release_version $tclVersion
    <a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
    <a href="$fossilUrl/fossil/timeline?c=$manifest_date&y=ci">$manifest_date</a>
  </div>
  </body></html>
  ',now());


name: skin:Backup On 2013-03-07 06:25:15
value:
  REPLACE INTO config(name,value,mtime) VALUES('css','/* General settings for the entire page */
  html {
    min-height: 100%;
  }
  body {
    margin: 0ex 1ex;
    padding: 0px;
    background-color: white;
    color: #333;
    font-family: Verdana, sans-serif;
    font-size: 0.8em;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    font-weight: normal;
  }

  /* Widths */
  div.header, div.mainmenu, div.submenu, div.content, div.footer {
    max-width: 900px;
    margin: auto;
    padding: 3px 20px 3px 20px;
    clear: both;
  }

  /* The page title at the top of each page */
  div.title {
    display: table-cell;
    padding-left: 10px;
    font-size: 2em;
    margin: 10px 0 10px -20px;
    vertical-align: bottom;
    text-align: left;
    width: 80%;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    color: #558195;
    text-shadow: 0px 2px 2px #999999;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #333;
    margin-right: -20px;
  }

  /* The main menu bar that appears at the top of the page beneath
   ** the header */
  div.mainmenu {
    text-align: center;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #446979;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu {
    padding-top:10px;
    padding-bottom:0;
    text-align: right;
    color: #000;
    background-color: #fff;
    height: 1.5em;
    vertical-align:middle;
    box-shadow: 0px 3px 4px #999;
  }
  div.mainmenu a, div.mainmenu a:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.submenu a, div.submenu a:visited, a.button,
  div.sectionmenu>a.button:link, div.sectinmenu>a.button:visited {
    padding: 2px 8px;
    color: #000;
    font-family: Arial;
    text-decoration: none;
    margin:auto;
    border-radius: 5px;
    background-color: #e0e0e0 ;
    text-shadow: 0px -1px 0px #eee;
    border: 1px solid #000;
  }

  div.mainmenu a:hover {
    color: #000;
    background-color: white;
  }

  div.submenu a:hover, div.sectionmenu>a.button:hover {
    background-color: #c0c0c0 ;
  }

  /* All page content from the bottom of the menu or submenu down to
   ** the footer */
  div.content {
    background-color: #fff;
    box-shadow: 0px 3px 4px #999;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-bottom: 1em;
    min-height:40%;
  }


  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0.5em;
    margin-top: 1em;
    margin-right: auto;
    padding: 1px 1px 1px 1px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: white;
    border-radius: 5px;
    background-color: #446979;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    font-size: 1.2em;
    font-family: Georgia, serif;
    font-weight: bold;
    margin-top: 1em;
    white-space: nowrap;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 1em;
    color: #666;
  }

  /* Hyperlink colors in the footer */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* <verbatim> blocks */
  pre.verbatim, blockquote pre {
    font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
    background-color: #f3f3f3;
    padding: 0.5em;
    white-space: pre-wrap;
  }

  blockquote pre {
    border: 1px #000 dashed;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }


  table.report {
    border-collapse:collapse;
    border: 1px solid #999;
    margin: 1em 0 1em 0;
  }

  table.report tr th {
    padding: 3px 5px;
    text-transform : capitalize;
  }

  table.report tr td {
    padding: 3px 5px;
  }

  textarea {
    font-size: 1em;
  }',now());
  REPLACE INTO config(name,value,mtime) VALUES('header','<html>
  <head>
  <base href="$baseurl/$current_page" />
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss">
  <link rel="stylesheet" href="$home/style.css?black2" type="text/css"
        media="screen">
  </head>
  <body>
  <div class="header">
    <div class="logo">
      <img src="$home/logo" alt="logo">
      <br /><nobr>$<project_name></nobr>
    </div>
    <div class="title">$<title></div>
    <div class="status"><nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href=''$home$index_page''>Home</a>\n"
  if {[anycap jor]} {
    html "<a href=''$home/timeline''>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href=''$home/dir?ci=tip''>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href=''$home/brlist''>Branches</a>\n"
    html "<a href=''$home/taglist''>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href=''$home/reportlist''>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href=''$home/wiki''>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href=''$home/setup''>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href=''$home/setup_ulist''>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href=''$home/login''>Logout</a>\n"
  } else {
    html "<a href=''$home/login''>Login</a>\n"
  }
  </th1></div>
  <div id="container">
  ',now());
  REPLACE INTO config(name,value,mtime) VALUES('footer','</div>
  <div class="footer">
  Fossil version $manifest_version $manifest_date
  </div>
  </body></html>
  ',now());


name: skin:Backup On 2013-03-07 06:25:20
value:
  REPLACE INTO config(name,value,mtime) VALUES('css','/* General settings for the entire page */
  body {
    margin: 0ex 0ex;
    padding: 0px;
    background-color: #fef3bc;
    font-family: sans-serif;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: inline;
    text-align: center;
    vertical-align: bottom;
    font-weight: bold;
    font-size: 2.5em;
    color: #a09048;
  }

  /* The page title centered at the top of each page */
  div.title {
    display: table-cell;
    font-size: 2em;
    font-weight: bold;
    text-align: left;
    padding: 0 0 0 5px;
    color: #a09048;
    vertical-align: bottom;
    width: 100%;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #a09048;
    padding: 5px 5px 0 0;
    font-size: 0.8em;
    font-weight: bold;
  }

  /* The header across the top of the page */
  div.header {
    display: table;
    width: 100%;
  }

  /* The main menu bar that appears at the top of the page beneath
  ** the header */
  div.mainmenu {
    padding: 5px 10px 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    background-color: #a09048;
    color: black;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu, div.sectionmenu {
    padding: 3px 10px 3px 0px;
    font-size: 0.9em;
    text-align: center;
    background-color: #c0af58;
    color: white;
  }
  div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited,
  div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover {
    color: #a09048;
    background-color: white;
  }

  /* All page content from the bottom of the menu or submenu down to
  ** the footer */
  div.content {
    padding: 1ex 5px;
  }
  div.content a { color: #706532; }
  div.content a:link { color: #706532; }
  div.content a:visited { color: #704032; }
  div.content a:hover { background-color: white; color: #706532; }

  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0px;
    margin-top: 1em;
    padding: 3px 3px 0 3px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #a09048;
    color: white;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    background: #e1d498;
    border: 2px #a09048 solid;
    font-size: 1em; font-weight: normal;
    padding: .25em;
    margin: .2em 0 .2em 0;
    float: left;
    clear: left;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    font-size: 0.8em;
    margin-top: 12px;
    padding: 5px 10px 5px 10px;
    text-align: right;
    background-color: #a09048;
    color: white;
  }

  /* Hyperlink colors */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* <verbatim> blocks */
  pre.verbatim {
     background-color: #f5f5f5;
     padding: 0.5em;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }',now());
  REPLACE INTO config(name,value,mtime) VALUES('header','<html>
  <head>
  <base href="$baseurl/$current_page" />
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss">
  <link rel="stylesheet" href="$home/style.css?tan" type="text/css"
        media="screen">
  </head>
  <body>
  <div class="header">
    <div class="title">$<title></div>
    <div class="status">
      <div class="logo"><nobr>$<project_name></nobr></div><br/>
      <nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href=''$home$index_page''>Home</a>\n"
  if {[anycap jor]} {
    html "<a href=''$home/timeline''>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href=''$home/dir?ci=tip''>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href=''$home/brlist''>Branches</a>\n"
    html "<a href=''$home/taglist''>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href=''$home/reportlist''>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href=''$home/wiki''>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href=''$home/setup''>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href=''$home/setup_ulist''>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href=''$home/login''>Logout</a>\n"
  } else {
    html "<a href=''$home/login''>Login</a>\n"
  }
  </th1></div>
  ',now());
  REPLACE INTO config(name,value,mtime) VALUES('footer','<div class="footer">
  Fossil version $manifest_version $manifest_date
  </div>
  </body></html>
  ',now());


name: skin:Backup On 2013-03-07 06:25:27
value:
  REPLACE INTO config(name,value,mtime) VALUES('css','/* General settings for the entire page */
  body {
    margin: 0ex 1ex;
    padding: 0px;
    background-color: white;
    font-family: sans-serif;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: table-row;
    text-align: center;
    /* vertical-align: bottom;*/
    font-size: 2em;
    font-weight: bold;
    background-color: #707070;
    color: #ffffff;
    min-width: 200px;
  }

  /* The page title centered at the top of each page */
  div.title {
    display: table-cell;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 0 0 0 10px;
    color: #404040;
    vertical-align: bottom;
    width: 100%;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #404040;
    font-size: 0.8em;
    font-weight: bold;
    min-width: 200px;
  }

  /* The header across the top of the page */
  div.header {
    display: table;
    width: 100%;
  }

  /* The main menu bar that appears at the top of the page beneath
  ** the header */
  div.mainmenu {
    padding: 5px 10px 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    background-color: #404040;
    color: white;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu, div.sectionmenu {
    padding: 3px 10px 3px 0px;
    font-size: 0.9em;
    text-align: center;
    background-color: #606060;
    color: white;
  }
  div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited,
  div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover {
    color: #404040;
    background-color: white;
  }

  /* All page content from the bottom of the menu or submenu down to
  ** the footer */
  div.content {
    padding: 0ex 0ex 0ex 0ex;
  }
  /* Hyperlink colors */
  div.content a { color: #604000; }
  div.content a:link { color: #604000;}
  div.content a:visited { color: #600000; }

  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0px;
    margin-top: 1em;
    padding: 1px 1px 1px 1px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #404040;
    color: white;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    background: #a0a0a0;
    border: 2px #505050 solid;
    font-size: 1em; font-weight: normal;
    padding: .25em;
    margin: .2em 0 .2em 0;
    float: left;
    clear: left;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    font-size: 0.8em;
    margin-top: 12px;
    padding: 5px 10px 5px 10px;
    text-align: right;
    background-color: #404040;
    color: white;
  }

  /* The label/value pairs on (for example) the vinfo page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }',now());
  REPLACE INTO config(name,value,mtime) VALUES('header','<html>
  <head>
  <base href="$baseurl/$current_page" />
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss">
  <link rel="stylesheet" href="$home/style.css?blackwhite" type="text/css"
        media="screen">
  </head>
  <body>
  <div class="header">
    <div class="title"><small>$<project_name></small><br />$<title></div>
    <div class="status"><nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href=''$home$index_page''>Home</a>\n"
  if {[anycap jor]} {
    html "<a href=''$home/timeline''>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href=''$home/dir?ci=tip''>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href=''$home/brlist''>Branches</a>\n"
    html "<a href=''$home/taglist''>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href=''$home/reportlist''>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href=''$home/wiki''>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href=''$home/setup''>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href=''$home/setup_ulist''>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href=''$home/login''>Logout</a>\n"
  } else {
    html "<a href=''$home/login''>Login</a>\n"
  }
  </th1></div>
  ',now());
  REPLACE INTO config(name,value,mtime) VALUES('footer','<div class="footer">
  Fossil version $manifest_version $manifest_date
  </div>
  </body></html>
  ',now());


name: css
value:
  /* General settings for the entire page */
  html {
    min-height: 100%;
  }
  body {
    margin: 0ex 1ex;
    padding: 0px;
    background-color: white;
    color: #333;
    font-family: Verdana, sans-serif;
    font-size: 0.8em;
  }

  /* The project logo in the upper left-hand corner of each page */
  div.logo {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    font-weight: normal;
  }

  /* Widths */
  div.header, div.mainmenu, div.submenu, div.content, div.footer {
    max-width: 900px;
    margin: auto;
    padding: 3px 20px 3px 20px;
    clear: both;
  }

  /* The page title at the top of each page */
  div.title {
    display: table-cell;
    padding-left: 10px;
    font-size: 2em;
    margin: 10px 0 10px -20px;
    vertical-align: bottom;
    text-align: left;
    width: 80%;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    color: #558195;
    text-shadow: 0px 2px 2px #999999;
  }

  /* The login status message in the top right-hand corner */
  div.status {
    display: table-cell;
    text-align: right;
    vertical-align: bottom;
    color: #333;
    margin-right: -20px;
  }

  /* The main menu bar that appears at the top of the page beneath
   ** the header */
  div.mainmenu {
    text-align: center;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #446979;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu {
    padding-top:10px;
    padding-bottom:0;
    text-align: right;
    color: #000;
    background-color: #fff;
    height: 1.5em;
    vertical-align:middle;
    box-shadow: 0px 3px 4px #999;
  }
  div.mainmenu a, div.mainmenu a:visited {
    padding: 3px 10px 3px 10px;
    color: white;
    text-decoration: none;
  }
  div.submenu a, div.submenu a:visited, a.button,
  div.sectionmenu>a.button:link, div.sectinmenu>a.button:visited {
    padding: 2px 8px;
    color: #000;
    font-family: Arial;
    text-decoration: none;
    margin:auto;
    border-radius: 5px;
    background-color: #e0e0e0 ;
    text-shadow: 0px -1px 0px #eee;
    border: 1px solid #000;
  }

  div.mainmenu a:hover {
    color: #000;
    background-color: white;
  }

  div.submenu a:hover, div.sectionmenu>a.button:hover {
    background-color: #c0c0c0 ;
  }

  /* All page content from the bottom of the menu or submenu down to
   ** the footer */
  div.content {
    background-color: #fff;
    box-shadow: 0px 3px 4px #999;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-bottom: 1em;
    min-height:40%;
  }


  /* Some pages have section dividers */
  div.section {
    margin-bottom: 0.5em;
    margin-top: 1em;
    margin-right: auto;
    padding: 1px 1px 1px 1px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: white;
    border-radius: 5px;
    background-color: #446979;
    box-shadow: 0px 3px 4px #333333;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
    font-size: 1.2em;
    font-family: Georgia, serif;
    font-weight: bold;
    margin-top: 1em;
    white-space: nowrap;
  }

  /* The footer at the very bottom of the page */
  div.footer {
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 1em;
    color: #666;
  }

  /* Hyperlink colors in the footer */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* <verbatim> blocks */
  pre.verbatim, blockquote pre {
    font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
    background-color: #f3f3f3;
    padding: 0.5em;
    white-space: pre-wrap;
  }

  blockquote pre {
    border: 1px #000 dashed;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
    vertical-align: top;
    text-align: right;
    padding: 0.2ex 2ex;
  }


  table.report {
    border-collapse:collapse;
    border: 1px solid #999;
    margin: 1em 0 1em 0;
  }

  table.report tr th {
    padding: 3px 5px;
    text-transform : capitalize;
  }

  table.report tr td {
    padding: 3px 5px;
  }

  textarea {
    font-size: 1em;
  }


name: header
value:
  <html>
  <head>
  <base href="$baseurl/$current_page" />
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss">
  <link rel="stylesheet" href="$home/style.css?black2" type="text/css"
        media="screen">
  </head>
  <body>
  <div class="header">
    <div class="logo">
      <img src="$home/logo" alt="logo">
      <br /><nobr>$<project_name></nobr>
    </div>
    <div class="title">$<title></div>
    <div class="status"><nobr><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></nobr></div>
  </div>
  <div class="mainmenu">
  <th1>
  html "<a href='$home$index_page'>Home</a>\n"
  if {[anycap jor]} {
    html "<a href='$home/timeline'>Timeline</a>\n"
  }
  if {[hascap oh]} {
    html "<a href='$home/dir?ci=tip'>Files</a>\n"
  }
  if {[hascap o]} {
    html "<a href='$home/brlist'>Branches</a>\n"
    html "<a href='$home/taglist'>Tags</a>\n"
  }
  if {[hascap r]} {
    html "<a href='$home/reportlist'>Tickets</a>\n"
  }
  if {[hascap j]} {
    html "<a href='$home/wiki'>Wiki</a>\n"
  }
  if {[hascap s]} {
    html "<a href='$home/setup'>Admin</a>\n"
  } elseif {[hascap a]} {
    html "<a href='$home/setup_ulist'>Users</a>\n"
  }
  if {[info exists login]} {
    html "<a href='$home/login'>Logout</a>\n"
  } else {
    html "<a href='$home/login'>Login</a>\n"
  }
  </th1></div>
  <div id="container">


# reportfmt

title: All Tickets
cols:
  #ffffff Key:
  #f2dcdc Active
  #e8e8e8 Review
  #cfe8bd Fixed
  #bde5d6 Tested
  #cacae5 Deferred
  #c8c8c8 Closed

sqlcode:
  SELECT
    CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
         WHEN status='Review' THEN '#e8e8e8'
         WHEN status='Fixed' THEN '#cfe8bd'
         WHEN status='Tested' THEN '#bde5d6'
         WHEN status='Deferred' THEN '#cacae5'
         ELSE '#c8c8c8' END AS 'bgcolor',
    substr(tkt_uuid,1,10) AS '#',
    datetime(tkt_mtime) AS 'mtime',
    type,
    status,
    subsystem,
    title
  FROM ticket


