From 7c8135b58057f295c6dd0d30f241983d3fccf2cd Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 24 Nov 2021 09:33:21 +0100 Subject: [PATCH] refactor(ui): list documents --- app/views/console/database/collection.phtml | 87 +++++++++++++-------- 1 file changed, 55 insertions(+), 32 deletions(-) diff --git a/app/views/console/database/collection.phtml b/app/views/console/database/collection.phtml index ba8ef0b2fa..7510a8d2eb 100644 --- a/app/views/console/database/collection.phtml +++ b/app/views/console/database/collection.phtml @@ -46,7 +46,8 @@ $logs = $this->getParam('logs', null); data-param-order-types="DESC" data-param-order-types-cast-to="array" data-scope="sdk" - data-name="project-documents"> + data-name="project-documents" + x-data="{project: new URLSearchParams(location.search).get('project')}">

No Documents Found

@@ -57,28 +58,41 @@ $logs = $this->getParam('logs', null);
+ documents found
- + +
- - + + + - - - - + +
- - - - [] -
$id
- - - n/a - -
+
@@ -539,7 +553,8 @@ $logs = $this->getParam('logs', null); - + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
@@ -623,7 +638,8 @@ $logs = $this->getParam('logs', null); - + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -711,8 +727,9 @@ $logs = $this->getParam('logs', null); - - + + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -799,8 +816,9 @@ $logs = $this->getParam('logs', null); - - + + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -876,8 +894,9 @@ $logs = $this->getParam('logs', null); - - + + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -956,8 +975,9 @@ $logs = $this->getParam('logs', null); - - + + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -1033,8 +1053,9 @@ $logs = $this->getParam('logs', null); - - + + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
  Required @@ -1111,7 +1132,8 @@ $logs = $this->getParam('logs', null); - + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore
@@ -1215,7 +1237,8 @@ $logs = $this->getParam('logs', null); - + +
Allowed Characters A-Z, a-z, 0-9, and non-leading underscore