diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/CVE.html | 10 | ||||
-rw-r--r-- | tmpl/advisories.html | 2 | ||||
-rw-r--r-- | tmpl/advisory.html | 108 | ||||
-rw-r--r-- | tmpl/by_cve.html | 2 | ||||
-rw-r--r-- | tmpl/by_rel.html | 2 | ||||
-rw-r--r-- | tmpl/by_src.html | 2 | ||||
-rw-r--r-- | tmpl/index.html | 64 |
7 files changed, 95 insertions, 95 deletions
diff --git a/tmpl/CVE.html b/tmpl/CVE.html index 24e0f85..493af5a 100644 --- a/tmpl/CVE.html +++ b/tmpl/CVE.html @@ -10,11 +10,11 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » CVE list</h1> <div class='content'> - <ul> - [% FOREACH CVE IN advdb.by_cve.keys.sort.reverse %] - <li><a href="[% basename.CVE(CVE) %].html">[% CVE %]</a></li> - [% END %] - </ul> + <ul> + [% FOREACH CVE IN advdb.by_cve.keys.sort.reverse %] + <li><a href="[% basename.CVE(CVE) %].html">[% CVE %]</a></li> + [% END %] + </ul> </div> </body> </html> diff --git a/tmpl/advisories.html b/tmpl/advisories.html index 0b95ac2..e5fa506 100644 --- a/tmpl/advisories.html +++ b/tmpl/advisories.html @@ -11,7 +11,7 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » All <a href="advisories.rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></h1> <div class="content"> - [% INCLUDE advisories_table.html advlst = advdb.sorted %] + [% INCLUDE advisories_table.html advlst = advdb.sorted %] </div> </body> </html> diff --git a/tmpl/advisory.html b/tmpl/advisory.html index dd49031..807402b 100644 --- a/tmpl/advisory.html +++ b/tmpl/advisory.html @@ -11,65 +11,65 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » [% advisory %]</h1> <div class='content'> - <div class='section'> - <h2>[% adv.subject %]</h2> + <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 /> - Affected Mageia releases : - [% SET sep = '' %] - [% FOREACH rel IN adv.src.keys.sort %] - [% sep %] - [% SET sep = ', ' %] - <a href="[% basename.rel(rel) %].html">[% rel %]</a> - [% END %] - <br /> + Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]<br /> + Type: [% adv.type %]<br /> + Affected Mageia releases : + [% SET sep = '' %] + [% FOREACH rel IN adv.src.keys.sort %] + [% sep %] + [% SET sep = ', ' %] + <a href="[% basename.rel(rel) %].html">[% rel %]</a> + [% END %] + <br /> - [% SET sep = '' %] - [% IF adv.CVE && adv.CVE.list.size != 0 %] - CVE: - [% FOREACH cve IN adv.CVE %] - [% sep %] - [% SET sep = ', ' %] - <a href="[% basename.CVE(cve) %].html">[% cve %]</a> - [% END %] - [% END %] - </div> + [% SET sep = '' %] + [% IF adv.CVE && adv.CVE.list.size != 0 %] + CVE: + [% FOREACH cve IN adv.CVE %] + [% sep %] + [% SET sep = ', ' %] + <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>Description</h2> + <pre> + [%- adv.description -%] + </pre> + </div> - <div class='section'> - <h2>References</h2> - <ul> - [% FOREACH ref IN adv.references -%] - <li><a href="[% ref %]">[% ref %]</a></li> - [% END %] - [%- IF adv.CVE -%] - [%- FOREACH cve IN adv.CVE.list -%] - <li><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]</a></li> - [%- END -%] - [%- END -%] - </ul> - </div> + <div class='section'> + <h2>References</h2> + <ul> + [% FOREACH ref IN adv.references -%] + <li><a href="[% ref %]">[% ref %]</a></li> + [% END %] + [%- IF adv.CVE -%] + [%- FOREACH cve IN adv.CVE.list -%] + <li><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]</a></li> + [%- END -%] + [%- END -%] + </ul> + </div> - <div class='section'> - <h2>SRPMS</h2> - [% FOREACH rel IN adv.src.keys -%] - [% FOREACH media IN adv.src.$rel.keys -%] - <h3>[% rel %]/[% media %]</h3> - <ul> - [% FOREACH srpm IN adv.src.$rel.$media -%] - <li>[% srpm %]</li> - [% END -%] - </ul> - [% END -%] - [% END -%] - </div> + <div class='section'> + <h2>SRPMS</h2> + [% FOREACH rel IN adv.src.keys -%] + [% FOREACH media IN adv.src.$rel.keys -%] + <h3>[% rel %]/[% media %]</h3> + <ul> + [% FOREACH srpm IN adv.src.$rel.$media -%] + <li>[% srpm %]</li> + [% END -%] + </ul> + [% END -%] + [% END -%] + </div> </div> </body> </html> diff --git a/tmpl/by_cve.html b/tmpl/by_cve.html index 1102d9f..44cc0d7 100644 --- a/tmpl/by_cve.html +++ b/tmpl/by_cve.html @@ -10,7 +10,7 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% CVE %]">[% CVE %]</a></h1> <div class='content'> - [% INCLUDE advisories_table.html advlst = advdb.by_cve.$CVE %] + [% INCLUDE advisories_table.html advlst = advdb.by_cve.$CVE %] </div> </body> </html> diff --git a/tmpl/by_rel.html b/tmpl/by_rel.html index 7989f75..4a4248b 100644 --- a/tmpl/by_rel.html +++ b/tmpl/by_rel.html @@ -11,7 +11,7 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » Mageia [% rel %] <a href="[% basename.rel(rel) %].rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></h1> <div class='content'> - [% INCLUDE advisories_table.html advlst = advdb.by_rel.$rel %] + [% INCLUDE advisories_table.html advlst = advdb.by_rel.$rel %] </div> </body> </html> diff --git a/tmpl/by_src.html b/tmpl/by_src.html index 6426e8f..95148b8 100644 --- a/tmpl/by_src.html +++ b/tmpl/by_src.html @@ -11,7 +11,7 @@ <h1 id='mgnavt'><a href="index.html">Advisories</a> » Package [% src %] <a href="[% basename.src(src) %].rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></h1> <div class='content'> - [% INCLUDE advisories_table.html advlst = advdb.by_src.$src %] + [% INCLUDE advisories_table.html advlst = advdb.by_src.$src %] </div> </body> </html> diff --git a/tmpl/index.html b/tmpl/index.html index 91e20e6..671f917 100644 --- a/tmpl/index.html +++ b/tmpl/index.html @@ -9,43 +9,43 @@ [%- INCLUDE body_top.html -%] <h1 id='mgnavt'>Mageia Advisories</h1> <div class="content"> - <div class="section"> - <h2>Advisories</h2> - <ul> - [% FOREACH rel IN advdb.by_rel.keys.sort -%] - <li><a href="[% basename.rel(rel) %].html">Mageia [% rel %] advisories</a> <a href="[% basename.rel(rel) %].rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></li> - [%- END -%] - <li><a href="advisories.html">All advisories</a> <a href="advisories.rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></li> - </ul> - </div> + <div class="section"> + <h2>Advisories</h2> + <ul> + [% FOREACH rel IN advdb.by_rel.keys.sort -%] + <li><a href="[% basename.rel(rel) %].html">Mageia [% rel %] advisories</a> <a href="[% basename.rel(rel) %].rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></li> + [%- END -%] + <li><a href="advisories.html">All advisories</a> <a href="advisories.rss"><img src="http://static.mageia.org/g/images/smi/feed-16x16.png" alt="rss" /></a></li> + </ul> + </div> - <div class="section"> - <h2>CVE list</h2> - A list of fixed CVE <a href="CVE.html">is available</a>. - </div> + <div class="section"> + <h2>CVE list</h2> + A list of fixed CVE <a href="CVE.html">is available</a>. + </div> - <div class="section"> - <h2>Command line tool</h2> - A command line tool is available to list and display advisories. - <a href="https://wiki.mageia.org/en/Mgaadv#Command_line_tool">More details</a>. - </div> + <div class="section"> + <h2>Command line tool</h2> + A command line tool is available to list and display advisories. + <a href="https://wiki.mageia.org/en/Mgaadv#Command_line_tool">More details</a>. + </div> - <div class="section"> - <h2>Older Advisories</h2> - Older advisories are available on <a href="https://wiki.mageia.org/en/Support/Advisories/">Mageia wiki</a>. - </div> + <div class="section"> + <h2>Older Advisories</h2> + Older advisories are available on <a href="https://wiki.mageia.org/en/Support/Advisories/">Mageia wiki</a>. + </div> - <div class="section"> - <h2>DB Dump</h2> - A dump of all advisories is available as <a href="advisories.yaml">a yaml file</a>. - </div> + <div class="section"> + <h2>DB Dump</h2> + A dump of all advisories is available as <a href="advisories.yaml">a yaml file</a>. + </div> - <div class="section"> - <h2>Source code</h2> - Source code for the tool used to generate this website is - <a href="http://svnweb.mageia.org/soft/mga-advisories/trunk/">available on svn</a>. - Patches or ideas can be posted on the <a href="https://ml.mageia.org/l/info/sysadmin-discuss">sysadmin-discuss</a> mailing list. - </div> + <div class="section"> + <h2>Source code</h2> + Source code for the tool used to generate this website is + <a href="http://svnweb.mageia.org/soft/mga-advisories/trunk/">available on svn</a>. + Patches or ideas can be posted on the <a href="https://ml.mageia.org/l/info/sysadmin-discuss">sysadmin-discuss</a> mailing list. + </div> </div> </body> </html> |