blob: fb5ff5bdfef3ba23535dbd9fefbf8235f5ca1332 [file] [log] [blame]
Fatih Degirmencic2a46012019-09-30 12:07:45 +02001{% extends 'bootstrap/base.html' %}
2
3{% block title %}
4 {% if title %}{{ title }}{% else %}Nordix Open Labs{% endif %}
5{% endblock %}
6
7{% block navbar %}
Fatih Degirmenci64fea9e2019-09-30 18:44:31 +00008 <nav class="navbar navbar-default navbar-fixed-top">
Fatih Degirmencic2a46012019-09-30 12:07:45 +02009 <div class="container">
Fatih Degirmenciab2fb832019-10-01 09:06:40 +000010
11 <div class="navbar-header">
12 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
13 <span class="icon-bar"></span>
14 <span class="icon-bar"></span>
15 <span class="icon-bar"></span>
16 </button>
17 </div>
18
Fatih Degirmencic2a46012019-09-30 12:07:45 +020019 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
20 <ul class="nav navbar-nav navbar-left">
21 <li><a href="{{ url_for('main.index') }}">Home</a></li>
Fatih Degirmencid2d4c4d2019-10-02 12:20:17 +000022 <li><a href="{{ url_for('main.gettingstarted') }}">Getting Started</a></li>
Fatih Degirmencie4651802019-10-01 07:58:33 +000023 <li><a href="{{ url_for('main.blog') }}">Blog</a></li>
Fatih Degirmencif3732352019-10-01 08:18:37 +000024 <li><a href="{{ url_for('main.thelabs') }}">The Labs</a></li>
Fatih Degirmencic2a46012019-09-30 12:07:45 +020025 <li><a href="{{ url_for('main.software') }}">Software</a></li>
Fatih Degirmenci88963932019-09-30 14:08:18 +000026 <!-- <li><a href="{{ url_for('main.stats') }}">Statistics</a></li> -->
Fatih Degirmencic2a46012019-09-30 12:07:45 +020027 <li><a href="{{ url_for('main.faq') }}">FAQ</a></li>
28 </ul>
29 <ul class="nav navbar-nav navbar-right">
30 {% if current_user.is_anonymous %}
31 <li><a href="{{ url_for('user.register') }}">Register</a></li>
32 <li><a href="{{ url_for('user.login') }}">Login</a></li>
33 {% else %}
34 <li><a href="{{ url_for('user.profile', username=current_user.username) }}">Profile</a></li>
35 <li><a href="{{ url_for('booking.newbooking', username=current_user.username) }}">New Booking</a></li>
36 <li><a href="{{ url_for('booking.bookings', username=current_user.username) }}">My Bookings</a></li>
37 <li><a href="{{ url_for('user.logout') }}">Logout</a></li>
38 {% endif %}
39 </ul>
40 </div>
41 </div>
42
43 <div class="navbar navbar-default navbar-fixed-bottom">
44 <div class="container">
45 <p class="text-ad" style="text-align:center;">Powered by <a href="https://www.openstack.org/" target="_blank">OpenStack</a>.&nbsp&nbsp&nbspHosted on <a href="https://www.citynetwork.eu/" target="_blank">City Network</a>.&nbsp&nbsp&nbspIn collaboration with <a href="https://www.est.tech/" target="_blank">Ericsson Software Technology</a>.</p>
46 </div>
47 </div>
48 </nav>
49{% endblock %}
50
51{% block content %}
Fatih Degirmenci64fea9e2019-09-30 18:44:31 +000052 <div class="jumbotron" style="background:white">
53 </div>
Fatih Degirmencic2a46012019-09-30 12:07:45 +020054 <div class="container">
55 <div class="jumbotron">
56 <center>
57 <a href="https://www.nordix.org/" target="_blank">
58 <img src="/static/images/nordix-logo.png" alt="https://www.nordix.org/" style="width:100px;height:100px;" />
59 </a>
60 <h2><b><font color="black">[nolabs]</font></b></h2>
61 </center>
62 </div>
63
Fatih Degirmenci64fea9e2019-09-30 18:44:31 +000064 {% with messages = get_flashed_messages(with_categories=true) %}
Fatih Degirmencic2a46012019-09-30 12:07:45 +020065 {% if messages %}
Fatih Degirmenci64fea9e2019-09-30 18:44:31 +000066 {% for category, message in messages %}
67 <div class="alert alert-{{ category }}" role="alert">{{ message }}</div>
Fatih Degirmencic2a46012019-09-30 12:07:45 +020068 {% endfor %}
69 {% endif %}
70 {% endwith %}
71 {# application content needs to be provided in the app_content block #}
72 {% block app_content %}{% endblock %}
73 </div>
74{%- endblock %}