Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/src/views/webhooks/logs.html
Bjarne Fyrstenborg 13db9b308e V13: Webhook logs formatting (#15246)
* Use code snippet component for request and response

* Change overlay size to medium

* Format log date

* Handle JS as JavaScript

* Try format JSON

* Update less syntax

* Add word wrap

* Formatting

* Update variable

* Remove unused editorService

* Add missing details controller and fix formatting in catch block

* Set data object

* Update overlay size to match umb-editor overlay

* Use editorService instead to show details on overlay

* Add general box header
2023-11-21 09:24:48 +01:00

31 lines
879 B
HTML

<div ng-controller="Umbraco.Editors.Webhooks.WebhookLogController as vm">
<table class="table table-hover" ng-if="!vm.loading">
<thead>
<tr>
<th></th>
<th>Webhook key</th>
<th>Date</th>
<th>Url</th>
<th>Event</th>
<th>Retry count</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="log in vm.logs track by log.key" ng-click="vm.openLogOverlay(log)" style="cursor: pointer;">
<td style="width: 20px;">
<umb-checkmark
ng-if="vm.isChecked(log)"
checked="vm.isChecked(log)"
size="xs">
</umb-checkmark>
</td>
<td>{{ log.webhookKey }}</td>
<td>{{ log.formattedLogDate }}</td>
<td>{{ log.url }}</td>
<td>{{ log.eventAlias }}</td>
<td>{{ log.retryCount }}</td>
</tr>
</tbody>
</table>
</div>