From f2ba70d5ab9a3f70a6bd180058637ae61dfbf5db Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 25 Jun 2015 11:36:26 +0200 Subject: [PATCH] GroupController: Fix design for showing a group --- application/views/scripts/group/show.phtml | 34 +++++++++++++--------- application/views/scripts/user/show.phtml | 8 ++--- public/css/icinga/main-content.less | 13 --------- 3 files changed, 24 insertions(+), 31 deletions(-) diff --git a/application/views/scripts/group/show.phtml b/application/views/scripts/group/show.phtml index 20538a9b3..ed5c747d5 100644 --- a/application/views/scripts/group/show.phtml +++ b/application/views/scripts/group/show.phtml @@ -27,20 +27,26 @@ if ($this->hasPermission('config/authentication/groups/edit') && $backend instan compact): ?> -
-

escape($group->group_name); ?>

-

translate('Created at'); ?>: created_at === null ? '-' : $this->formatDateTime($group->created_at); ?>

-

translate('Last modified'); ?>: last_modified === null ? '-' : $this->formatDateTime($group->last_modified); ?>

-

translate('Members'); ?>

- compact): ?> - sortBox; ?> - - limiter; ?> - paginator; ?> - compact): ?> - filterEditor; ?> - -
+

escape($group->group_name); ?>

+ + + + + + + + + +
translate('Created at'); ?>created_at === null ? '-' : $this->formatDateTime($group->created_at); ?>
translate('Last modified'); ?>last_modified === null ? '-' : $this->formatDateTime($group->last_modified); ?>
+

translate('Members'); ?>

+compact): ?> + sortBox; ?> + + limiter; ?> + paginator; ?> +compact): ?> + filterEditor; ?> +
0): ?> diff --git a/application/views/scripts/user/show.phtml b/application/views/scripts/user/show.phtml index 929737c71..b592bd64c 100644 --- a/application/views/scripts/user/show.phtml +++ b/application/views/scripts/user/show.phtml @@ -43,12 +43,12 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc

translate('Group Memberships'); ?>

compact): ?> - sortBox ?> + sortBox; ?> - limiter ?> - paginator ?> + limiter; ?> + paginator; ?> compact): ?> - filterEditor ?> + filterEditor; ?>
diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less index 98493f1ea..72cffa19b 100644 --- a/public/css/icinga/main-content.less +++ b/public/css/icinga/main-content.less @@ -274,19 +274,6 @@ div.content.groups { } } -div.controls div.group-header { - .group-name { - display: inline-block; - margin: 0 0 0.3em; - font-size: 2em; - } - - .group-parent, .group-created, .group-modified { - margin: 0 0 0.2em; - font-size: 0.8em; - } -} - div.content.members { table.member-list { th.member-remove {