Search: Limit the number of results

This commit is contained in:
Eelco Dolstra
2013-02-22 16:41:42 +01:00
parent 4d4ea8c754
commit 08dc6650e1
3 changed files with 9 additions and 1 deletions

View File

@ -43,7 +43,7 @@
[% IF jobs.size > 0; matched = 1 %]
<p>The following jobs match your query:</p>
<p>The following jobs match your query:[% IF jobs.size > limit %] <span class="text-warning">(first [% limit %] results only)</span>[% END %]</p>
<table class="table table-striped table-condensed">
<thead>

View File

@ -43,3 +43,8 @@ table.info-table th {
padding-right: 1.0em;
padding-bottom: 0.2em;
}
/* Missing in bootstrap 2.0.2 */
.text-warning {
color: #c09853;
}