From bd42337170c9ac0a549a2c79f705a283c0859a82 Mon Sep 17 00:00:00 2001 From: Grady Berry Ward Date: Mon, 22 Jan 2024 08:48:36 -0700 Subject: [PATCH] Finishes Audit Log Interface (#156) --- frontend/assets/css/overrides.css | 39 +- .../components/CalendarRangeWithISOModel.vue | 62 ++ frontend/components/standard/FullWidth.vue | 21 + frontend/components/standard/Nav.vue | 1 - frontend/lang/en.json | 10 +- frontend/lib/auditlogquery/index.ts | 8 +- frontend/package-lock.json | 14 +- frontend/package.json | 2 +- frontend/pages/audit-logs.vue | 659 +++++++++++++----- frontend/plugins/primevue.ts | 20 +- 10 files changed, 630 insertions(+), 206 deletions(-) create mode 100644 frontend/components/CalendarRangeWithISOModel.vue create mode 100644 frontend/components/standard/FullWidth.vue diff --git a/frontend/assets/css/overrides.css b/frontend/assets/css/overrides.css index a0dded6..e769930 100644 --- a/frontend/assets/css/overrides.css +++ b/frontend/assets/css/overrides.css @@ -1,21 +1,21 @@ .h-0 { - height: 0; + height: 0; } .text-success { - color: #4a7747; + color: #4a7747; } div.p-toast { - opacity: 1; + opacity: 1; } .p-button.p-button-icon-only.p-button.p-button-xs, .p-button.p-button-xs { - padding: 0.25rem 0.5rem; - font-size: 0.875rem; - font-weight: 600; - width: auto; + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + font-weight: 600; + width: auto; } .code, .code-block { @@ -30,4 +30,27 @@ div.p-toast { .p-message-wrapper .p-message-icon, .p-message-wrapper .p-message-close { flex-shrink: 0; -} \ No newline at end of file +} + +.p-inputwrapper-filled.p-inputwrapper.p-multiselect.p-multiselect-chip +.p-multiselect-label { + display: flex; + flex-wrap: wrap; + gap: .25rem; + padding: .25rem .5rem; +} + +.p-inputwrapper-filled.p-inputwrapper.p-multiselect.p-multiselect-chip +.p-multiselect-label +.p-multiselect-token { + margin-right: 0; +} + +div.p-chips .p-chips-multiple-container { + gap: .25rem; + padding: .25rem .5rem; +} + +div.p-chips .p-chips-multiple-container .p-chips-token { + margin-right: 0; +} diff --git a/frontend/components/CalendarRangeWithISOModel.vue b/frontend/components/CalendarRangeWithISOModel.vue new file mode 100644 index 0000000..fcf1198 --- /dev/null +++ b/frontend/components/CalendarRangeWithISOModel.vue @@ -0,0 +1,62 @@ + + + diff --git a/frontend/components/standard/FullWidth.vue b/frontend/components/standard/FullWidth.vue new file mode 100644 index 0000000..6e0e117 --- /dev/null +++ b/frontend/components/standard/FullWidth.vue @@ -0,0 +1,21 @@ + + + diff --git a/frontend/components/standard/Nav.vue b/frontend/components/standard/Nav.vue index 7ac8b7c..353a07f 100644 --- a/frontend/components/standard/Nav.vue +++ b/frontend/components/standard/Nav.vue @@ -1,6 +1,5 @@