diff farol/main.py @ 125:67c4b299736e

Update look-and-feel
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 23 Oct 2014 16:18:30 +0200
parents 65341d05a8f8
children 75c053bf2c3a
line wrap: on
line diff
--- 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()

http://farol.wald.intevation.org