# HG changeset patch # User BenoƮt Allard # Date 1414073910 -7200 # Node ID 67c4b299736e49d9740c0835e67bd625c4706a0a # Parent 98cf4a6457f40f037163e843cced724b2249d10c Update look-and-feel diff -r 98cf4a6457f4 -r 67c4b299736e farol/main.py --- a/farol/main.py Fri Oct 17 16:09:09 2014 +0200 +++ b/farol/main.py Thu Oct 23 16:18:30 2014 +0200 @@ -89,7 +89,13 @@ @app.route('/') def welcome(): - return render_template('welcome.j2') + return render_template('welcome.j2', + version=__version__, + imports=[('New', 100), ('CVRF', 100)], + exports=[('CVRF', 100), ('OpenVAS NASL from RHSA', 85), ('OVAL', 5) ], + use_cases=[('Create a security advisory and publish as CVRF', 100), + ('Edit a security advisory in CVRF format', 100)] + ) def set_url(url): try: content = urlopen(url).read() diff -r 98cf4a6457f4 -r 67c4b299736e farol/templates/about.j2 --- a/farol/templates/about.j2 Fri Oct 17 16:09:09 2014 +0200 +++ b/farol/templates/about.j2 Thu Oct 23 16:18:30 2014 +0200 @@ -30,14 +30,12 @@ {% block content %}
-

Security Advisories have existed for ever. Whenever someone discovered a danger, a vulnerability, he immediately started spreading the words about it.

-

In the IT World, each Party involved with security vulnerabilities have its own way of dealing with the matter, and although standards exist they aren't used much to their full extend.

-

This Platform is an attempt at bringing all those worlds together.

-

In the current version, Advisories not currently saved are kept in memory of the running process. If the process terminates, and they are not saved, documents are lost.

+

This web platform offers to review, create, edit and transform security advisories supporting various input and output formats.

+

During your session the advisory is stored in a cache from which you should save your changes to your local file system.

{% if config.DEBUG and not config.DEBUG_SURE %}

Debug Mode

diff -r 98cf4a6457f4 -r 67c4b299736e farol/templates/base.j2 --- a/farol/templates/base.j2 Fri Oct 17 16:09:09 2014 +0200 +++ b/farol/templates/base.j2 Thu Oct 23 16:18:30 2014 +0200 @@ -65,7 +65,7 @@ View Product Tree - {% for name, productid in products %} + {% for name, productid in products | sort %}
  • {{ name }}
  • {% endfor %} @@ -84,15 +84,15 @@ {% if has_current %} {% if error %} - + {% else %} - + {% endif %} {% endif %}