summaryrefslogtreecommitdiff
path: root/templates/bootstrap.hamlet
blob: c03c459a648c4db9dd346a40b7f81f88eae835b9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$doctype 5
<html>
  <head>
    <title>#{baseTitle webapp} #{pageTitle page}
    <link rel="icon" href=@{StaticR favicon_ico} type="image/x-icon">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
    ^{pageHead page}
  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="brand" href="#">
            git-annex
          <ul class="nav">
            <li class="active">
              <a href="#">Dashboard</a>
            <li>
              <a href="@{ConfigR}">Config</a>
          <ul class="nav pull-right">
            <li class="dropdown" id="menu1">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#menu1">
                Current Repository: #{baseTitle webapp}
                <b class="caret"></b>
              <ul class="dropdown-menu">
                 <li><a href="#">#{baseTitle webapp}</a></li>
                 <li class="divider"></li>
                 <li><a href="#">Add new repository</a></li>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span3">
          <div class="sidebar-nav">
            <div class="alert alert-info">
              <b>This is just a demo.</b> If this were not just a demo,
              I'd not be filling this sidebar with silly alerts.
            <div class="alert alert-success">
              <b>Well done!</b>
              You successfully read this important alert message.
            <div class="alert alert-error">
              <b>Whoops!</b>
              Unable to connect to blah blah..
        <div class="span9">
          ^{pageBody page}