style placeholder for empty http_log table

This commit is contained in:
Felix Niklas 2016-05-03 10:51:46 +02:00
parent 5c81268cc7
commit cb2913a401
2 changed files with 18 additions and 1 deletions

View file

@ -2,7 +2,12 @@
<h2><%- @T('Recent logs') %></h2>
<div class="settings-entry">
<table class="settings-list" style="width: 100%;">
<% if !@records.length: %>
<table class="settings-list settings-list--stretch settings-list--placeholder">
<thead><tr><th><%- @T('No Entries') %>
</table>
<% else: %>
<table class="settings-list settings-list--stretch">
<thead>
<tr>
<th width="10%"><%- @T('Direction') %>
@ -18,4 +23,5 @@
<% end %>
</tbody>
</table>
<% end %>
</div>

View file

@ -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;