From 4186aeb988e2c60ab8733c904d5e28ea1e36f43c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 11 Oct 2014 20:28:38 +0300 Subject: Remove buttons from static status page --- templates/status.tpl | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) (limited to 'templates') diff --git a/templates/status.tpl b/templates/status.tpl index 9201f04..2665861 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -11,28 +11,38 @@

Status of Lorry Controller

-% if running_queue: -
-

New jobs are allowed. - - -

-
+% if links: +% if running_queue: +
+

New jobs are allowed. + + +

+
+% else: +
+

New jobs are NOT allowed. + + +

+
+% end % else: -
-

New jobs are NOT allowed. - - -

-
+% if running_queue: +

New jobs are allowed.

+% else: +

New jobs are NOT allowed.

+% end % end -
-

- - -

-
+% if links: +
+

+ + +

+
+% end

Maximum number of jobs: {{max_jobs}}.

-- cgit v1.2.1