Add dane to flags icons
authorJeremy Harris <jgh@wizmail.org>
Wed, 1 Feb 2017 13:59:09 +0000 (13:59 +0000)
committerJeremy Harris <jgh@wizmail.org>
Wed, 1 Feb 2017 13:59:09 +0000 (13:59 +0000)
htdocs/img/6.png [new file with mode: 0644]
htdocs/img/helmet.png [new file with mode: 0644]
templates/status.tt

diff --git a/htdocs/img/6.png b/htdocs/img/6.png
new file mode 100644 (file)
index 0000000..f10c02b
Binary files /dev/null and b/htdocs/img/6.png differ
diff --git a/htdocs/img/helmet.png b/htdocs/img/helmet.png
new file mode 100644 (file)
index 0000000..8933d45
Binary files /dev/null and b/htdocs/img/helmet.png differ
index b43f7c3707d86f218fab81ad2e899ee258fbf95a..4807d66769a6eaa62e8b1396c1cee8704e22d52a 100644 (file)
@@ -13,8 +13,9 @@ See accompanying License file for license details
      mysql => '/img/mysql_logo.png',
      pgsql => '/img/postgresql-icon-32.png',
      ldap => '/img/openldap_logo.jpg',
      mysql => '/img/mysql_logo.png',
      pgsql => '/img/postgresql-icon-32.png',
      ldap => '/img/openldap_logo.jpg',
+     dane => '/img/helmet.png',
      doc => '/img/doc.png',
      doc => '/img/doc.png',
-     test => '/img/hammer.jpeg',
+     #test => '/img/hammer.jpeg',
      #python => '/img/python.png',
      #debug => '/img/bug.png',
      #pam => '/img/pam.png',
      #python => '/img/python.png',
      #debug => '/img/bug.png',
      #pam => '/img/pam.png',
@@ -95,7 +96,7 @@ See accompanying License file for license details
                [%- row.snapshot | uri %]">
                 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
 
                [%- row.snapshot | uri %]">
                 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
 
-    <td class="flags">[% FOREACH flag IN row.build_flags.split().sort() ; PROCESS img ; END %]</td>
+    <td class="flags">[% FOREACH flag IN row.build_flags.split().unique().sort() ; PROCESS img ; END %]</td>
     <td class="tests">[% FOREACH range IN row.log_text ;
        r = range.split(' '); c = r.0; st = r.1; w = r.2; PROCESS colourbar; END %]</td>
 </tr>
     <td class="tests">[% FOREACH range IN row.log_text ;
        r = range.split(' '); c = r.0; st = r.1; w = r.2; PROCESS colourbar; END %]</td>
 </tr>