From 5c0441bc06a1f7ef3ab3725a639a58127cf63684 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 11 Mar 2014 17:13:42 +0100 Subject: [PATCH] Re-design configuration interface --- .../views/scripts/config/authentication.phtml | 2 +- .../views/scripts/config/index.phtml | 80 ++++++++++--------- 2 files changed, 45 insertions(+), 37 deletions(-) diff --git a/application/views/scripts/config/authentication.phtml b/application/views/scripts/config/authentication.phtml index e9bc1f0a1..a86e97600 100644 --- a/application/views/scripts/config/authentication.phtml +++ b/application/views/scripts/config/authentication.phtml @@ -2,7 +2,7 @@ tabs ?> -
+
messageBox)) { diff --git a/modules/monitoring/application/views/scripts/config/index.phtml b/modules/monitoring/application/views/scripts/config/index.phtml index 34e928563..462cfc8a8 100644 --- a/modules/monitoring/application/views/scripts/config/index.phtml +++ b/modules/monitoring/application/views/scripts/config/index.phtml @@ -3,7 +3,7 @@ tabs->render($this); ?>
-
+

Monitoring Backends

messageBox)): ?> @@ -16,23 +16,28 @@

- - backends as $backendName => $config): ?> - - - - +
- $backendName)); - $editUrl = Url::fromPath('/monitoring/config/editbackend', array('backend' => $backendName)); - ?> - escape($backendName); ?> - (Type: escape($config['type'] === 'ido' ? 'IDO' : ucfirst($config['type'])); ?>) - -
+ + + + + + backends as $backendName => $config): ?> + $backendName)); + $editUrl = Url::fromPath('/monitoring/config/editbackend', array('backend' => $backendName)); + ?> + + + + + +
Monitoring BackendRemove
+ icon('edit.png'); ?> escape($backendName); ?> + (Type: escape($config['type'] === 'ido' ? 'IDO' : ucfirst($config['type'])); ?>) + + icon('remove.png'); ?> +

Monitoring Instances

@@ -43,24 +48,27 @@

- - instances as $instanceName => $config): ?> - -
- $instanceName)); - $editUrl = Url::fromPath('/monitoring/config/editinstance', array('instance' => $instanceName)); - ?> -
- escape($instanceName); ?> + + + + + + + instances as $instanceName => $config): ?> + $instanceName)); + $editUrl = Url::fromPath('/monitoring/config/editinstance', array('instance' => $instanceName)); + ?> + + - - + + + + +
InstanceRemove
+ icon('edit.png'); ?> escape($instanceName); ?> (Type: ) - - -
+ icon('remove.png'); ?> +