comparison farol/templates/base.j2 @ 1:63b00c10ada8

Add Configuration support, warning when in DEBUG mode, and Deployment instruction
author Benoît Allard <benoit.allard@greenbone.net>
date Wed, 24 Sep 2014 15:04:19 +0200
parents 4a9f23230eba
children bb7334ff114a
comparison
equal deleted inserted replaced
0:4a9f23230eba 1:63b00c10ada8
115 {% endwith %} 115 {% endwith %}
116 <div> 116 <div>
117 <script>$("#error-popover").popover();</script> 117 <script>$("#error-popover").popover();</script>
118 {% block content %}{% endblock %} 118 {% block content %}{% endblock %}
119 </div> 119 </div>
120 {% if config.DEBUG and not config.DEBUG_SURE %}
121 <div class="alert alert-danger"><strong>DEBUG:</strong> This application is running in debug mode. See the <a href="{{ url_for('about', _anchor='debug')}}">about page</a> for more Details</div>
122 {% endif %}
120 </div> 123 </div>
121 <footer class="footer container-fluid"> 124 <footer class="footer container-fluid">
122 <a class="pull-right" href="{{ url_for('about') }}">About ...</a> 125 <a class="pull-right" href="{{ url_for('about') }}">About ...</a>
123 <p class="text-muted">Copyright &copy; 2014 <a href="http://greenbone.net">Greenbone Networks GmbH</a></p> 126 <p class="text-muted">Copyright &copy; 2014 <a href="http://greenbone.net">Greenbone Networks GmbH</a></p>
124 </footer> 127 </footer>

http://farol.wald.intevation.org