<th1>  ui::vars  </th1>
<html>
<head>

  <title>$<project_name>: $<title></title>
  <base href="$<baseurl>/$current_page" />
  <meta http-equiv=Content-Type content="text/html; charset=UTF-8; version=5">
  <link rel=alternate type="application/rss+xml" title=Timeline href="$<baseurl>/timeline.rss">
  <link rel=stylesheet href="$<baseurl>/style.css?gitlike" type="text/css" media=screen>
  <script src="$<baseurl>/script.js"></script>

</head>
<body class="page-$pagecat">



  <footer id=menu-header><div class=width-container>
      <h1>Fossil</h1>
      <form id=search_form action=search method=get style=display:inline><span>
        <select>
           <option>This repository
        </select><input type=search name=s placeholder="Search through files and wiki" size=30>
      </span></form>
      <a href="timeline?n=20&y=e">Blog</a>
      <th1>
          ui::sitemap_links
      </th1>
      <span style=float:right>
        <th1>
            if {[hascap s]} { html {<a href=setup class="button red text-shadow">Admin</a>}
            } else { html {<a href=setup class="button green text-shadow">Sign up</a>} }
        </th1>
        <a href=login class="button white text-shadow"><th1>if {[info exists login]} { puts $login } else { puts "Sign in" }</th1></a>
      </span>
  </div></footer>



  <footer id=project-header><div class=width-container>
      <span style=position:absolute><span id=public-prefix>PUBLIC&nbsp;</span></span>
      <img src="/fossil-icon.png" align=middle height=32 width=32>
      <a href="../..">$basedomain</a> / <a href=$baseurl/index><b>$project_name</b></a>
      <span style="float:right;">
         <span class=share-button id=share-button onclick="$('#share-button>span').toggle('75')">&#9733; Star
               <span class=social-links style=display:none><th1>catch { ui::social_links $baseurl }</th1></span></span><span class=share-button-number>$stats_social</span>
         <span class=share-button glyph>&#9988; Fork</span><span class=share-button-number>$stats_forks</span>
      </span>
  </div></footer>
  



  <section id=main-content><div class=width-container>
  
    <aside id=function-sidebar>
       <ul>
         <li style=padding:5pt>
          <li<th1>current index|tree|dir|finfo|artifact|raw|hex</th1>><a href=tree>  <b class=glyph>&lt;&gt;</b>  <span class=optional> Code </span></a></li>
          <li<th1>current reportlist|tkt|rpt</th1>><a href=reportlist title=Tickets>  <b class=glyph>📌</b>   <span class=optional> Issues </span></a></li>
          <li<th1>current wiki|wcontent|whist|attach|wdiff</th1>><a href=wcontent title=Wiki>       <b class=glyph>📖</b>   <span class=optional> Wiki </span></a></li>
          <li<th1>current forum</th1>><a href=forum title=Forum>       <b class=glyph>🗩</b>   <span class=optional> Forum </span></a></li>
          <li<th1>current timeline</th1>><a href=timeline title=Time>       <b class=glyph>📰</b>   <span class=optional> Pulse </span></a></li>
          <li<th1>current reports</th1>><a href=reports title=Graphs>      <b class=glyph>📊</b>   <span class=optional> Graphs </span></a></li>
          <li<th1>current tag</th1>><a href=taglist title=Tags>        <b class=glyph>📛</b>   <span class=optional> Tags </span></a></li>
          <li style=padding:3pt>
       </ul>
       <p class=optional>
          <b>HTTP</b>S sync URL<br>
          <input type=url size=15 value="$<baseurl>/xfer" style="border: 1px solid #ddd; border-radius: 3px" onClick="select()"><br>
          <a class="download button white text-shadow" href="$<baseurl>/zip/$<project_name>.zip?uuid=trunk">➱&nbsp;Download ZIP</a>
          <a class="download button white text-shadow" href="$<baseurl>/tarball/$<project_name>.tgz?uuid=trunk">➱&nbsp;Download TGZ</a>
       </p>
    </aside>



    <section id=project-content>
       <article class=optional>
          $stats_description
       </article>


       
       <section id=project-stats class=optional>
       <th1>
       if {$pagecat eq "index"} {
          set stats_checkins [set stats_branches [set stats_releases [set stats_developers 0]]] ; catch { ui::stats }
          html "
           <div id=project-stats-alternate>
           <div>
            <a href='timeline?y=ci'><span class=glyph>◶</span> <b>$stats_checkins</b> commits</a>
            <a href=brlist>         <span class=glyph>⎇</span>  <b>$stats_branches</b> branches</a>
            <a href=taglist>        <span class=glyph>⌫</span>  <b>$stats_releases</b> releases</a>
                  <a href='timeline?u=*'> <span class=glyph>♙</span> <b>$stats_developers</b> developers</a>
               </div>
               <div>
                  <a href=#><b>100%</b> open source</a>
               </div>
           </div>
           "
           html { <div onclick="$('#project-stats-alternate div:eq(0)').toggle('slow')" id=language-bar> }
           catch { ui::lang_stats }
           html { </div> }
       }
       </th1>
       </section>



       <br>
       <section id=branch-info>
         <a class="branch button green" id=diff-button href=ci/tip>⌈⌋</a>
         <a class="branch button white" id=branch-button href=brlist><span class=glyph>⎇</span>  <small>branch:</small>
             <select name=branch onclick="json_api('branch/list', show_branches); event.preventDefault();" onChange="location.replace('timeline?r='+this.value)"><option style="font-weight:900;color:red;">trunk</select></a>
         &nbsp;<a href=index><b>$project_name</b></a>
       </section>



       <br>
     <th1>
     catch {
       if {$pagecat eq "index" || [string length $pagename] && [sql::dir_exists $pagename]} {
         html {
          <section id=recent-files>
          <table><colgroup><col style="width:25%"><col style="width:60%"><col style="width:15%"></colgroup><tbody>
         }

         ui::last_commit ;

         catch { ui::recent_files [?: {$pagecat eq "index"} "" "$pagename"] } err

         html {
           </tbody></table>
           </section>
         }
       }
     }
     </th1>


 
       <br>
       <main>
          <h2 class=page-title>$title</h2>
          <article style=padding:7pt>




