From 5904d2f8f5192256ef0193aabea9c4c4efe3f6bf Mon Sep 17 00:00:00 2001 From: Darter Date: Fri, 7 Jun 2024 00:59:34 +0200 Subject: [PATCH 1/3] support datetime-datetime --- packages/v2/src/esp-entity-table.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/v2/src/esp-entity-table.ts b/packages/v2/src/esp-entity-table.ts index 6191030..9cc1a30 100644 --- a/packages/v2/src/esp-entity-table.ts +++ b/packages/v2/src/esp-entity-table.ts @@ -302,7 +302,7 @@ class ActionRenderer { const val = (e.target)?.value; this.actioner?.restAction( entity, - `${action}?${opt}=${val}` + `${action}?${opt}=${val.replace('T', ' ')}` ); }}" /> @@ -460,6 +460,19 @@ class ActionRenderer { `; } + render_datetime() { + if (!this.entity) return; + return html` + ${this._datetime( + this.entity, + "datetime-local", + "set", + "value", + this.entity.value, + )} + `; + } + render_text() { if (!this.entity) return; return this._textinput( From 794ec6b0e5d9cf633d8e65bd48cdeca18a344108 Mon Sep 17 00:00:00 2001 From: Darter Date: Fri, 7 Jun 2024 01:04:49 +0200 Subject: [PATCH 2/3] init From 024fcfa6acc82cc97eeff45db1a9d43329075318 Mon Sep 17 00:00:00 2001 From: Darter Date: Thu, 27 Jun 2024 16:11:15 +0200 Subject: [PATCH 3/3] add a height and width to the logo --- packages/v2/public/logo.svg | 2 +- packages/v3/public/logo.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/v2/public/logo.svg b/packages/v2/public/logo.svg index f22981e..d5f35e7 100644 --- a/packages/v2/public/logo.svg +++ b/packages/v2/public/logo.svg @@ -1,5 +1,5 @@ - +