diff --git a/app/assets/stylesheets/setup-mode.scss b/app/assets/stylesheets/setup-mode.scss index 9645e7e3d..3315cd242 100644 --- a/app/assets/stylesheets/setup-mode.scss +++ b/app/assets/stylesheets/setup-mode.scss @@ -6,3 +6,14 @@ body.default-header { padding-top: 0; min-height: 100vh; } + +#page-content { + display: flex; + flex-direction: column; +} + +#page-content-inner { + display: flex; + flex: 1; + background: white; +} diff --git a/app/assets/stylesheets/views.scss b/app/assets/stylesheets/views.scss index c4d10e816..ade82102f 100644 --- a/app/assets/stylesheets/views.scss +++ b/app/assets/stylesheets/views.scss @@ -1,7 +1,6 @@ @import 'views/article'; @import 'views/article-form'; @import 'views/comments'; -@import 'views/confirm-email'; @import 'views/footer'; @import 'views/listings'; @import 'views/dashboard'; diff --git a/app/assets/stylesheets/views/confirm-email.scss b/app/assets/stylesheets/views/confirm-email.scss deleted file mode 100644 index 10f736104..000000000 --- a/app/assets/stylesheets/views/confirm-email.scss +++ /dev/null @@ -1,12 +0,0 @@ -@import '../config/import'; - -#page-content.confirmations { - display: flex; - flex-direction: column; - - #page-content-inner { - display: flex; - flex: 1; - background: white; - } -} diff --git a/app/views/admin/creator_settings/_form.html.erb b/app/views/admin/creator_settings/_form.html.erb index 9f5bba462..ca7e6c66e 100644 --- a/app/views/admin/creator_settings/_form.html.erb +++ b/app/views/admin/creator_settings/_form.html.erb @@ -14,7 +14,7 @@

Ideally SVG, but PNG will work, too. Min size: 300x300px.

<% end %> - <%= file_field_tag :logo_svg, class: "crayons-btn crayons-btn--secondary", role: "button", required: true %> + <%= file_field_tag :logo_svg, class: "crayons-btn crayons-btn--secondary w-100 ", role: "button", required: true %> <% if ::Settings::General.logo_svg.present? %> @@ -31,8 +31,8 @@

This will be the "accent" color used for buttons, links, etc.

<% end %> -
-
+
+
<%= text_field_tag :primary_brand_color_hex, ::Settings::UserExperience.primary_brand_color_hex, pattern: "^#+([a-fA-F0-9]{6})$", @@ -44,30 +44,38 @@ placeholder: ::Settings::UserExperience.primary_brand_color_hex, class: "crayons-color-selector js-color-field ml-2", required: true %> -
-
- -
-
- Who can join this community? -
- <%= radio_button_tag :invite_only_mode, "0", class: "crayons-field crayons-field--radio", required: true %> - -
- <%= radio_button_tag :invite_only_mode, "1", class: "crayons-field crayons-field--radio", required: true %> - -
-
- -
-
- Who can view content in this community? -
- <%= radio_button_tag :public, "0", class: "crayons-field crayons-field--radio", required: true %> - -
- <%= radio_button_tag :public, "1", class: "crayons-field crayons-field--radio", required: true %> -
+ +
+
+ Who can join this community? +
+
+ <%= radio_button_tag :invite_only_mode, "0", class: "crayons-field crayons-field--radio", required: true %> + +
+
+ <%= radio_button_tag :invite_only_mode, "1", class: "crayons-field crayons-field--radio", required: true %> + +
+
+
+
+ +
+
+ Who can view content in this community? +
+
+ <%= radio_button_tag :public, "0", class: "crayons-field crayons-field--radio", required: true %> + +
+
+ <%= radio_button_tag :public, "1", class: "crayons-field crayons-field--radio", required: true %> + +
+
+
+
diff --git a/app/views/admin/creator_settings/new.html.erb b/app/views/admin/creator_settings/new.html.erb index 9aeb0e4b1..9059fcca1 100644 --- a/app/views/admin/creator_settings/new.html.erb +++ b/app/views/admin/creator_settings/new.html.erb @@ -1,48 +1,47 @@ <% if FeatureFlag.enabled?(:creator_onboarding) && User.with_role(:creator).any? %> - -
-
- <% if flash[:error] %> - - <% end %> -
+ - <%= form_tag(admin_creator_settings_path, method: "post") do %> - <% if defined?(resource) && resource&.errors&.any? %> -