aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:52 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:52 +0000
commitd943e91650ee4190cd2bd8800156931c80d897a2 (patch)
treec99a08996b2bbdbe59b72c6ad19c10e0423b1874 /tmpl/advisory.html
parent3ec9caf889000ef2187375bde10a6f8575bbf008 (diff)
downloadmgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.gz
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.bz2
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.xz
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.zip
Add stylesheet and mageia navigation bar
Diffstat (limited to 'tmpl/advisory.html')
-rw-r--r--tmpl/advisory.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/tmpl/advisory.html b/tmpl/advisory.html
index f0a6a52..dd49031 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -4,9 +4,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Mageia Advisory: [% advisory %] - [% adv.subject %]</title>
+ [%- INCLUDE head.html -%]
</head>
<body>
- <h1>[% advisory %] - [% adv.subject %]</h1>
+ [%- INCLUDE body_top.html -%]
+ <h1 id='mgnavt'><a href="index.html">Advisories</a> ยป [% advisory %]</h1>
+
+ <div class='content'>
+ <div class='section'>
+ <h2>[% adv.subject %]</h2>
Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]<br />
Type: [% adv.type %]<br />
@@ -28,12 +34,16 @@
<a href="[% basename.CVE(cve) %].html">[% cve %]</a>
[% END %]
[% END %]
+ </div>
+ <div class='section'>
<h2>Description</h2>
<pre>
[%- adv.description -%]
</pre>
+ </div>
+ <div class='section'>
<h2>References</h2>
<ul>
[% FOREACH ref IN adv.references -%]
@@ -45,7 +55,9 @@
[%- END -%]
[%- END -%]
</ul>
+ </div>
+ <div class='section'>
<h2>SRPMS</h2>
[% FOREACH rel IN adv.src.keys -%]
[% FOREACH media IN adv.src.$rel.keys -%]
@@ -57,6 +69,7 @@
</ul>
[% END -%]
[% END -%]
-
+ </div>
+ </div>
</body>
</html>