Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
validata-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
20
Issues
20
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Validata
validata-ui
Commits
a1b4ae15
Commit
a1b4ae15
authored
Oct 04, 2018
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add beta tag to the website
parent
c0437e1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
31 deletions
+4
-31
validata_ui_next/templates/about.html
validata_ui_next/templates/about.html
+0
-12
validata_ui_next/templates/base_template.html
validata_ui_next/templates/base_template.html
+3
-12
validata_ui_next/views.py
validata_ui_next/views.py
+1
-7
No files found.
validata_ui_next/templates/about.html
deleted
100644 → 0
View file @
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
validata_ui_next/templates/base_template.html
View file @
a1b4ae15
...
...
@@ -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>
...
...
validata_ui_next/views.py
View file @
a1b4ae15
...
...
@@ -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 """
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment