comparison farol/main.py @ 161:57b65e7765c1

Add support for the new HTML export format
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 30 Dec 2014 14:30:10 +0100
parents 0a5b5b5549cb
children 07210df10edd
comparison
equal deleted inserted replaced
160:a7ce1660aaaf 161:57b65e7765c1
101 @app.route('/') 101 @app.route('/')
102 def welcome(): 102 def welcome():
103 return render_template('welcome.j2', 103 return render_template('welcome.j2',
104 version=__version__, 104 version=__version__,
105 imports=[('New', 100), ('CVRF', 100)], 105 imports=[('New', 100), ('CVRF', 100)],
106 exports=[('CVRF', 100), ('OpenVAS NASL from RHSA', 85), ('OVAL', 5) ], 106 exports=[('CVRF', 100), ('OpenVAS NASL from RHSA', 85), ('HTML', 80), ('OVAL', 5) ],
107 use_cases=[('Create a security advisory and publish as CVRF', 100), 107 use_cases=[('Create a security advisory and publish as CVRF', 100),
108 ('Edit a security advisory in CVRF format', 100)] 108 ('Edit a security advisory in CVRF format', 100)]
109 ) 109 )
110 110
111 def download_url(url): 111 def download_url(url):

http://farol.wald.intevation.org