diff --git a/module/htdocs/css/shinken-layout.css b/module/htdocs/css/shinken-layout.css
index 8da60827..be857544 100644
--- a/module/htdocs/css/shinken-layout.css
+++ b/module/htdocs/css/shinken-layout.css
@@ -40,10 +40,6 @@ body {
padding-bottom: 70px;
}
-.page-header {
- margin-top:15px;
-}
-
.page-header .fas {
margin-right: 10px;
}
diff --git a/module/plugins/eltdetail/views/_eltdetail_information.tpl b/module/plugins/eltdetail/views/_eltdetail_information.tpl
index 9f9edb73..57741a31 100644
--- a/module/plugins/eltdetail/views/_eltdetail_information.tpl
+++ b/module/plugins/eltdetail/views/_eltdetail_information.tpl
@@ -4,7 +4,8 @@
-
+
+
{{!helper.get_fa_icon_state(elt, use_title=False)}}
@@ -34,10 +35,7 @@
{{! elt.output}}
-
-
-
@@ -227,147 +225,42 @@
%some_doc = elt.notes or elt.notes_url or elt.action_url or elt.customs and ('_IMPACT' in elt.customs or '_DETAILLEDESC' in elt.customs or '_FIXACTIONS' in elt.customs)
%if some_doc:
-
- %if elt.notes or elt.notes_url:
- %if elt.notes:
- {{! elt.notes}}
- %end
-
- %if elt.notes_url:
-
- %for note in helper.get_element_notes_url(elt, icon="external-link-square", css='class="btn btn-info btn-xs"'):
- - {{! note}}
- %end
-
- %end
- %end
-
- %if elt.action_url:
-
- %for action in helper.get_element_actions_url(elt, title="", icon="cogs", css='class="btn btn-warning btn-xs"'):
- - {{! action}}
- %end
-
- %end
-
- %if elt.customs and ('_IMPACT' in elt.customs or '_DETAILLEDESC' in elt.customs or '_FIXACTIONS' in elt.customs):
-
- %if '_DETAILLEDESC' in elt.customs:
- - Description
- {{ elt.customs['_DETAILLEDESC'] }}
- %end
- %if '_IMPACT' in elt.customs:
- - Impact
- {{ elt.customs['_IMPACT'] }}
- %end
- %if '_FIXACTIONS' in elt.customs:
- - How to fix
- {{ elt.customs['_FIXACTIONS'] }}
- %end
-
- %end
- %end
+
+ %if elt.notes or elt.notes_url:
+ %if elt.notes:
+ {{! elt.notes}}
+ %end
- %tags = elt.get_service_tags() if elt_type=='service' else elt.get_host_tags()
- %if tags:
- %tag='stag' if elt_type=='service' else 'htag'
-
-
- %end
-
- %if elt.event_handler:
-
-
- %end
-
-
+
+ %end
- %if elt.stalking_options and elt.stalking_options[0]:
-
-
-
-
-
-
-
-
- Options: |
- {{', '.join(elt.stalking_options)}} |
-
-
-
+ %if elt.customs and ('_IMPACT' in elt.customs or '_DETAILLEDESC' in elt.customs or '_FIXACTIONS' in elt.customs):
+
+ %if '_DETAILLEDESC' in elt.customs:
+ - Description
- {{ elt.customs['_DETAILLEDESC'] }}
+ %end
+ %if '_IMPACT' in elt.customs:
+ - Impact
- {{ elt.customs['_IMPACT'] }}
+ %end
+ %if '_FIXACTIONS' in elt.customs:
+ - How to fix
- {{ elt.customs['_FIXACTIONS'] }}
+ %end
+
+ %end
%end
@@ -471,21 +364,123 @@
- %if getattr(elt, 'hostgroups', None):
-
-
- %for hg in elt.hostgroups:
- -
- {{hg.alias}} ({{hg.get_name()}})
- {{", " if hg != elt.hostgroups[-1] else ""}}
-
+ %if elt.event_handler:
+
+
+ %end
+
+
+
+
+ %if elt.stalking_options and elt.stalking_options[0]:
+
+
+
+
+
+
+
+
+ Options: |
+ {{', '.join(elt.stalking_options)}} |
+
+
+
+ %end
+ %tags = elt.get_service_tags() if elt_type=='service' else elt.get_host_tags()
+ %if tags:
+ %tag='stag' if elt_type=='service' else 'htag'
+
+
+ %for t in sorted(tags):
+ -
+ %if app.tag_as_image:
+
+ %else:
+ {{t.lower()}}
%end
+
+ %end
+
+ %end
+
+ %if getattr(elt, 'hostgroups', None):
+
+
%end
-
diff --git a/module/views/layout.tpl b/module/views/layout.tpl
index 5df122ba..19e04ad7 100644
--- a/module/views/layout.tpl
+++ b/module/views/layout.tpl
@@ -113,7 +113,7 @@
%if navi:
%include("pagination_element", navi=navi, page=page, elts_per_page=elts_per_page, display_steps_form=True, div_class="pull-right hidden-xs", drop="dropdown")
%end
-