view farol/templates/about.j2 @ 125:67c4b299736e

Update look-and-feel
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 23 Oct 2014 16:18:30 +0200
parents e410f6f0f80f
children 0f19ece4e7e5
line wrap: on
line source
{#
# Description:
# Web Template used in Farol Design
#
# Authors:
# BenoƮt Allard <benoit.allard@greenbone.net>
#
# Copyright:
# Copyright (C) 2014 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-#}

{% extends "base.j2" %}
{% from "macros.j2" import textinput, textarea %}

{% block title %}About{% endblock %}

{% block content %}
<div class="page-header">
<h1>Farol <small>The Security Advisory Management Platform</small></h1>
</div>

<div>
  <p>This web platform offers to review, create, edit and transform security advisories supporting various input and output formats.</p>
  <p>During your session the advisory is stored in a cache from which you should save your changes to your local file system.</p>
  {% if config.DEBUG and not config.DEBUG_SURE %}
    <hr>
    <h3 id="debug">Debug Mode</h3>
    <p>Your application is Running in Debug mode. While this might be a choice you made, this is not suitable for Production deployment. The <a href="/console">console</a> is an example of unsafe debug facilities.</p>
    <p>You can turn the Debug mode off by setting <code>DEBUG=False</code> in the configuration file located at the following path: <code>{{ instance_dir }}/farol.cfg</code>.</p>
    <p>If you want to remove this message and the DEBUG Footer alert, but still want to keep the Debug mode on, just set <code>DEBUG_SURE=True</code> in your configuration file.</p>
  {% endif %}
  <hr>
  <h3 id="caching">Document cache</h3>
  {% if not caching %}
    <p class="text-muted">Document cache is <strong>disabled</strong> by configuration.</p>
  {% elif caching == 'global' %}
    <p>All user share a <strong>global cache</strong>.</p>
  {% else %}
    <p>Each session have a <strong>private cache</strong>, sessions are bound to a browser <em>session</em>. They are usually reset when the browser is restarted.</p>
  {% endif %}
  <hr>
  <p><strong>Farol</strong> is published under GPLv2+, and is Copyright &copy; Greenbone Networks GmbH.</p>
  <span class="text-muted pull-right"><small>SessionID: {{ session.get('id', '') }}</small></span>
  <p class="text-muted"><small>Now running:
  {% for product, version in versions %}
    {{ product }}: <tt>{{ version }}</tt>{{ ' / '  if not loop.last }}
  {% endfor %}
</small></p>
</div>
{% endblock %}

http://farol.wald.intevation.org