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 @@
{% block navbar_right_content %}
<li>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-download-alt"></span>
Exporter <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li><a id="btn-export-image-png" href="#">PNG</a></li>
<li><a id="btn-export-image-svg" href="#">SVG</a></li>
</ul>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-download-alt"></span>
Exporter <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
{% block navbar_export_options %}
<li><a id="btn-export-image-png" href="#">PNG</a></li>
<li><a id="btn-export-image-svg" href="#">SVG</a></li>
{% endblock navbar_export_options %}
</ul>
</li>
{{ block.super }}
{% endblock %}
......
......@@ -8,6 +8,7 @@
<li class="navbar-text navbar-separator">&nbsp;</li>
{% block navbar_image_mgmt %}
<li>
<span class="btn btn-sm btn-success navbar-btn navbar-btn fileinput-button">
<span class="glyphicon glyphicon-plus"></span>&nbsp;
......@@ -24,6 +25,7 @@
Mes Images
</a>
</li>
{% endblock navbar_image_mgmt %}
{{ block.super }}
......
{% extends "adim/annotation.html" %}
{% 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 #}
......
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