templates/layouts/main.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Tue, 16 Feb 2016 23:17:21 +0100
changeset 106 97bf7ebb6e44
parent 82 f15cbfb7a8e5
permissions -rw-r--r--
Fix error when a crash is not in a group (invalid crashs mostly)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     1
<!DOCTYPE html>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     2
<html>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     3
  <head>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     4
    <title><%= title %></title>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     5
    <!--[if lt IE 9]>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     6
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     7
    <![endif]-->
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     8
28
0df70b8735e3 Update Twitter bootstrap to 3.2.0
Vincent Tondellier <tonton+hg@team1664.org>
parents: 9
diff changeset
     9
    % if ( $self->app->mode eq 'development'){
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    10
    %= stylesheet '/assets/css/bootstrap.css'
28
0df70b8735e3 Update Twitter bootstrap to 3.2.0
Vincent Tondellier <tonton+hg@team1664.org>
parents: 9
diff changeset
    11
    %} else {
0df70b8735e3 Update Twitter bootstrap to 3.2.0
Vincent Tondellier <tonton+hg@team1664.org>
parents: 9
diff changeset
    12
    %= stylesheet '/assets/css/bootstrap.min.css'
0df70b8735e3 Update Twitter bootstrap to 3.2.0
Vincent Tondellier <tonton+hg@team1664.org>
parents: 9
diff changeset
    13
    %}
82
f15cbfb7a8e5 Split main layout
Vincent Tondellier <tonton+hg@team1664.org>
parents: 72
diff changeset
    14
    %= stylesheet '/mojo/prettify/prettify-mojo-dark.css'
f15cbfb7a8e5 Split main layout
Vincent Tondellier <tonton+hg@team1664.org>
parents: 72
diff changeset
    15
    %= stylesheet '/assets/css/application.css'
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    16
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    17
  </head>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    18
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    19
  <body>
82
f15cbfb7a8e5 Split main layout
Vincent Tondellier <tonton+hg@team1664.org>
parents: 72
diff changeset
    20
    %= include("layouts/_navbar")
9
998910202673 Use fluid layout
Vincent Tondellier <tonton+hg@team1664.org>
parents: 3
diff changeset
    21
    <div class="container-fluid">
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    22
      <%= content_for 'hero_unit' %>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    23
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    24
      <%= content %>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    25
    </div>
3
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    26
    % if ( $self->app->mode eq 'development'){
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    27
    %= javascript '/assets/js/jquery.js'
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    28
    %= javascript '/assets/js/bootstrap.js'
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    29
    %} else {
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    30
    %= javascript '/assets/js/jquery.min.js'
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    31
    %= javascript '/assets/js/bootstrap.min.js'
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    32
    %}
72
ec517ae81b39 Fix path of prettify.js (may need change on != debian)
Vincent Tondellier <tonton+hg@team1664.org>
parents: 66
diff changeset
    33
    %= javascript '/assets/prettify/prettify.js'
3
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 1
diff changeset
    34
    %= javascript '/assets/js/application.js'
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    35
  </body>
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    36
</html>