Blame view

web/view/layout.html.jinja2 5.97 KB
9390ec89   Goutte   Initial experimen...
1
2
3
4
5
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">

0332f168   Goutte   Initial support f...
6
    <title>{% block title %}Welcome{% endblock %} &#9737; {{ config.meta.title }}</title>
9390ec89   Goutte   Initial experimen...
7
8
9
10
11
12
13
14
15
16
17

    <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
    <link rel="stylesheet" type="text/css" href="{{ static('css/main.css') }}">
{% block styles %}{% endblock %}

9390ec89   Goutte   Initial experimen...
25
26
27
28
29
{% block scripts_header %}{% endblock %}
  </head>

  <body>

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

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

8fa9e8e8   Goutte   Hide a CDPP logo ...
34
      <header class="header mdl-layout__header">
f6ed8d85   Goutte   Rework layout as ...
35
        <div class="mdl-layout__header-row">
ca9672f7   hitier   Page title now co...
36
          <span class="mdl-layout-title">{{ config.header.title }}</span>
2a5f0e9b   Goutte   Force UTC. A bit ...
37
{#          <!-- Add spacer, to align navigation to the right -->#}
f6ed8d85   Goutte   Rework layout as ...
38
          <div class="mdl-layout-spacer"></div>
befd6269   Goutte   Add Chris' changes.
39
{#          <!-- Navigation. We hide it in small screens. Do we? -->#}
f6ed8d85   Goutte   Rework layout as ...
40
          <nav class="mdl-navigation mdl-layout--large-screen-only">
befd6269   Goutte   Add Chris' changes.
41
42
43
{% if is_esa %}
            <a class="mdl-navigation__link" href="help.html">HELP</a>
{% else %}
0332f168   Goutte   Initial support f...
44
            <span id="header-description">{{ config.header.description }}</span>
ea6c8d5d   Goutte   Add interval cons...
45
46
47
            <a class="mdl-navigation__link" href="https://onlinelibrary.wiley.com/doi/10.1029/2004JA010959/abstract">Tao's Model</a>
            <a class="mdl-navigation__link" href="http://planetaryspaceweather-europlanet.irap.omp.eu">Planetary Space Weather Services</a>
{#            <a class="mdl-navigation__link" href="https://ec.europa.eu/programmes/horizon2020/">Horizon 2020</a>#}
befd6269   Goutte   Add Chris' changes.
48
{% endif %}
f6ed8d85   Goutte   Rework layout as ...
49
          </nav>
9390ec89   Goutte   Initial experimen...
50
51
52
        </div>
      </header>

80352490   Goutte   Multi model suppo...
53
      <div id="content" class="">
9390ec89   Goutte   Initial experimen...
54
{% block content %}
8856695e   Goutte   Fix layout.
55
        <p>Please override the "content" block in the page template.</p>
9390ec89   Goutte   Initial experimen...
56
{% endblock %}
9390ec89   Goutte   Initial experimen...
57
58
      </div>

f6ed8d85   Goutte   Rework layout as ...
59
      <footer class="mdl-mini-footer">
befd6269   Goutte   Add Chris' changes.
60
{% if is_esa %}
eda50580   Myriam Bouchemit   modifications for...
61
        <div class="mdl-mini-footer__left-section" style="width: 65%;">
6288347a   Goutte   Add the HELP page...
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
          <p class="">
              This web page forms part of the ESA Space Situational Awareness Programme's network of space
              weather service development activities, and is supported under ESA contract
              number 4000113183/15/D/MRP. For further product-related information or enquiries contact
              helpdesk. E-mail: <a href="mailto:helpdesk.swe@ssa.esa.int">helpdesk.swe@ssa.esa.int</a>.
              All publications and presentations using data obtained from this site should acknowledge
              CDPP and the ESA Space Situational Awareness Programme.
              For further information about space weather in the ESA Space Situational Awareness Programme see:
              <a href="http://www.esa.int/spaceweather" target="_blank"> www.esa.int/spaceweather</a>.
              <br/>
              Access the SSA-SWE portal here: <a href="http://swe.ssa.esa.int" target="_blank">swe.ssa.esa.int</a>.
{#              The <a href="http://www.europlanet-2020-ri.eu/">Europlanet 2020 Research Infrastructure</a> project has received funding#}
{#              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.#}
          </p>
        </div>
        <div class="mdl-mini-footer__right-section">
eda50580   Myriam Bouchemit   modifications for...
79
          <a href="http://planetaryspaceweather-europlanet.irap.omp.eu/" target="_blank">
6288347a   Goutte   Add the HELP page...
80
81
82
            <img class="logo" src="{{ static('img/logo/logo_europlanet.png') }}" alt="Europlanet" id="logo_europlanet" />
          </a>
        </div>
befd6269   Goutte   Add Chris' changes.
83
{% else %}
f6ed8d85   Goutte   Rework layout as ...
84
        <div class="mdl-mini-footer__left-section">
1324cc91   Goutte   Make the footer i...
85
          <p style="float: left; margin: 1.5em;">
d729e9cd   Goutte   Cleanup.
86
              <a class="mdl-mini-footer__link" href="https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE">{{ version }}</a>
64a671cd   Goutte   Add an About page.
87
88
              &mdash;
              <a class="mdl-mini-footer__link" href="about.html">About</a>
604616e4   Goutte   Misc changes from...
89
              <br />
1324cc91   Goutte   Make the footer i...
90
91
              {{ visits }} visits since 2017
          </p>
034132c6   Goutte   More changes from...
92
93
        </div>
        <div class="mdl-mini-footer__left-section">
a79c5268   Goutte   Add probes and co...
94
95
          <p class="disclaimer">
              The <a href="http://www.europlanet-2020-ri.eu/">Europlanet 2020 Research Infrastructure</a> project has received funding
a79c5268   Goutte   Add probes and co...
96
97
              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.
a79c5268   Goutte   Add probes and co...
98
          </p>
a79c5268   Goutte   Add probes and co...
99
100
        </div>
        <div class="mdl-mini-footer__right-section">
0af09c17   Goutte   Update the footer...
101
          <a href="http://www.cdpp.eu">
1324cc91   Goutte   Make the footer i...
102
103
            <img class="logo" src="{{ static('img/logo/logo_cdpp.png') }}" alt="CDPP" id="logo_cdpp" />
          </a>
a79c5268   Goutte   Add probes and co...
104
          &nbsp;&nbsp;&nbsp;
1324cc91   Goutte   Make the footer i...
105
106
107
          <a href="http://planetaryspaceweather-europlanet.irap.omp.eu/">
            <img class="logo" src="{{ static('img/logo/logo_europlanet.png') }}" alt="Europlanet" id="logo_europlanet" />
          </a>
f6ed8d85   Goutte   Rework layout as ...
108
        </div>
befd6269   Goutte   Add Chris' changes.
109
{% endif %}
9390ec89   Goutte   Initial experimen...
110
      </footer>
9390ec89   Goutte   Initial experimen...
111
112
    </div>

2a5f0e9b   Goutte   Force UTC. A bit ...
113
    {# Please use enderjs instead of jquery #}
908b4423   Goutte   Bump to a newer j...
114
    <script type="application/javascript" src="{{ static('js/vendor/jquery-3.2.1.min.js') }}"></script>
2a5f0e9b   Goutte   Force UTC. A bit ...
115
    {# Material's js behaves very poorly, performance-wise. #}
326b749d   Goutte   Finally, a decent...
116
    <script type="application/javascript" src="{{ static('js/vendor/material-custom.js') }}"></script>
9390ec89   Goutte   Initial experimen...
117
118
119
120
121
122
    <script type="application/javascript">
      jQuery().ready(function($){ $(".nojs").hide(); });
    </script>
{% block scripts_footer %}{% endblock %}

  </body>
eda50580   Myriam Bouchemit   modifications for...
123
</html>