base.html 3.64 KB
Newer Older
1
2
3
4
5
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ title }}</title>
6
    {% block scripts %}
7
    <script src="{{ url_for('static', filename='js/jquery-3.2.1.min.js') }}" type="text/JavaScript"></script>
Floreal Cabanettes's avatar
Floreal Cabanettes committed
8
9
    <script src="{{ url_for('static', filename='js/popper.min.js') }}" type="text/JavaScript"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}" type="text/JavaScript"></script>
10
    {% endblock %}
Floreal Cabanettes's avatar
Floreal Cabanettes committed
11
12
13
14
15
    <link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" type="text/css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-theme.min.css') }}" type="text/css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
    <link rel="shortcut icon" href="{{ url_for('static', filename='images/favicon.ico') }}">
16
</head>
Floreal Cabanettes's avatar
Floreal Cabanettes committed
17
<body role="document" onload="{% block onload %}{% endblock %}">
18
{% block body %}
Floreal Cabanettes's avatar
Floreal Cabanettes 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
    <!-- Fixed navbar -->
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">D-GENIES</a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="{% if(menu == 'index') %}active{% endif %}"><a href="/">About</a></li>
                    <li class="{% if(menu == 'run') %}active{% endif %}"><a href="/run">Run</a></li>
                    <li class="dropdown {% if(menu == 'results') %}active{% endif %}">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Results<span
                                class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            {% block results %}
                                <li><a href="#">Please run a job!</a></li>
                            {% endblock %}
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation<span
                                class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Launch a job</a></li>
                            <li><a href="#">Zoom</a></li>
                            <li><a href="#">Filter data</a></li>
                        </ul>
                    </li>
                    <li><a href="mailto:support.genopole@toulouse.inra.fr">Contact</a></li>
                </ul>
            </div><!--/.nav-collapse -->
        </div>
58
    </div>
59
    <div class="container theme-showcase" id="body-container" role="main">
Floreal Cabanettes's avatar
Floreal Cabanettes committed
60
61
62
63
64
65
66
67
68
69
70
71
72

        {% block content %}
        {% endblock %}

        <hr>
        <footer>
            <div class="container" style="text-align: center;">
                <p>Copyright © 2017, INRA | Designed by <a target="_blank" href="http://bioinfo.genotoul.fr/">GenoToul
                    Bioinfo platform</a>.</p>
            </div>
        </footer>

    </div> <!-- /container -->
73
74
75
{% endblock %}
</body>
</html>