From d4dfab1c9afea7701ce2163ef78066cd5f504dbc Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 5 Nov 2015 13:24:24 +0100 Subject: [PATCH] empty table placeholder --- .../javascripts/app/views/generic/admin/empty.jst.eco | 7 ++++++- app/assets/stylesheets/zammad.scss | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/generic/admin/empty.jst.eco b/app/assets/javascripts/app/views/generic/admin/empty.jst.eco index e4dd51bd8..ccb63e7fb 100644 --- a/app/assets/javascripts/app/views/generic/admin/empty.jst.eco +++ b/app/assets/javascripts/app/views/generic/admin/empty.jst.eco @@ -1 +1,6 @@ -

<%= @T(@explanation) %>

\ No newline at end of file +

<%= @T(@explanation) %>

+ + +
<%= @T('Empty Table') %> +
+
\ No newline at end of file diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index e957e9958..4b6b485f4 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -718,6 +718,15 @@ table { display: table-row; } +.table--placeholder { + th { + text-align: center; + } + td { + height: 40px; + } +} + .table th:not(.noTruncate) .table-column-title, .table td:not(.noTruncate) { @extend .u-textTruncate;