comparison farol/templates/welcome.j2 @ 147:0f19ece4e7e5

Add logos at multiple places
author Benoît Allard <benoit.allard@greenbone.net>
date Fri, 31 Oct 2014 12:12:48 +0100
parents 67c4b299736e
children 3b93e8e7876b
comparison
equal deleted inserted replaced
146:105bb08570ed 147:0f19ece4e7e5
24 -#} 24 -#}
25 25
26 {% extends "base.j2" %} 26 {% extends "base.j2" %}
27 {% from "macros.j2" import panel %} 27 {% from "macros.j2" import panel %}
28 28
29 {% set active = "welcome" %}
30
29 {% macro progress_label(progress) -%} 31 {% macro progress_label(progress) -%}
30 <span class="label label- 32 <span class="label label-
31 {%- if progress < 70 %}danger{% elif progress < 95 %}warning{% else %}success{% endif -%} 33 {%- if progress < 70 %}danger{% elif progress < 95 %}warning{% else %}success{% endif -%}
32 ">{{ progress }}%</span> 34 ">{{ progress }}%</span>
33 {%- endmacro %} 35 {%- endmacro %}
34 36
35 {% block title %}Welcome{% endblock %} 37 {% block title %}Welcome{% endblock %}
36 38
37 {% block content %} 39 {% block content %}
38 <div class="well well-lg"> 40 <div class="well well-lg">
39 <h1>Farol <small>The Security Advisory Management Platform</small></h1> 41 <div class="media">
40 <div class="pull-right"><a class="btn btn-primary btn-lg" role="button" href="{{ url_for('new') }}" >Start !</a></div> 42 <div class="media-left">
41 <p>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.</p> 43 <img src="{{ url_for('static', filename="logo_120x120.png") }}">
44 </div>
45 <div class="media-body">
46 <h1 class="media-heading">Farol <small>The Security Advisory Management Platform</small></h1>
47 <div class="pull-right"><a class="btn btn-primary btn-lg" role="button" href="{{ url_for('new') }}" >Start !</a></div>
48 <p>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.</p>
49 </div>
50 </div>
42 </div> 51 </div>
43 <div class="row"> 52 <div class="row">
44 <div class="col-sm-9"><img src="{{ url_for('static', filename="flower.png") }}" class="img-responsive img-thumbnail" alt="Security Advisories interactions"></div> 53 <div class="col-sm-9"><img src="{{ url_for('static', filename="flower.png") }}" class="img-responsive img-thumbnail" alt="Security Advisories interactions"></div>
45 <div class="col-sm-3"> 54 <div class="col-sm-3">
46 {% call panel(heading="Platform status", collapsible=False) %} 55 {% call panel(heading="Platform status", collapsible=False) %}

http://farol.wald.intevation.org