From d6f162a8ca782c1eb5ba81b0ca195b88a009b9e1 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sat, 6 Apr 2024 12:30:44 +0200 Subject: [PATCH] dashboard: add initial version of app list view --- dashboard/src/theme.scss | 20 ++++++++++++++ dashboard/src/views/apps.html | 49 ++++++++++++++++++++++++++++++++++- dashboard/src/views/apps.js | 1 + 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/dashboard/src/theme.scss b/dashboard/src/theme.scss index 84915f274..0c899fd0e 100644 --- a/dashboard/src/theme.scss +++ b/dashboard/src/theme.scss @@ -357,6 +357,26 @@ textarea { // Apps view // ---------------------------- +.app-list { + width: 100%; + margin-top: 20px !important; + + .app-list-item { + .app-list-item-icon { + height: 32px; + } + + .app-list-app-link { + display: block; + color: $text-dark; + + &:hover { + text-decoration: none; + } + } + } +} + .app-grid { display: flex; flex-wrap: wrap; diff --git a/dashboard/src/views/apps.html b/dashboard/src/views/apps.html index 968650673..9cac1ca47 100644 --- a/dashboard/src/views/apps.html +++ b/dashboard/src/views/apps.html @@ -140,6 +140,7 @@ +
@@ -154,7 +155,7 @@
-
+
@@ -198,5 +199,51 @@
+ +
+ + + + + + + + + + + + + + + + + + + + + +
 LocationApp Status{{ 'main.actions' | tr }}
+ + + + + + {{ app.label || app.subdomain || app.fqdn }} + + {{ app.manifest.title }} +
+ + + + +
+
{{ app | installationStateLabel }} + + + + + +
+
diff --git a/dashboard/src/views/apps.js b/dashboard/src/views/apps.js index d10fc18ce..17fe5301a 100644 --- a/dashboard/src/views/apps.js +++ b/dashboard/src/views/apps.js @@ -31,6 +31,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$translat $scope.APP_TYPES = APP_TYPES; $scope.showFilter = false; $scope.filterActive = false; + $scope.view = 'list'; $scope.allUsers = []; $scope.allGroups = [];