Blame view

web/view/layout.html.jinja2 4.57 KB
9390ec89   Goutte   Initial experimen...
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">

    <title>{% block title %}Welcome{% endblock %} &mdash; {{ config.meta.title }}</title>

    <meta name="description" content="{{ config.meta.description }}">
    <meta name="keywords"    content="{{ config.meta.keywords | join(', ') }}">
{% for author in config.authors | shuffle %}
    <meta name="author"      content="{{ author.name }} <{{ author.mail }}>">
{% endfor %}

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="shortcut icon" href="{{ static('img/favicon.ico') }}">

c42fea3a   Goutte   Rework the CSS wi...
18
    <link href="https://fonts.googleapis.com/css?family=Baumans" rel="stylesheet">
80352490   Goutte   Multi model suppo...
19
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
23110c4a   Goutte   Add icons to the ...
20
    <link rel="stylesheet" type="text/css" href="{{ static('css/font-awesome.min.css') }}">
84cb553d   Goutte   Move to material ...
21
    <link rel="stylesheet" type="text/css" href="{{ static('css/material.min.css') }}">
9390ec89   Goutte   Initial experimen...
22
23
24
25
26
27
28
29
30
31
32
    <link rel="stylesheet" type="text/css" href="{{ static('css/main.css') }}">
{% block styles %}{% endblock %}

{#    <script type="text/javascript">#}
{#      // Good javascript is no javascript -- hurray! \o/#}
{#    </script>#}
{% block scripts_header %}{% endblock %}
  </head>

  <body>

05e269d1   Goutte   Show an error mes...
33
34
    <div id="nojs-alert" class="nojs">Heliopropa requires javascript. </div>

80352490   Goutte   Multi model suppo...
35
    <div id="page-container" class="mdl-layout mdl-layout--fixed-header container">
9390ec89   Goutte   Initial experimen...
36

8fa9e8e8   Goutte   Hide a CDPP logo ...
37
      <header class="header mdl-layout__header">
f6ed8d85   Goutte   Rework layout as ...
38
        <div class="mdl-layout__header-row">
a21f81d9   Goutte   Enable Venus and ...
39
          <span class="mdl-layout-title">CDPP / Heliopropa</span>
f6ed8d85   Goutte   Rework layout as ...
40
41
42
43
          <!-- Add spacer, to align navigation to the right -->
          <div class="mdl-layout-spacer"></div>
          <!-- Navigation. We hide it in small screens. -->
          <nav class="mdl-navigation mdl-layout--large-screen-only">
23110c4a   Goutte   Add icons to the ...
44
            <a class="mdl-navigation__link" href="https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE">v{{ version }}</a>
6491a1f1   Goutte   Fix up the bugs l...
45
            <a class="mdl-navigation__link" href="https://onlinelibrary.wiley.com/doi/10.1029/2004JA010959/abstract">Model</a>
6f9a3852   Goutte   Hide time series ...
46
            <a class="mdl-navigation__link" href="https://ec.europa.eu/programmes/horizon2020/">Horizon 2020</a>
f6ed8d85   Goutte   Rework layout as ...
47
          </nav>
9390ec89   Goutte   Initial experimen...
48
49
50
        </div>
      </header>

05e269d1   Goutte   Show an error mes...
51
{#      <div class="">#}
c42fea3a   Goutte   Rework the CSS wi...
52
53
54
55
56
57
58
59
60
61
{#        <nav id="menu" role="navigation">#}
{#          <ul>#}
{#            <li class="home{% if menu_section == 'home' %} active{% endif %}">#}
{#              <a href="index.html"></a>#}
{#            </li>#}
{#            <li{% if menu_section == 'authors' %} class="active"{% endif %}>#}
{#              <a href="authors.html">Authors</a>#}
{#            </li>#}
{#          </ul>#}
{#        </nav>#}
05e269d1   Goutte   Show an error mes...
62
{#      </div>#}
8856695e   Goutte   Fix layout.
63

80352490   Goutte   Multi model suppo...
64
      <div id="content" class="">
9390ec89   Goutte   Initial experimen...
65
{% block content %}
8856695e   Goutte   Fix layout.
66
        <p>Please override the "content" block in the page template.</p>
9390ec89   Goutte   Initial experimen...
67
{% endblock %}
9390ec89   Goutte   Initial experimen...
68
69
      </div>

f6ed8d85   Goutte   Rework layout as ...
70
71
      <footer class="mdl-mini-footer">
        <div class="mdl-mini-footer__left-section">
a79c5268   Goutte   Add probes and co...
72
73
74
75
76
          <p class="disclaimer">
              The <a href="http://www.europlanet-2020-ri.eu/">Europlanet 2020 Research Infrastructure</a> project has received funding
              <br>
              from the <a href="https://ec.europa.eu/programmes/horizon2020/">European Union's Horizon 2020</a> research and innovation programme
              under grant agreement N°&nbsp;654208.
23110c4a   Goutte   Add icons to the ...
77
78
              <br>
              {{ visits }} visits since 2017
a79c5268   Goutte   Add probes and co...
79
          </p>
a79c5268   Goutte   Add probes and co...
80
81
82
83
84
        </div>
        <div class="mdl-mini-footer__right-section">
          <img class="logo" src="{{ static('img/logo/logo_cdpp.png') }}" alt="CDPP" id="logo_cdpp" />
          &nbsp;&nbsp;&nbsp;
          <img class="logo" src="{{ static('img/logo/logo_europlanet.png') }}" alt="Europlanet" id="logo_europlanet" />
f6ed8d85   Goutte   Rework layout as ...
85
        </div>
9390ec89   Goutte   Initial experimen...
86
      </footer>
f6ed8d85   Goutte   Rework layout as ...
87

9390ec89   Goutte   Initial experimen...
88
89
    </div>

908b4423   Goutte   Bump to a newer j...
90
91
92
93
94
95
96
97
98
99
100
{#    <script type="application/javascript">#}
{#      // fixme: GOOGLE ANALYTICS ?#}
{#      /*#}
{#      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){#}
{#      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),#}
{#      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)#}
{#      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');#}
{#      ga('create', 'UA-56037907-1', 'auto');#}
{#      ga('send', 'pageview');#}
{#      */#}
{#    </script>#}
9390ec89   Goutte   Initial experimen...
101

908b4423   Goutte   Bump to a newer j...
102
    <script type="application/javascript" src="{{ static('js/vendor/jquery-3.2.1.min.js') }}"></script>
80352490   Goutte   Multi model suppo...
103
    <script type="application/javascript" src="{{ static('js/vendor/material-custom.js') }}"></script>
9390ec89   Goutte   Initial experimen...
104
105
106
107
108
109
110
    <script type="application/javascript">
      jQuery().ready(function($){ $(".nojs").hide(); });
    </script>
{% block scripts_footer %}{% endblock %}

  </body>
</html>