base.html 2.41 KB
Newer Older
rgaudin's avatar
rgaudin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <title>{{ hotspot_name }}</title>
        <link rel="icon" href="/hotspot-static/branding/favicon.png">
        <link rel="stylesheet" href="/hotspot-static/font-awesome/css/font-awesome.min.css" />
        <!--[if lte IE 8]>
            <link rel="stylesheet" type="text/css" href="/hotspot-static/purecss/pure-css-grids-old-ie-min.css">
        <![endif]-->
        <!--[if gt IE 8]><!-->
            <link rel="stylesheet" type="text/css" href="/hotspot-static/purecss/pure-css-grids-min.css">
        <!--<![endif]-->
        <link rel="stylesheet" type="text/css" href="/hotspot-static/main.css" />
        <link rel="stylesheet" type="text/css" href="/hotspot-static/branding/style.css" />
        <script src="/hotspot-static/clipboard.min.js"></script>
18
        <style type="text/css">ul { list-style-type: initial; padding-left: 1em; }</style>
rgaudin's avatar
rgaudin committed
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
56
57
58
59
60
61
62
63
64
65
66
67
68
    </head>
    <body class="">
        <header>
            <section>
              <a href="/">
                <h1>
                  <img src="/hotspot-static/branding/logo.png"></img>
                </h1>
              </a>
              <span class="boxid">{{ project_name }}!</span>
            </section>
        </header>
        <div class="content">
        	{% block content %}{% endblock %}
		</div>
		<footer>
            <div class="row">
                <div class="col third i18n_switch"></div>
                <div class="col half"></div>
            </div>
        </footer>
        <script type="text/javascript">
(function(exports, d) {
  function domReady(fn, context) {

    function onReady(event) {
      d.removeEventListener("DOMContentLoaded", onReady);
      fn.call(context || exports, event);
    }

    function onReadyIe(event) {
      if (d.readyState === "complete") {
        d.detachEvent("onreadystatechange", onReadyIe);
        fn.call(context || exports, event);
      }
    }

    d.addEventListener && d.addEventListener("DOMContentLoaded", onReady) ||
    d.attachEvent      && d.attachEvent("onreadystatechange", onReadyIe);
  }

  exports.domReady = domReady;
})(window, document);
        </script>
        <script type="text/javascript">domReady(function(event) {
        new ClipboardJS('.clipboard');
        {% block js %}{% endblock %}
    });</script>
    </body>
</html>