Mercurial > farol > farol
annotate farol/templates/about.j2 @ 176:ce64c60100cc
about: Add link to Wald
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 08 Jan 2015 10:17:39 +0100 |
parents | e8adc0b2c341 |
children |
rev | line source |
---|---|
0 | 1 {# |
2 # Description: | |
3 # Web Template used in Farol Design | |
4 # | |
5 # Authors: | |
6 # BenoƮt Allard <benoit.allard@greenbone.net> | |
7 # | |
8 # Copyright: | |
9 # Copyright (C) 2014 Greenbone Networks GmbH | |
10 # | |
11 # This program is free software; you can redistribute it and/or | |
12 # modify it under the terms of the GNU General Public License | |
13 # as published by the Free Software Foundation; either version 2 | |
14 # of the License, or (at your option) any later version. | |
15 # | |
16 # This program is distributed in the hope that it will be useful, | |
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 # GNU General Public License for more details. | |
20 # | |
21 # You should have received a copy of the GNU General Public License | |
22 # along with this program; if not, write to the Free Software | |
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
24 -#} | |
25 | |
26 {% extends "base.j2" %} | |
27 {% from "macros.j2" import textinput, textarea %} | |
28 | |
147
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
29 {% set active = "about" %} |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
30 |
0 | 31 {% block title %}About{% endblock %} |
32 | |
33 {% block content %} | |
34 <div class="page-header"> | |
147
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
35 <div class="media"> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
36 <div class="media-left"> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
37 <img src="{{ url_for("static", filename="logo_120x120.png") }}"> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
38 </div> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
39 <div class="media-body"> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
40 <h1>Farol</h1> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
41 <h1><small>The Security Advisory Management Platform</small></h1> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
42 </div> |
0f19ece4e7e5
Add logos at multiple places
Benoît Allard <benoit.allard@greenbone.net>
parents:
125
diff
changeset
|
43 </div> |
0 | 44 </div> |
45 | |
46 <div> | |
125
67c4b299736e
Update look-and-feel
Benoît Allard <benoit.allard@greenbone.net>
parents:
23
diff
changeset
|
47 <p>This web platform offers to review, create, edit and transform security advisories supporting various input and output formats.</p> |
67c4b299736e
Update look-and-feel
Benoît Allard <benoit.allard@greenbone.net>
parents:
23
diff
changeset
|
48 <p>During your session the advisory is stored in a cache from which you should save your changes to your local file system.</p> |
1
63b00c10ada8
Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
49 {% if config.DEBUG and not config.DEBUG_SURE %} |
12
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
50 <hr> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
51 <h3 id="debug">Debug Mode</h3> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
52 <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> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
53 <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> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
54 <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> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
55 {% endif %} |
1
63b00c10ada8
Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
56 <hr> |
12
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
57 <h3 id="caching">Document cache</h3> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
58 {% if not caching %} |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
59 <p class="text-muted">Document cache is <strong>disabled</strong> by configuration.</p> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
60 {% elif caching == 'global' %} |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
61 <p>All user share a <strong>global cache</strong>.</p> |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
62 {% else %} |
4219d6fb4c38
Implement three kind of caches
Benoît Allard <benoit.allard@greenbone.net>
parents:
8
diff
changeset
|
63 <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> |
1
63b00c10ada8
Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
64 {% endif %} |
0 | 65 <hr> |
175
e8adc0b2c341
about: Clarify the GPL, and explicitly says it's Free Software
Benoît Allard <benoit.allard@greenbone.net>
parents:
149
diff
changeset
|
66 <p><strong>Farol</strong> is Free Software (<em>Open Source</em>) published under GNU GPL v>=2, and is Copyright © Greenbone Networks GmbH.</p> |
176
ce64c60100cc
about: Add link to Wald
Benoît Allard <benoit.allard@greenbone.net>
parents:
175
diff
changeset
|
67 <p>Development is happening on the <a href="https://wald.intevation.org/projects/farol/">Wald platform</a>.</p> |
149
f2f434eafb66
Always push the footer to the bottom of the page
Benoît Allard <benoit.allard@greenbone.net>
parents:
147
diff
changeset
|
68 {% if session.id %}<span class="text-muted pull-right"><small>SessionID: {{ session.id }}</small></span>{% endif %} |
19
56cab60172ad
Fix issue in text import, Improve display of running versions
Benoît Allard <benoit.allard@greenbone.net>
parents:
15
diff
changeset
|
69 <p class="text-muted"><small>Now running: |
15
f8d51aaac8bc
Display sessionID in about page as well as various versions
Benoît Allard <benoit.allard@greenbone.net>
parents:
12
diff
changeset
|
70 {% for product, version in versions %} |
19
56cab60172ad
Fix issue in text import, Improve display of running versions
Benoît Allard <benoit.allard@greenbone.net>
parents:
15
diff
changeset
|
71 {{ product }}: <tt>{{ version }}</tt>{{ ' / ' if not loop.last }} |
15
f8d51aaac8bc
Display sessionID in about page as well as various versions
Benoît Allard <benoit.allard@greenbone.net>
parents:
12
diff
changeset
|
72 {% endfor %} |
19
56cab60172ad
Fix issue in text import, Improve display of running versions
Benoît Allard <benoit.allard@greenbone.net>
parents:
15
diff
changeset
|
73 </small></p> |
0 | 74 </div> |
75 {% endblock %} |