Commit a1b4ae15 authored by Pierre Dittgen's avatar Pierre Dittgen

Add beta tag to the website

parent c0437e1d
{% extends "base_template.html" %}
{% block title %}{{ title }}{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<ul>
<li>Conception : <a href="http://www.opendatafrance.net/">OpenDataFrance</a></li>
<li>Réalisation : <a href="https://jailbreak.paris/">Jailbreak</a></li>
</ul>
{% endblock %}
\ No newline at end of file
......@@ -25,19 +25,9 @@
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li><span class="muted" title="Ce service est encore en cours de développement">beta</span></li>
</ul>
<ul class="navbar-nav">
{#
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Aide
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="{{ url_for('about') }}">À propos</a>
</div>
</li>
#}
</ul>
</div>
</nav>
......@@ -77,7 +67,8 @@
{% block footer %}{% endblock %}
<footer class="footer">
<div class="container">
<span class="muted">Une réalisation de <a href="http://www.opendatafrance.net/">Opendata France</a> avec
<span class="muted">Un service de validation mis à disposition par <a href="http://www.opendatafrance.net/">Opendata
France</a> avec
l'aide de <a href="https://jailbreak.paris">JailBreak</a></span>
</div>
</footer>
......
......@@ -224,16 +224,10 @@ def bytes_data(f):
def home():
""" Home page """
validators = ValidatorHelper.schema_info_list()
flash_warning('Ce service est fourni en mode beta - certains problèmes peuvent subsister - nous mettons tout en œuvre pour améliorer son fonctionnement en continu')
return render_template('home.html', title='Accueil', validators=validators)
@app.route('/about')
def about():
""" Help -> About page """
return render_template('about.html', title='À propos',
breadcrumbs=[{'url': url_for('home'), 'title': 'Accueil'}, ])
@app.route('/validators')
def validators():
""" No validators page """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment