From 6402ec0e4e40014949c230a7368b9bcf647e139d Mon Sep 17 00:00:00 2001 From: Xeonus Date: Wed, 11 Dec 2024 16:40:33 +0100 Subject: [PATCH] feat: improve permission tables layout - add syntax highlighting - make table more compact and readable - add none to empty entries --- docs/.vuepress/components/PermissionTable.vue | 300 +++++++++++++----- package-lock.json | 14 + package.json | 1 + 3 files changed, 243 insertions(+), 72 deletions(-) diff --git a/docs/.vuepress/components/PermissionTable.vue b/docs/.vuepress/components/PermissionTable.vue index d1d8c997..7c5d8234 100644 --- a/docs/.vuepress/components/PermissionTable.vue +++ b/docs/.vuepress/components/PermissionTable.vue @@ -6,50 +6,65 @@ Error loading data. Please try again later. -
- - - - - - - - - - - - - - - - - - - -
FunctionContractCaller NamesCaller AddressesDeployments
- {{ row.function }} - {{ row.contract }} -
    -
  1. - {{ name }} -
  2. -
-
-
    -
  1. - {{ address }} -
  2. -
-
{{ row.deployments }}
+
+
+ + + + + + + + + + + + + + + + + +
FunctionContractAuthorized CallersDeployments
+
{{ row.function }}
+
{{ row.contract }} + + + {{ row.deployments }}
+