diff --git a/src/root/admin.tt b/src/root/admin.tt index f022251a..d2fab0fa 100644 --- a/src/root/admin.tt +++ b/src/root/admin.tt @@ -1,20 +1,18 @@ [% WRAPPER layout.tt title="Admin" %] [% PROCESS common.tt %] -
+ | [% IF m.enabled == 1 %] - [% INCLUDE maybeLink uri = c.uri_for('/admin/machine' m.hostname 'disable' ) content='-' %] + Running [% ELSE %] - [% INCLUDE maybeLink uri = c.uri_for('/admin/machine' m.hostname 'enable' ) content='+' %] - [% END %] + Stopped + [% END %] [% m.hostname %] [% FOREACH ms IN m.buildmachinesystemtypes %] [% ms.system %][% END %] | ||||||||
---|---|---|---|---|---|---|---|---|---|
Idle since [% INCLUDE renderDuration duration = curTime - m.get_column('idle') %] |