Gitlab CSE Unil

Commit 3f0682fe authored by Julien Furrer's avatar Julien Furrer
Browse files

Env CIMAF: petits ajustements

ajouté option d'export CSV pour le tab analyse
déactivé accès à "Mes Images" et "Nouvelle Image" dans navigation
parent 67a85396
...@@ -16,14 +16,16 @@ ...@@ -16,14 +16,16 @@
{% block navbar_right_content %} {% block navbar_right_content %}
<li> <li>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-download-alt"></span> <span class="glyphicon glyphicon-download-alt"></span>
Exporter <span class="caret"></span> Exporter <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
<li><a id="btn-export-image-png" href="#">PNG</a></li> {% block navbar_export_options %}
<li><a id="btn-export-image-svg" href="#">SVG</a></li> <li><a id="btn-export-image-png" href="#">PNG</a></li>
</ul> <li><a id="btn-export-image-svg" href="#">SVG</a></li>
{% endblock navbar_export_options %}
</ul>
</li> </li>
{{ block.super }} {{ block.super }}
{% endblock %} {% endblock %}
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<li class="navbar-text navbar-separator">&nbsp;</li> <li class="navbar-text navbar-separator">&nbsp;</li>
{% block navbar_image_mgmt %}
<li> <li>
<span class="btn btn-sm btn-success navbar-btn navbar-btn fileinput-button"> <span class="btn btn-sm btn-success navbar-btn navbar-btn fileinput-button">
<span class="glyphicon glyphicon-plus"></span>&nbsp; <span class="glyphicon glyphicon-plus"></span>&nbsp;
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
Mes Images Mes Images
</a> </a>
</li> </li>
{% endblock navbar_image_mgmt %}
{{ block.super }} {{ block.super }}
......
{% extends "adim/annotation.html" %} {% extends "adim/annotation.html" %}
{% load static i18n %} {% load static i18n %}
{# ================== #}
{# ADJUST MAIN NAVBAR #}
{# ================== #}
{# Add exportation options for specific data #}
{% block navbar_export_options %}
{{ block.super }}
<li class="divider"></li>
<li class="disabled"><a id="btn-export-cimaf-csv" href="#">CSV</a></li>
{% endblock navbar_export_options %}
{# Disable New Image button and Image Manager button as they are not accessible in analysis mode #}
{% block navbar_image_mgmt %}
<li>
<span class="btn btn-sm btn-success navbar-btn navbar-btn fileinput-button disabled">
<span class="glyphicon glyphicon-plus"></span>&nbsp;
<span>Nouvelle image</span>
</span>
</li>
<li class="disabled">
<a href="#" id="aom-show-but" class="aom-show-but">
<span class="glyphicon glyphicon-th"></span>
Mes Images
</a>
</li>
{% endblock navbar_image_mgmt %}
{# ================ #} {# ================ #}
{# MAIN TOP TAB-BAR #} {# MAIN TOP TAB-BAR #}
......
Supports Markdown
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