Update bootstrap to 2.3.1

This commit is contained in:
Eelco Dolstra
2013-04-26 14:45:20 +02:00
parent bbc3e25d5a
commit 4a2cb5e206
3 changed files with 28 additions and 9 deletions

View File

@ -1,5 +1,5 @@
[% BLOCK menuItem %]
<li class="[% IF "${root}${curUri}" == uri %]active[% END %]">
<li class="[% IF "${root}${curUri}" == uri %]active[% END %]" [% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>
<a href="[% uri %]">[% title %]</a>
</li>
[% END %]
@ -167,14 +167,14 @@
uri = c.uri_for(c.controller('Admin').action_for('users'))
title = "Manage users" %]
<li class="divider"></li>
[% INCLUDE maybeLink
[% INCLUDE menuItem
uri = c.uri_for(c.controller('Admin').action_for('clearfailedcache'))
content = "Clear failed builds cache"
title = "Clear failed builds cache"
confirmmsg = "Are you sure you want to clear the failed builds cache?"
class = "" %]
[% INCLUDE maybeLink
[% INCLUDE menuItem
uri = c.uri_for(c.controller('Admin').action_for('clear_queue_non_current'))
content = "Clear all non-running old builds from queue"
title = "Clear all non-running old builds from queue"
confirmmsg = "Are you sure you want to clear the queue?"
class = "" %]
[% END %]