From 8d733ccc8c4ed1478c851bc744e583c17f175fa5 Mon Sep 17 00:00:00 2001 From: itsconquest Date: Fri, 5 Aug 2022 11:48:08 +1200 Subject: [PATCH] style(init): style init views [EE-3556] (#7384) * style(init): style init views [EE-3556] * update icons, alignment & allow clicking feature indicator link * update cursor style on hover --- app/portainer/views/init/admin/initAdmin.html | 91 ++++++++++--------- .../BoxSelector/BoxSelectorItem.css | 5 + app/timeout.ejs | 25 ++--- 3 files changed, 64 insertions(+), 57 deletions(-) diff --git a/app/portainer/views/init/admin/initAdmin.html b/app/portainer/views/init/admin/initAdmin.html index b3af742ac..5174c69c8 100644 --- a/app/portainer/views/init/admin/initAdmin.html +++ b/app/portainer/views/init/admin/initAdmin.html @@ -12,16 +12,19 @@
-
- - New Portainer installation +
+ + + + + + New Portainer installation
-
+
@@ -68,10 +71,10 @@
-

- +

+ The password must be at least {{ requiredPasswordLength }} characters long. - +

@@ -86,7 +89,7 @@ ng-click="createAdminUser()" button-spinner="state.actionInProgress" > - Create user + Create user Creating user...
@@ -94,11 +97,11 @@
-
+
- Allow collection of anonymous statistics. You can find more information about this in our - privacy policy.privacy policy.
@@ -113,16 +116,19 @@
-
- - Restore Portainer from backup + - +
@@ -132,28 +138,29 @@
-
-
-
- - -
-
- - -
+
+
+ + +
+
+ +
@@ -165,7 +172,7 @@
-
+
- + {{ formValues.BackupFile.name }} - +
diff --git a/app/react/components/BoxSelector/BoxSelectorItem.css b/app/react/components/BoxSelector/BoxSelectorItem.css index a92730468..da47b0937 100644 --- a/app/react/components/BoxSelector/BoxSelectorItem.css +++ b/app/react/components/BoxSelector/BoxSelectorItem.css @@ -58,6 +58,11 @@ pointer-events: none; } +.boxselector_wrapper label.boxselector_disabled a { + cursor: pointer; + pointer-events: auto; +} + .boxselector_wrapper input[type='radio']:checked + label, .box-selector-item input[type='radio']:checked + label { color: white; diff --git a/app/timeout.ejs b/app/timeout.ejs index 4d4717077..d2d82b8a0 100644 --- a/app/timeout.ejs +++ b/app/timeout.ejs @@ -30,24 +30,19 @@
- -
- - New Portainer installation - +
+ New Portainer installation
-
-
- - Your Portainer instance timed out for security purposes. To re-enable your Portainer instance, you will need to restart Portainer. - -

- - For further information, view our documentation. - -
+
+ + Your Portainer instance timed out for security purposes. To re-enable your Portainer instance, you will need to restart Portainer. + +

+ + For further information, view our documentation. +