diff --git a/src/components/dialogs/add-registry-url.riot b/src/components/dialogs/add-registry-url.riot index 41df728..5094cdf 100644 --- a/src/components/dialogs/add-registry-url.riot +++ b/src/components/dialogs/add-registry-url.riot @@ -16,16 +16,16 @@ --> -
Add your Server ?
-
- +
Add your Server ?
+
+ Write your URL without /v2
-
- +
+ Add - + Cancel
@@ -55,6 +55,9 @@ this.props.onClose(); setTimeout(() => router.updateUrlQueryParam(url), 100); }, + registryUrlValidator(input) { + return /^https?:\/\//.test(input) && !/\/v2\/?$/.test(input) + } }; diff --git a/src/components/dialogs/change-registry-url.riot b/src/components/dialogs/change-registry-url.riot index bae4937..3c1b770 100644 --- a/src/components/dialogs/change-registry-url.riot +++ b/src/components/dialogs/change-registry-url.riot @@ -15,18 +15,18 @@ along with this program. If not, see . --> - -
Change your Server ?
-
+ +
Change your Server ?
+
-
- +
+ Change - + Cancel
@@ -62,6 +62,7 @@ background: 0 0; border: none; font-weight: 400; + font-size: 1em; line-height: 24px; height: 24px; border-bottom: 1px solid #2f6975; diff --git a/src/components/dialogs/remove-registry-url.riot b/src/components/dialogs/remove-registry-url.riot index 2a00241..1008ad5 100644 --- a/src/components/dialogs/remove-registry-url.riot +++ b/src/components/dialogs/remove-registry-url.riot @@ -16,17 +16,18 @@ along with this program. If not, see . --> -
Remove your Registry Server ?
-
+
Remove your Registry Server ?
+
  • delete @@ -35,8 +36,8 @@ along with this program. If not, see .
-
- +
+ Close
@@ -44,10 +45,12 @@ along with this program. If not, see .