Better header rendering

This commit is contained in:
Ian Kent 2014-04-20 20:03:53 +01:00
parent a759177090
commit 37f916f5eb

View file

@ -20,7 +20,7 @@ func Index() string {
table tbody { table tbody {
overflow: scroll; overflow: scroll;
} }
table td { table td, table th {
padding: 2px 4px 2px 4px !important; padding: 2px 4px 2px 4px !important;
} }
</style> </style>
@ -77,11 +77,11 @@ func Index() string {
<div class="preview"> <div class="preview">
<table class="table" id="headers"> <table class="table" id="headers">
<tr ng-repeat="(header, value) in preview.Content.Headers"> <tr ng-repeat="(header, value) in preview.Content.Headers">
<td> <th>
{{ header }} {{ header }}
</td> </th>
<td> <td>
{{ value }} <div ng-repeat="v in value">{{ v }}</div>
</td> </td>
</tr> </tr>
</table> </table>