benoit@0: {# benoit@0: # Description: benoit@0: # Web Template used in Farol Design benoit@0: # benoit@0: # Authors: benoit@0: # BenoƮt Allard benoit@0: # benoit@0: # Copyright: benoit@0: # Copyright (C) 2014 Greenbone Networks GmbH benoit@0: # benoit@0: # This program is free software; you can redistribute it and/or benoit@0: # modify it under the terms of the GNU General Public License benoit@0: # as published by the Free Software Foundation; either version 2 benoit@0: # of the License, or (at your option) any later version. benoit@0: # benoit@0: # This program is distributed in the hope that it will be useful, benoit@0: # but WITHOUT ANY WARRANTY; without even the implied warranty of benoit@0: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the benoit@0: # GNU General Public License for more details. benoit@0: # benoit@0: # You should have received a copy of the GNU General Public License benoit@0: # along with this program; if not, write to the Free Software benoit@0: # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. benoit@0: -#} benoit@0: benoit@140: {% extends "layout.j2" %} benoit@140: benoit@102: {% from "macros.j2" import modal, POST_button -%} benoit@102: benoit@140: {% block navbar %} benoit@140: {% if has_current %} benoit@140: Document benoit@140: {% endif %} benoit@140: {% if products %} benoit@140: benoit@140: {% endif %} benoit@140: {% if vulnerabilities %} benoit@140: benoit@140: {% endif %} benoit@140: {% if has_current %} benoit@140:
  • benoit@140: {% if error %} benoit@140: benoit@140: {% else %} benoit@140: benoit@140: {% endif %} benoit@140:
  • benoit@140: {% endif %} benoit@140: {% endblock %} benoit@0: benoit@140: {% block navbar_right %} benoit@140: {% if has_current %} benoit@140: benoit@140: {% endif %} benoit@140: {% if caching %} benoit@140: benoit@140: {% endif %} benoit@140: {% endblock %} benoit@140: benoit@140: {% block pre_content %} benoit@102: {% if has_current %} benoit@102: {% for element in cache %} benoit@102: {# Put the modals for the load action here #} benoit@102: {% call modal(element + '_modal', 'Load %s from cache' % element) %} benoit@102:

    You asked to load {{ element }}, your changes to {{ current_id }} will be lost.

    benoit@102:

    Do you want to save {{ current_id }} first ?

    benoit@102: benoit@102: