diff --git a/assets/images/sidebar/admin.svg b/assets/images/sidebar/admin.svg
index afeab20b..dfdc6cb4 100644
--- a/assets/images/sidebar/admin.svg
+++ b/assets/images/sidebar/admin.svg
@@ -1,10 +1,3 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
diff --git a/assets/images/utils/check-circle.svg b/assets/images/utils/check-circle.svg
new file mode 100644
index 00000000..f6e6b175
--- /dev/null
+++ b/assets/images/utils/check-circle.svg
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/assets/images/utils/clear.svg b/assets/images/utils/clear.svg
new file mode 100644
index 00000000..144ce243
--- /dev/null
+++ b/assets/images/utils/clear.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/assets/styles/components.scss b/assets/styles/components.scss
index 2eb24011..b9890ce0 100644
--- a/assets/styles/components.scss
+++ b/assets/styles/components.scss
@@ -454,6 +454,15 @@
border-top-right-radius: var(--size-rounded-card) !important;
}
+.known-error .multiselect__tags {
+ border-color: var(--color-badge-red-bg) !important;
+ background-color: var(--color-warning-bg) !important;
+
+ &::placeholder {
+ color: var(--color-warning-text);
+ }
+}
+
.multiselect {
color: var(--color-text) !important;
@@ -554,6 +563,7 @@ label {
@media screen and (min-width: 1024px) {
flex-direction: row;
+ align-items: center;
}
span {
@@ -814,6 +824,26 @@ label {
}
}
+.vue-notification {
+ background: #44A4FC;
+ border-left: 5px solid #44A4FC;
+
+ &.success {
+ background: #68CD86;
+ border-left-color: #68CD86;
+ }
+
+ &.warn {
+ background: #ffb648;
+ border-left-color: #ffb648;
+ }
+
+ &.error {
+ background: #E54D42;
+ border-left-color: #E54D42;
+ }
+}
+
.vue-notification-group {
right: 25px !important;
@@ -839,3 +869,17 @@ label {
height: 1px;
margin: var(--spacing-card-bg) 0;
}
+
+input.known-error,
+textarea.known-error {
+ border-color: var(--color-badge-red-bg) !important;
+ background-color: var(--color-warning-bg) !important;
+
+ &::placeholder {
+ color: var(--color-warning-text);
+ }
+}
+
+.known-errors {
+ color: var(--color-badge-red-bg);
+}
diff --git a/assets/styles/global.scss b/assets/styles/global.scss
index ab8beb6f..28293c4f 100644
--- a/assets/styles/global.scss
+++ b/assets/styles/global.scss
@@ -247,7 +247,7 @@ h2 {
h3 {
margin-top: 0.5rem;
- margin-bottom: 0;
+ margin-bottom: 0.25rem;
color: var(--color-text-dark);
}
@@ -258,6 +258,7 @@ button {
input {
border-radius: 2rem;
+ box-sizing: border-box;
}
pre {
diff --git a/components/ui/FileInput.vue b/components/ui/FileInput.vue
deleted file mode 100644
index b864221a..00000000
--- a/components/ui/FileInput.vue
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
- {{ text }}
-
-
-
-
-
-
-
-
diff --git a/components/ui/SmartFileInput.vue b/components/ui/SmartFileInput.vue
index 6bf0f21d..7a180501 100644
--- a/components/ui/SmartFileInput.vue
+++ b/components/ui/SmartFileInput.vue
@@ -2,7 +2,7 @@
-
+
{{ prompt }}
{
+ if (this.maxSize === null) {
+ return true
+ } else if (file.size > this.maxSize) {
+ console.log('File size: ' + file.size + ', max size: ' + this.maxSize)
+ alert(
+ 'File ' +
+ file.name +
+ ' is too big! Must be less than ' +
+ this.$formatBytes(this.maxSize)
+ )
+ return false
+ } else {
+ return true
+ }
+ })
+
+ if (this.files.length > 0) {
+ this.$emit('change', this.files)
+ }
},
addFile(e) {
const droppedFiles = e.dataTransfer.files
@@ -74,7 +101,6 @@ label {
justify-content: center;
text-align: center;
padding: var(--spacing-card-sm) var(--spacing-card-md);
- margin-bottom: var(--spacing-card-sm);
}
span {
@@ -95,4 +121,17 @@ span {
input {
display: none;
}
+
+.known-error label {
+ border-color: var(--color-badge-red-bg) !important;
+ background-color: var(--color-warning-bg) !important;
+
+ span {
+ border-color: var(--color-badge-red-bg);
+ }
+
+ &::placeholder {
+ color: var(--color-warning-text);
+ }
+}
diff --git a/components/ui/VersionFilterControl.vue b/components/ui/VersionFilterControl.vue
index 9d3770e6..c116765b 100644
--- a/components/ui/VersionFilterControl.vue
+++ b/components/ui/VersionFilterControl.vue
@@ -6,9 +6,8 @@
-
+
Clear filters
@@ -69,14 +68,14 @@
diff --git a/nuxt.config.js b/nuxt.config.js
index 616cc404..9fcbf7fc 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -271,7 +271,7 @@ export default {
breaks: false,
},
loading: {
- color: 'green',
+ color: '#1bd96a',
height: '2px',
},
env: {
diff --git a/pages/_type/_id.vue b/pages/_type/_id.vue
index 99361d43..953f45fd 100644
--- a/pages/_type/_id.vue
+++ b/pages/_type/_id.vue
@@ -139,8 +139,11 @@
- Resubmit for approval
+
+ Resubmit for review
+
+
+
+ Submit for review
+
Clear message
+
+
+
+ Your project must have a body to submit for review.
+
+
+ Your project must have at least one version to submit for review.
+
+
+
+
+ Do not resubmit for review until you've addressed the moderator
+ message!
+