From 6c7892559f9553f974e14c5da201c0400312c98a Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Tue, 16 Jan 2024 17:00:26 -0800
Subject: [PATCH] More cleanup
---
src-ui/src/app/app.module.ts | 4 +
.../filterable-dropdown.component.scss | 4 -
.../common/input/check/check.component.html | 2 +-
.../common/input/date/date.component.html | 2 +-
.../document-link.component.html | 82 +++++++++----------
.../common/input/file/file.component.html | 4 +-
.../common/input/number/number.component.html | 2 +-
.../common/input/switch/switch.component.html | 2 +-
.../common/input/text/text.component.html | 2 +-
.../common/input/url/url.component.html | 32 ++++----
.../preview-popup.component.html | 2 +-
.../share-links-dropdown.component.html | 2 +-
.../common/toasts/toasts.component.html | 8 +-
13 files changed, 74 insertions(+), 74 deletions(-)
diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts
index d9a2ea28f..6d39bfecf 100644
--- a/src-ui/src/app/app.module.ts
+++ b/src-ui/src/app/app.module.ts
@@ -136,6 +136,7 @@ import {
checkLg,
chevronDoubleLeft,
chevronDoubleRight,
+ clipboard,
clipboardCheckFill,
clipboardFill,
dash,
@@ -149,6 +150,7 @@ import {
fileEarmark,
fileEarmarkCheck,
fileEarmarkFill,
+ fileEarmarkLock,
files,
fileText,
filter,
@@ -218,6 +220,7 @@ const icons = {
checkLg,
chevronDoubleLeft,
chevronDoubleRight,
+ clipboard,
clipboardCheckFill,
clipboardFill,
dash,
@@ -231,6 +234,7 @@ const icons = {
fileEarmark,
fileEarmarkCheck,
fileEarmarkFill,
+ fileEarmarkLock,
files,
fileText,
filter,
diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.scss b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.scss
index 9db366f96..f993e7edf 100644
--- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.scss
+++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.scss
@@ -25,10 +25,6 @@
}
}
-small > i-bs {
- margin-top: -2px;
-}
-
.list-group-item-note {
line-height: 1;
diff --git a/src-ui/src/app/components/common/input/check/check.component.html b/src-ui/src/app/components/common/input/check/check.component.html
index 889f2ee1e..3ad6d8133 100644
--- a/src-ui/src/app/components/common/input/check/check.component.html
+++ b/src-ui/src/app/components/common/input/check/check.component.html
@@ -5,7 +5,7 @@
@if (removable) {
}
diff --git a/src-ui/src/app/components/common/input/date/date.component.html b/src-ui/src/app/components/common/input/date/date.component.html
index 2d88b2861..8f386e2c8 100644
--- a/src-ui/src/app/components/common/input/date/date.component.html
+++ b/src-ui/src/app/components/common/input/date/date.component.html
@@ -4,7 +4,7 @@
@if (removable) {
}
diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.html b/src-ui/src/app/components/common/input/document-link/document-link.component.html
index 1c4b5fdde..fc4726a55 100644
--- a/src-ui/src/app/components/common/input/document-link/document-link.component.html
+++ b/src-ui/src/app/components/common/input/document-link/document-link.component.html
@@ -6,45 +6,45 @@
}
@if (removable) {
- }
-
-
-
-
-
-
-
-
-
- Loading...
-
-
- {{document.title}} ({{document.created | customDate:'shortDate'}})
-
-
-
- @if (hint) {
-
{{hint}}
- }
-
-
+ Remove
+
+ }
+
+
+
+
+
+
+
+
+ Loading...
+
+
+ {{document.title}} ({{document.created | customDate:'shortDate'}})
+
+
+
+ @if (hint) {
+
{{hint}}
+ }
+
+
+
diff --git a/src-ui/src/app/components/common/input/file/file.component.html b/src-ui/src/app/components/common/input/file/file.component.html
index 85ee062ef..4e780781c 100644
--- a/src-ui/src/app/components/common/input/file/file.component.html
+++ b/src-ui/src/app/components/common/input/file/file.component.html
@@ -6,7 +6,7 @@
}
@if (removable) {
}
@@ -18,7 +18,7 @@
{{filename}}
}
diff --git a/src-ui/src/app/components/common/input/number/number.component.html b/src-ui/src/app/components/common/input/number/number.component.html
index 2c775fafa..c3d435ffa 100644
--- a/src-ui/src/app/components/common/input/number/number.component.html
+++ b/src-ui/src/app/components/common/input/number/number.component.html
@@ -6,7 +6,7 @@
}
@if (removable) {
}
diff --git a/src-ui/src/app/components/common/input/switch/switch.component.html b/src-ui/src/app/components/common/input/switch/switch.component.html
index ca3bd5939..489106fcb 100644
--- a/src-ui/src/app/components/common/input/switch/switch.component.html
+++ b/src-ui/src/app/components/common/input/switch/switch.component.html
@@ -22,7 +22,7 @@
}
diff --git a/src-ui/src/app/components/common/input/text/text.component.html b/src-ui/src/app/components/common/input/text/text.component.html
index 0b9177ced..b46ab23b7 100644
--- a/src-ui/src/app/components/common/input/text/text.component.html
+++ b/src-ui/src/app/components/common/input/text/text.component.html
@@ -6,7 +6,7 @@
}
@if (removable) {
}
diff --git a/src-ui/src/app/components/common/input/url/url.component.html b/src-ui/src/app/components/common/input/url/url.component.html
index 0af47bb69..0885b3786 100644
--- a/src-ui/src/app/components/common/input/url/url.component.html
+++ b/src-ui/src/app/components/common/input/url/url.component.html
@@ -4,23 +4,23 @@
@if (removable) {
- }
-
-
+
diff --git a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html
index 4f6b2b720..124d13af8 100644
--- a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html
+++ b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html
@@ -9,7 +9,7 @@
} @else {
@if (requiresPassword) {
-
+
}
@if (!requiresPassword) {
diff --git a/src-ui/src/app/components/common/share-links-dropdown/share-links-dropdown.component.html b/src-ui/src/app/components/common/share-links-dropdown/share-links-dropdown.component.html
index 9d3b01d74..08298abc7 100644
--- a/src-ui/src/app/components/common/share-links-dropdown/share-links-dropdown.component.html
+++ b/src-ui/src/app/components/common/share-links-dropdown/share-links-dropdown.component.html
@@ -59,7 +59,7 @@
}
@if (!loading) {
-
+
}
Create
diff --git a/src-ui/src/app/components/common/toasts/toasts.component.html b/src-ui/src/app/components/common/toasts/toasts.component.html
index 90c39646b..6ec19f0d9 100644
--- a/src-ui/src/app/components/common/toasts/toasts.component.html
+++ b/src-ui/src/app/components/common/toasts/toasts.component.html
@@ -15,7 +15,7 @@
}
-
{{toast.content}}
+
{{toast.content}}
@if (toast.error) {
@@ -33,12 +33,12 @@