From 05d803444f149bea8ea49e0edf9425bae3350df5 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Wed, 10 Jun 2026 01:08:21 -0400 Subject: [PATCH] Development --- .../app/pages/clientcredentials/content.json | 63 ++++++++++--------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/docker/routlin-dash/app/pages/clientcredentials/content.json b/docker/routlin-dash/app/pages/clientcredentials/content.json index 6a92fb4..97e397f 100644 --- a/docker/routlin-dash/app/pages/clientcredentials/content.json +++ b/docker/routlin-dash/app/pages/clientcredentials/content.json @@ -19,35 +19,40 @@ "html": "%PRO_NOTE%" }, { - "type": "table", - "datasource": "sqlite:client_credentials", - "empty_message": "No credentials configured.", - "toolbar": { - "client_requirement": "client_is_viewer+", - "items": [ - { - "type": "select", - "name": "type_filter", - "value": "all", - "filter_col": "user_type_label", - "options": "%TYPE_FILTER_OPTIONS%" + "type": "card", + "label": "User Accounts", + "client_requirement": "client_is_viewer+", + "items": [ + { + "type": "table", + "datasource": "sqlite:client_credentials", + "empty_message": "No credentials configured.", + "toolbar": { + "client_requirement": "client_is_viewer+", + "items": [ + { + "type": "select", + "name": "type_filter", + "value": "all", + "filter_col": "user_type_label", + "options": "%TYPE_FILTER_OPTIONS%" + }, + { + "type": "select", + "name": "vlan_filter", + "value": "all", + "filter_col": "vlan", + "options": "%CRED_VLAN_FILTER_OPTIONS%" + }, + { + "type": "select", + "name": "status_filter", + "value": "all", + "filter_col": "account_status", + "options": "%STATUS_FILTER_OPTIONS%" + } + ] }, - { - "type": "select", - "name": "vlan_filter", - "value": "all", - "filter_col": "vlan", - "options": "%CRED_VLAN_FILTER_OPTIONS%" - }, - { - "type": "select", - "name": "status_filter", - "value": "all", - "filter_col": "account_status", - "options": "%STATUS_FILTER_OPTIONS%" - } - ] - }, "columns": [ { "label": "Username", @@ -101,6 +106,8 @@ "class": "btn-danger btn-sm" } ] + } + ] }, { "type": "card",