From cb2913a401eeea1ddaf7c548204e05f1b1e0d534 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 3 May 2016 10:51:46 +0200 Subject: [PATCH] style placeholder for empty http_log table --- .../javascripts/app/views/widget/http_log.jst.eco | 8 +++++++- app/assets/stylesheets/zammad.scss | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/widget/http_log.jst.eco b/app/assets/javascripts/app/views/widget/http_log.jst.eco index d7cd5dc64..a94ff96ee 100644 --- a/app/assets/javascripts/app/views/widget/http_log.jst.eco +++ b/app/assets/javascripts/app/views/widget/http_log.jst.eco @@ -2,7 +2,12 @@

<%- @T('Recent logs') %>

- +<% if !@records.length: %> +
+
<%- @T('No Entries') %> +
+<% else: %> +
<%- @T('Direction') %> @@ -18,4 +23,5 @@ <% end %>
+<% end %>
diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index acbc5c69f..499b8f3d6 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -6999,6 +6999,17 @@ output { opacity: 0.33; } } + + &.settings-list--placeholder { + th { + text-align: center; + border-bottom: 1px solid hsl(198, 18%, 86%); + border-radius: 4px; + } + td { + height: 40px; + } + } th, td { vertical-align: top;