From 06870b4f6432127dcd41c34b67243018b77dace4 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Feb 2021 23:19:01 +0100 Subject: [PATCH] web: improve styling on model info --- web/src/pages/events/EventInfo.ts | 40 ++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/web/src/pages/events/EventInfo.ts b/web/src/pages/events/EventInfo.ts index a540398ca..df8c384e8 100644 --- a/web/src/pages/events/EventInfo.ts +++ b/web/src/pages/events/EventInfo.ts @@ -35,12 +35,40 @@ export class EventInfo extends LitElement { if (context === null) { return html`-`; } - return html``; + return html`
+
+
+ ${gettext("UID")} +
+
+
${context.pk as string}
+
+
+
+
+ ${gettext("Name")} +
+
+
${context.name as string}
+
+
+
+
+ ${gettext("App")} +
+
+
${context.app as string}
+
+
+
+
+ ${gettext("Model Name")} +
+
+
${context.model_name as string}
+
+
+
`; } defaultResponse(): TemplateResult {