Style unstyled alerts

This commit is contained in:
Samuel Dionne-Riel 2021-03-31 20:03:44 -04:00 committed by Tyson Whitehead
parent db2c9fe96a
commit 20e3c51ba9
4 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
[% IF channels.size == 0 %]
<div class="alert">There are no channels available.</div>
<div class="alert alert-warning">There are no channels available.</div>
[% ELSE %]

View file

@ -29,7 +29,7 @@ project=otherEval.jobset.project.name jobset=otherEval.jobset.name %] evaluation
c.uri_for(c.controller('JobsetEval').action_for('view'),
[otherEval.id]) %]">[% otherEval.id %]</a>.</p>
[% ELSE %]
<div class="alert">Couldn't find an evaluation to compare to.</div>
<div class="alert alert-danger">Couldn't find an evaluation to compare to.</div>
[% END %]
<form>

View file

@ -36,12 +36,12 @@
[% IF jobs.size == 0 %]
<div class="alert">There are no matching jobs.</div>
<div class="alert alert-warning">There are no matching jobs.</div>
[% ELSE %]
[% IF nrJobs > jobs.size %]
<div class="alert">Showing the first [% jobs.size %] jobs. <a href="javascript:setFilter('filter=%')">Show all [% nrJobs %] jobs...</a></div>
<div class="alert alert-info">Showing the first [% jobs.size %] jobs. <a href="javascript:setFilter('filter=%')">Show all [% nrJobs %] jobs...</a></div>
[% END %]
[% evalIds = evals.keys.nsort.reverse %]

View file

@ -81,7 +81,7 @@
[% IF builds.size > 0 || buildsdrv.size > 0 ; matched = 1 ; END %]
[% IF !matched %]
<div class="alert alert-warn">Sorry! Nothing matches your query.</div>
<div class="alert alert-warning">Sorry! Nothing matches your query.</div>
[% END %]
[% END %]