Commit 1ec0a15c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the user guides nodes and the first version of list-metric-graph guide.

parent aca48336
""" Controllers """
def guides():
"""Main controller to give access to the user guides.
return dict()
# @auth.requires_login()
def index():
"""Main Controller to run the application launching the plugin dbui.
......@@ -69,6 +69,7 @@
'Data people': 'Les données des personnes',
'Database field encoded as tablename.fieldname.': 'Champ de la base de donnée encodé tablename.fieldname.',
'database schema': 'schéma de la base de données',
'Database scheme': 'Schéma de la base de données',
'Define a crude model for the data block associated to each event. The model contains a list of properties. A type is defined to each property or a default value. Valid types are boolean, date, number and string.': 'Defini le modèle du bloc de données associé à chaque évènement. Le modèle contiens une liste de propriétés. Un type est défini pour chaque propriété ou une valeur par défault. Les types sont boolean, date, number et string.',
'Defined a year or a time period !!!': 'Defined a year or a time period !!!',
'Definition': 'Définition',
......@@ -198,6 +199,7 @@
'List of people ': 'Liste des personnes ',
'List of responsibilities': 'Liste des responsabilités',
'List of trainee': 'Liste des stagiaires',
'List, metric and graph': 'Liste, métrique et graphe',
'Liste': 'Liste',
'Lists': 'Listes',
'Logged in': 'Logged in',
......@@ -279,6 +281,7 @@
'Select a teams and/or a project !!!': 'Select a teams and/or a project !!!',
'select...': 'selectionner...',
'since %s': 'depuis %s',
'software': 'logiciels',
'Software versions': 'Versions des logiciels',
'sorters': 'sorters',
'Sorters': 'Sorters',
......@@ -321,6 +324,8 @@
'User %(id)s Logged-in': 'User %(id)s Logged-in',
'User %(id)s Registered': 'User %(id)s Registered',
'User data': 'User data',
'user guides': 'guides utilisateur',
'User guides': 'Guides utilisateur',
'User ID': 'User ID',
'Usual': 'Habituel',
'Value already in database or empty': 'Value already in database or empty',
......@@ -42,6 +42,12 @@ loader = dict(autoLoad=True,
docLeaf = Panel(loader=loader, plugins=['pPanelLoaderException'], autoScroll=True)
loader = dict(autoLoad=True,
url=URL('default', 'guides'))
guideLeaf = Panel(loader=loader, plugins=['pPanelLoaderException'])
loader = dict(autoLoad=True,
......@@ -51,7 +57,8 @@ versionLeaf = Panel(loader=loader, plugins=['pPanelLoaderException'])
helpNode = Node(T('Help'))
helpNode.add_child(T('about'), aboutLeaf)
helpNode.add_child(T('documentations'), docLeaf)
helpNode.add_child(T('software'), docLeaf)
helpNode.add_child(T('user guides'), guideLeaf)
helpNode.add_child(T('versions'), versionLeaf)
This diff is collapsed.
<h2 class="dbui-h2 dbui-small-cap">{{=T("User guides")}}</h2>
<li class="dbui-p">
<a href="/{{=request.application}}/static/docs/guides/list-metric-graph.pdf" target="_blank">
{{=T("List, metric and graph")}}
<li class="dbui-p">
<a href="/{{=request.application}}/static/docs/database.png" target='_blank'>
{{=T("Database scheme")}}
\ No newline at end of file
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