forked from lix-project/hydra
Style unstyled alerts
This commit is contained in:
parent
db2c9fe96a
commit
20e3c51ba9
|
@ -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 %]
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 %]
|
||||
|
|
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue