mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-30 17:54:03 +00:00
UI fixes
This commit is contained in:
parent
8321b0e40a
commit
89e7347a4e
2 changed files with 6 additions and 6 deletions
|
@ -42,11 +42,11 @@ func CreateAPIv1(conf *config.Config, app *gotcha.App) *APIv1 {
|
||||||
|
|
||||||
r.Get("/api/v1/messages/?", apiv1.messages)
|
r.Get("/api/v1/messages/?", apiv1.messages)
|
||||||
r.Delete("/api/v1/messages/?", apiv1.delete_all)
|
r.Delete("/api/v1/messages/?", apiv1.delete_all)
|
||||||
r.Get("/api/v1/messages/(?P<id>[0-9a-f]+)/?", apiv1.message)
|
r.Get("/api/v1/messages/(?P<id>[^\\?]+)/?", apiv1.message)
|
||||||
r.Delete("/api/v1/messages/(?P<id>[0-9a-f]+)/?", apiv1.delete_one)
|
r.Delete("/api/v1/messages/(?P<id>[^\\?]+)/?", apiv1.delete_one)
|
||||||
r.Get("/api/v1/messages/(?P<id>[0-9a-f]+)/download/?", apiv1.download)
|
r.Get("/api/v1/messages/(?P<id>[^\\?]+)/download/?", apiv1.download)
|
||||||
r.Get("/api/v1/messages/(?P<id>[0-9a-f]+)/mime/part/(\\d+)/download/?", apiv1.download_part)
|
r.Get("/api/v1/messages/(?P<id>[^\\?]+)/mime/part/(\\d+)/download/?", apiv1.download_part)
|
||||||
r.Post("/api/v1/messages/(?P<id>[0-9a-f]+)/release/?", apiv1.release_one)
|
r.Post("/api/v1/messages/(?P<id>[^\\?]+)/release/?", apiv1.release_one)
|
||||||
r.Get("/api/v1/events/?", apiv1.eventstream)
|
r.Get("/api/v1/events/?", apiv1.eventstream)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
|
|
@ -163,7 +163,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="message in messages | filter:searchText" ng-click="selectMessage(message)" ng-class="{ selected: message.Id == preview.Id }">
|
<tr ng-repeat="message in messages | filter:searchText" ng-click="selectMessage(message)" ng-class="{ selected: message.ID == preview.ID }">
|
||||||
<td>
|
<td>
|
||||||
{{ message.From.Mailbox }}@{{ message.From.Domain }}
|
{{ message.From.Mailbox }}@{{ message.From.Domain }}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue