From 069e86c2fd1ea692a3af513ad454c097a49e428e Mon Sep 17 00:00:00 2001 From: Marius Hein Date: Thu, 12 Feb 2015 17:10:38 +0100 Subject: [PATCH] Header: Add header and skip links to resource configuration refs #7976 --- .../views/scripts/config/resource.phtml | 26 ++++++++++++++++--- .../scripts/config/resource/create.phtml | 12 ++++++--- .../scripts/config/resource/modify.phtml | 10 +++++-- .../scripts/config/resource/remove.phtml | 10 +++++-- 4 files changed, 48 insertions(+), 10 deletions(-) diff --git a/application/views/scripts/config/resource.phtml b/application/views/scripts/config/resource.phtml index 384993f52..013dfed19 100644 --- a/application/views/scripts/config/resource.phtml +++ b/application/views/scripts/config/resource.phtml @@ -2,18 +2,38 @@
+

+ +

+ +

+ +

icon('plus', null, array('aria-hidden' => 'true')); ?> translate('Create A New Resource'); ?>

- +

+ +

+
-resources as $name): ?> + resources as $name): ?> - +
translate('Resource'); ?> translate('Remove'); ?>
@@ -26,7 +46,7 @@
diff --git a/application/views/scripts/config/resource/create.phtml b/application/views/scripts/config/resource/create.phtml index 0750a5aa9..c70bd4779 100644 --- a/application/views/scripts/config/resource/create.phtml +++ b/application/views/scripts/config/resource/create.phtml @@ -1,6 +1,12 @@
tabs->showOnlyCloseButton() ?>
-

translate('Create A New Resource'); ?>

-

translate('Resources are entities that provide data to Icinga Web 2.'); ?>

- \ No newline at end of file +
+

+ translate('Create A New Resource'); ?> +

+

translate('Resources are entities that provide data to Icinga Web 2.'); ?>

+
+ +
+
\ No newline at end of file diff --git a/application/views/scripts/config/resource/modify.phtml b/application/views/scripts/config/resource/modify.phtml index d355aeb4c..48255261b 100644 --- a/application/views/scripts/config/resource/modify.phtml +++ b/application/views/scripts/config/resource/modify.phtml @@ -1,5 +1,11 @@
tabs->showOnlyCloseButton() ?>
-

translate('Edit Existing Resource'); ?>

- \ No newline at end of file +
+

+ translate('Edit Existing Resource'); ?> +

+
+ +
+
\ No newline at end of file diff --git a/application/views/scripts/config/resource/remove.phtml b/application/views/scripts/config/resource/remove.phtml index 14829ab40..ad5ed59cb 100644 --- a/application/views/scripts/config/resource/remove.phtml +++ b/application/views/scripts/config/resource/remove.phtml @@ -1,5 +1,11 @@
tabs->showOnlyCloseButton() ?>
-

translate('Remove Existing Resource'); ?>

- \ No newline at end of file +
+

+ translate('Remove Existing Resource'); ?> +

+
+ +
+
\ No newline at end of file