summaryrefslogtreecommitdiff
path: root/templates/page.hamlet
blob: 0c07c9130320526e973d28199e6c6bb753e7aa94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>
            ^{actionButton FileBrowserR (Just "Files") "" "icon-folder-open icon-white"}
          <li .dropdown #menu1>
            <a .dropdown-toggle data-toggle="dropdown" href="#menu1">
              Current Repository: #{reldir}
              <b .caret></b>
            <ul .dropdown-menu>
               <li><a href="@{RepositoriesR}">Add another repository</a></li>
      $nothing
<div .container-fluid>
  <div .row-fluid>
    ^{content}