summaryrefslogtreecommitdiff
path: root/source/layouts/layout.erb
blob: 5ba23c16f9861b2d3d7e854f6b4de179d0a9c745 (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
53
54
55
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">

    <!-- Always force latest IE rendering engine or request Chrome Frame -->
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">

    <!-- For proper display on mobile -->
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Use title if it's in the page YAML frontmatter -->
    <title><%= current_page.data.title || "sublab" %></title>

    <%= stylesheet_link_tag "all", "bootstrap", "bootstrap-theme" %>

    <%#= stylesheet_link_tag "http://localhost:9393/status.css" %>

    <%= javascript_include_tag  "all", "jquery", "bootstrap" %>
  </head>

  <body class="<%= page_classes %>">

    <div class="container">

      <div class="header container">
        <div class="row">
          <div class="col-md-3">
            <h1>sublab</h1>
          </div>
          <div id="moods" class="col-md-9">
            <%= yield_content :moods %>
          </div>
        </div>
      </div>

      <div class="row">

        <div class="col-md-3">
          <%= partial "navigation" %>
          <hr />
          <%= partial "banner" %>
          <hr />
          <%= partial "status" %>
        </div>

        <div class="col-md-9">
          <%= yield %>
        </div>

      </div> <!-- end main row -->

    </div> <!-- end container -->
  </body>
</html>