Mercurial > farol > farol
diff 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 |
line wrap: on
line diff
--- a/farol/templates/welcome.j2 Fri Oct 31 12:00:15 2014 +0100 +++ b/farol/templates/welcome.j2 Fri Oct 31 12:12:48 2014 +0100 @@ -26,6 +26,8 @@ {% extends "base.j2" %} {% from "macros.j2" import panel %} +{% set active = "welcome" %} + {% macro progress_label(progress) -%} <span class="label label- {%- if progress < 70 %}danger{% elif progress < 95 %}warning{% else %}success{% endif -%} @@ -36,9 +38,16 @@ {% block content %} <div class="well well-lg"> - <h1>Farol <small>The Security Advisory Management Platform</small></h1> - <div class="pull-right"><a class="btn btn-primary btn-lg" role="button" href="{{ url_for('new') }}" >Start !</a></div> - <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> + <div class="media"> + <div class="media-left"> + <img src="{{ url_for('static', filename="logo_120x120.png") }}"> + </div> + <div class="media-body"> + <h1 class="media-heading">Farol <small>The Security Advisory Management Platform</small></h1> + <div class="pull-right"><a class="btn btn-primary btn-lg" role="button" href="{{ url_for('new') }}" >Start !</a></div> + <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> + </div> + </div> </div> <div class="row"> <div class="col-sm-9"><img src="{{ url_for('static', filename="flower.png") }}" class="img-responsive img-thumbnail" alt="Security Advisories interactions"></div>