Commit c6b1701f authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Minor polishing.

parent 60716ad4
......@@ -2,7 +2,7 @@
"""
# @auth.requires_login()
@auth.requires_login()
def index():
# login procedure is active
......
......@@ -91,9 +91,12 @@ db.publications._before_delete.append(INHIBIT_PUBLICATION_DELETE_ON_OK)
db.publications._before_insert.append(INHIBIT_DUPLICATE_PUBLICATION)
db.publications._before_update.append(INHIBIT_PUBLICATION_UPDATE_ON_OK)
db.publications.authors.filter_in = dbui.CLEAN_COMMA
db.publications.authors_cppm.filter_in = dbui.CLEAN_COMMA
db.publications.conference_title.filter_in = dbui.CLEAN_SPACES
db.publications.conference_town.filter_in = dbui.CLEAN_SPACES
db.publications.defense.filter_in = filters.CLEAN_THESIS_DEFENSE
db.publications.first_author.filter_in = dbui.CLEAN_COMMA
db.publications.title.filter_in = dbui.CLEAN_SPACES
db.publications.authors.requires = IS_LENGTH(65535)
......
......@@ -21,7 +21,7 @@ virtdb.list_selector.id_categories.requires = IS_IN_DB(db, 'categories.code')
virtdb.list_selector.id_lists.requires = IS_IN_DB(db, 'lists.list')
virtdb.list_selector.id_projects.requires = IS_IN_DB(db, 'projects.project')
virtdb.list_selector.id_teams.requires = IS_IN_DB(db, 'teams.team')
virtdb.list_selector.format.requires = IS_IN_SET(['html', 'tex', 'pdf'])
virtdb.list_selector.format.requires = IS_IN_SET(['html', 'pdf', 'tex'])
#-------------------------------------------------------------------------------
#
......
......@@ -189,6 +189,8 @@ nodes = [helpNode,
viewportModifier = dbui.ViewportModifier()
viewportModifier.add_node(*nodes)
viewportModifier.configure(tabTitleTpl="{1}")
# NOTE the session.auth only exit when the user is logged
if "auth" in globals():
viewportModifier.configure(logged=False,
......
......@@ -18,7 +18,7 @@ def compare_html(id1, id2):
@param id2: second publication idenfier
@rtype: str
@retrun:
@return:
- string containing the table using the HTML syntax
- The table has one row per publication field
- Only difference are shown
......
......@@ -44,8 +44,12 @@
<h3 class="my-h3 my-small-cap">Composants logiciel open source</h3>
<p class="my-p">Ce logiciel s'appuit sur les logiciels open source suivant :</p>
<br>
<ul class="my-ul">
<li class="my-li">
<a href="http://ace.c9.io/#nav=about" target="_blank">
Ace
</a>
</li>
<li class="my-li">
<a href="http://www.sencha.com/" target="_blank">
Ext JS
......@@ -83,7 +87,6 @@
<h3 class="my-h3 my-small-cap">Licence</h3>
<p class="my-p">Ce logiciel est distribué sous la licence opence source
<a href="http://www.cecill.info/" target="_blank">CeCILL</a>.</p>
<br>
<p class="my-p">&copy; 2010 - 2014 Renaud Le Gac</p>
</body>
......
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