Machine status page now looks much better and more consistent with rest of Hydra
[?]
Apr 12, 2012, 7:42 PM
FFEH62DEVPZZXGRZR5IYOQIP7MZVGRMFAYCY7DDZCPOC7ZUL6D2QCDependencies
- [2]
NVEFBXAMhydra: order machines by enabled/disabled, add green and red color for enabled/disabled - [3]
OEPUOUNBUsing twitter bootstrap for more consistent looks for Hydra - [4]
SMCOU72Fhydra: add some admin for adding/enabling/etc build machines - [5]
ZWCTAZGLadded newsitems, added some admin options to clear various caches.
Change contents
- edit in src/root/admin.tt at line 3
<h1>Admin</h1> - replacement in src/root/admin.tt at line 4
<h2>Status</h2><h2>Machine status</h2> - edit in src/root/admin.tt at line 6
<table class="table table-condensed table-striped"> - edit in src/root/admin.tt at line 8
<table style="width: 40em;"> - replacement in src/root/admin.tt at line 10
<th colspan="5" style="background-color: [% IF m.enabled == 1 %]lime[% ELSE %]red[% END %];"><th colspan="5"> - replacement in src/root/admin.tt at line 12
[% INCLUDE maybeLink uri = c.uri_for('/admin/machine' m.hostname 'disable' ) content='-' %]<a class="btn btn-success btn-mini" href="[% c.uri_for('/admin/machine' m.hostname 'disable' ) %]">Running</a> - replacement in src/root/admin.tt at line 14
[% INCLUDE maybeLink uri = c.uri_for('/admin/machine' m.hostname 'enable' ) content='+' %][% END %]<a class="btn btn-danger btn-mini" href="[% c.uri_for('/admin/machine' m.hostname 'enable' ) %]">Stopped</a>[% END %] - edit in src/root/admin.tt at line 38
[% END %] - edit in src/root/admin.tt at line 41
[% END %]