From 21fbeec258e7e5867790cd4105df718b1aa9df45 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 12 Jun 2025 11:11:36 +0200 Subject: [PATCH] testapp: add functionality to delete all recordings and enhance UI for action buttons --- testapp/public/css/home.css | 4 ++ testapp/public/views/index.mustache | 34 ++++++++---- testapp/src/controllers/homeController.ts | 63 +++++++++++++++++------ testapp/src/index.ts | 2 + testapp/src/services/recordingService.ts | 41 +++++++++++++++ testapp/src/utils/http.ts | 9 +++- 6 files changed, 125 insertions(+), 28 deletions(-) create mode 100644 testapp/src/services/recordingService.ts diff --git a/testapp/public/css/home.css b/testapp/public/css/home.css index 4a6d008..8feb4b9 100644 --- a/testapp/public/css/home.css +++ b/testapp/public/css/home.css @@ -27,6 +27,10 @@ html { transform: translate(-50%, -50%); } +.action-buttons-container { + display: inline-flex; + gap: 2px; +} .rooms-container { flex: 2; background: white; diff --git a/testapp/public/views/index.mustache b/testapp/public/views/index.mustache index 4c51307..6984f67 100644 --- a/testapp/public/views/index.mustache +++ b/testapp/public/views/index.mustache @@ -21,17 +21,31 @@
-
-
- -
+
+
+
+ +
+
+
+
+ +
+
+ {{#rooms.length}}