From c0caed53ce1e8b4cb8a608347ff384453ac9cd3c Mon Sep 17 00:00:00 2001 From: Alex Turchyn Date: Sat, 3 Jun 2023 00:16:38 +0300 Subject: [PATCH] center the settings relative to the sidebar --- app/views/email_settings/index.html.erb | 5 +++-- app/views/esign_settings/index.html.erb | 5 +++-- app/views/profile/index.html.erb | 5 +++-- app/views/storage_settings/index.html.erb | 5 +++-- app/views/users/index.html.erb | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/views/email_settings/index.html.erb b/app/views/email_settings/index.html.erb index 3ac81552..7c2a47aa 100644 --- a/app/views/email_settings/index.html.erb +++ b/app/views/email_settings/index.html.erb @@ -1,6 +1,6 @@ -
+
<%= render 'shared/settings_nav' %> -
+

Email SMTP

Configure your to send emails (TODO) @@ -40,4 +40,5 @@

<% end %>
+
diff --git a/app/views/esign_settings/index.html.erb b/app/views/esign_settings/index.html.erb index 11b386cc..279c6f61 100644 --- a/app/views/esign_settings/index.html.erb +++ b/app/views/esign_settings/index.html.erb @@ -1,6 +1,6 @@ -
+
<%= render 'shared/settings_nav' %> -
+

eSign

Upload your electronic signature @@ -16,4 +16,5 @@ <%= f.button button_title %> <% end %>

+
diff --git a/app/views/profile/index.html.erb b/app/views/profile/index.html.erb index 36c11b0b..78538561 100644 --- a/app/views/profile/index.html.erb +++ b/app/views/profile/index.html.erb @@ -1,6 +1,6 @@ -
+
<%= render 'shared/settings_nav' %> -
+

Profile

<%= form_for @user, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
@@ -18,4 +18,5 @@
<% end %>
+
diff --git a/app/views/storage_settings/index.html.erb b/app/views/storage_settings/index.html.erb index 46861143..87298ec3 100644 --- a/app/views/storage_settings/index.html.erb +++ b/app/views/storage_settings/index.html.erb @@ -1,6 +1,6 @@ -
+
<%= render 'shared/settings_nav' %> -
+

Storage

Select files storage option (TODO) @@ -33,4 +33,5 @@

<% end %>
+
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 2cc215c7..b2eb32e4 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

Team

<%= link_to new_user_path, class: 'btn btn-primary btn-md gap-2', data: { turbo_frame: 'modal' } do %>