mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +00:00
Better header rendering
This commit is contained in:
parent
a759177090
commit
37f916f5eb
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue