1
0
Fork 0

left-align table headers in query result view

This commit is contained in:
Simran Brucherseifer 2016-10-13 11:56:10 +02:00
parent c51592ca5d
commit faf5e5a090
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<tr> <tr>
<% var hcounter = 0; %> <% var hcounter = 0; %>
<% _.each(content.titles, function(y) {%> <% _.each(content.titles, function(y) {%>
<th class="arangob-table-th table-cell<%=hcounter%>"><%=y%></th> <th class="arango-table-th table-cell<%=hcounter%>"><%=y%></th>
<% hcounter++; });%> <% hcounter++; });%>
</tr> </tr>
</thead> </thead>
@ -13,7 +13,7 @@
<% _.each(content.rows, function(k) { var counter=0;%> <% _.each(content.rows, function(k) { var counter=0;%>
<tr> <tr>
<% _.each(k, function(x) { %> <% _.each(k, function(x) { %>
<td class="arangob-table-td table-cell<%=counter%>"><%=(content.unescaped && content.unescaped[counter] ? x : _.escape(x))%></td> <td class="arango-table-td table-cell<%=counter%>"><%=(content.unescaped && content.unescaped[counter] ? x : _.escape(x))%></td>
<% counter++;});%> <% counter++;});%>
</tr> </tr>
<%});%> <%});%>

View File

@ -6,7 +6,9 @@
th { th {
border-bottom: 1px solid $c-c2grey; border-bottom: 1px solid $c-c2grey;
font-weight: 400; font-weight: 500;
text-align: left;
padding-left: 18px;
height: 43px; height: 43px;
} }
} }