aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:55 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:55 +0000
commit080689b73c2aa3a98bca215d6213089442b7e6b8 (patch)
treed18cdfaae20506f6f807f715f1e7a2d08ce98e1b /tmpl
parentd943e91650ee4190cd2bd8800156931c80d897a2 (diff)
downloadmgaadvisories-080689b73c2aa3a98bca215d6213089442b7e6b8.tar
mgaadvisories-080689b73c2aa3a98bca215d6213089442b7e6b8.tar.gz
mgaadvisories-080689b73c2aa3a98bca215d6213089442b7e6b8.tar.bz2
mgaadvisories-080689b73c2aa3a98bca215d6213089442b7e6b8.tar.xz
mgaadvisories-080689b73c2aa3a98bca215d6213089442b7e6b8.zip
Fix indentation
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/CVE.html10
-rw-r--r--tmpl/advisories.html2
-rw-r--r--tmpl/advisory.html108
-rw-r--r--tmpl/by_cve.html2
-rw-r--r--tmpl/by_rel.html2
-rw-r--r--tmpl/by_src.html2
-rw-r--r--tmpl/index.html64
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>