summaryrefslogtreecommitdiff
path: root/templates/page.hamlet
blob: 5544221daf9f371f483ab7f39a7dbbafdac7495d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div .navbar .navbar-fixed-top>
  <div .navbar-inner>
    <div .container>
      <a .brand>
        git-annex
      <ul .nav>
        $forall (name, route, isactive) <- navbar
          <li :isactive:.active>
            <a href="@{route}">#{name}</a>
      $maybe reldir <- relDir webapp
        <ul .nav .pull-right>
          <li>
            <a href="@{FileBrowserR}" onclick="(function( $ ) { $.post('@{FileBrowserR}'); })( jQuery ); return false;">
              <i .icon-folder-open .icon-white></i> Files
          <li .dropdown #menu1>
            <a .dropdown-toggle data-toggle="dropdown" href="#menu1">
              Current Repository: #{reldir}
              <b .caret></b>
            <ul .dropdown-menu>
               <li><a href="@{AddRepositoryR}">Add another repository</a></li>
      $nothing
<div .container-fluid>
  <div .row-fluid>
    ^{content}