web: fix minor styling issues

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-05 22:04:45 +02:00
parent fdd8e66b91
commit f28bfdaeb9
5 changed files with 10 additions and 5 deletions

View File

@ -80,7 +80,7 @@ export class RuleListPage extends TablePage<NotificationRule> {
html`${item.name}`,
html`${item.severity}`,
html`${item.groupObj?.name || t`None (rule disabled)`}`,
html` <ak-forms-modal>
html`<ak-forms-modal>
<span slot="submit"> ${t`Update`} </span>
<span slot="header"> ${t`Update Notification Rule`} </span>
<ak-event-rule-form slot="form" .instancePk=${item.pk}> </ak-event-rule-form>
@ -112,8 +112,6 @@ export class RuleListPage extends TablePage<NotificationRule> {
</p>
<ak-bound-policies-list .target=${item.pk}> </ak-bound-policies-list>
</div>
</td>
<td></td>
<td></td>`;
</td>`;
}
}

View File

@ -87,6 +87,7 @@ export class TransportListPage extends TablePage<NotificationTransport> {
</button>
</ak-forms-modal>
<ak-action-button
class="pf-m-plain"
.apiRequest=${() => {
return new EventsApi(DEFAULT_CONFIG).eventsTransportsTestCreate({
uuid: item.pk || "",