Commit aa19ca43 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove gray background from app setting expandable sections

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6f9ea7cb
...@@ -35,5 +35,4 @@ ...@@ -35,5 +35,4 @@
= f.check_box :user_default_external = f.check_box :user_default_external
Newly registered users will by default be external Newly registered users will by default be external
.form-actions = f.submit 'Save changes', class: 'btn btn-success'
= f.submit 'Save changes', class: 'btn btn-success'
...@@ -16,5 +16,4 @@ ...@@ -16,5 +16,4 @@
.col-sm-10 .col-sm-10
= f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block' = f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block'
%span.help-block#support_help_block Alternate support URL for help page %span.help-block#support_help_block Alternate support URL for help page
.form-actions = f.submit 'Save changes', class: "btn btn-success"
= f.submit 'Save changes', class: "btn btn-success"
...@@ -16,5 +16,4 @@ ...@@ -16,5 +16,4 @@
sites. Users are required to demonstrate they control a domain before sites. Users are required to demonstrate they control a domain before
it is enabled it is enabled
= link_to icon('question-circle'), help_page_path('user/project/pages/getting_started_part_three.md', anchor: 'dns-txt-record') = link_to icon('question-circle'), help_page_path('user/project/pages/getting_started_part_three.md', anchor: 'dns-txt-record')
.form-actions = f.submit 'Save changes', class: "btn btn-success"
= f.submit 'Save changes', class: "btn btn-success"
...@@ -53,5 +53,4 @@ ...@@ -53,5 +53,4 @@
.col-sm-10 .col-sm-10
= f.text_area :sign_in_text, class: 'form-control', rows: 4 = f.text_area :sign_in_text, class: 'form-control', rows: 4
.help-block Markdown enabled .help-block Markdown enabled
.form-actions = f.submit 'Save changes', class: "btn btn-success"
= f.submit 'Save changes', class: "btn btn-success"
...@@ -53,5 +53,4 @@ ...@@ -53,5 +53,4 @@
= f.text_area :after_sign_up_text, class: 'form-control', rows: 4 = f.text_area :after_sign_up_text, class: 'form-control', rows: 4
.help-block Markdown enabled .help-block Markdown enabled
.form-actions = f.submit 'Save changes', class: "btn btn-success"
= f.submit 'Save changes', class: "btn btn-success"
...@@ -60,5 +60,4 @@ ...@@ -60,5 +60,4 @@
= f.label field_name, "#{type.upcase} SSH keys", class: 'control-label col-sm-2' = f.label field_name, "#{type.upcase} SSH keys", class: 'control-label col-sm-2'
.col-sm-10 .col-sm-10
= f.select field_name, key_restriction_options_for_select(type), {}, class: 'form-control' = f.select field_name, key_restriction_options_for_select(type), {}, class: 'form-control'
.form-actions = f.submit 'Save changes', class: "btn btn-success"
= f.submit 'Save changes', class: "btn btn-success"
...@@ -6,66 +6,66 @@ ...@@ -6,66 +6,66 @@
%section.settings.as-visibility-access.no-animate#js-visibility-settings{ class: ('expanded' if expanded) } %section.settings.as-visibility-access.no-animate#js-visibility-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Visibility and access controls = _('Visibility and access controls')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Set default and restrict visibility levels. Configure import sources and git access protocol. = _('Set default and restrict visibility levels. Configure import sources and git access protocol.')
.settings-content .settings-content
= render 'visibility_and_access' = render 'visibility_and_access'
%section.settings.as-account-limit.no-animate#js-account-settings{ class: ('expanded' if expanded) } %section.settings.as-account-limit.no-animate#js-account-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Account and limit settings = _('Account and limit settings')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Session expiration, projects limit and attachment size. = _('Session expiration, projects limit and attachment size.')
.settings-content .settings-content
= render 'account_and_limit' = render 'account_and_limit'
%section.settings.as-signup.no-animate#js-signup-settings{ class: ('expanded' if expanded) } %section.settings.as-signup.no-animate#js-signup-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Sign-up restrictions = _('Sign-up restrictions')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Configure the way a user creates a new account. = _('Configure the way a user creates a new account.')
.settings-content .settings-content
= render 'signup' = render 'signup'
%section.settings.as-signin.no-animate#js-signin-settings{ class: ('expanded' if expanded) } %section.settings.as-signin.no-animate#js-signin-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Sign-in restrictions = _('Sign-in restrictions')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Set requirements for a user to sign-in. Enable mandatory two-factor authentication. = _('Set requirements for a user to sign-in. Enable mandatory two-factor authentication.')
.settings-content .settings-content
= render 'signin' = render 'signin'
%section.settings.as-help-page.no-animate#js-help-settings{ class: ('expanded' if expanded) } %section.settings.as-help-page.no-animate#js-help-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Help page = _('Help page')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Help page text and support page url. = _('Help page text and support page url.')
.settings-content .settings-content
= render 'help_page' = render 'help_page'
%section.settings.as-pages.no-animate#js-pages-settings{ class: ('expanded' if expanded) } %section.settings.as-pages.no-animate#js-pages-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
Pages = _('Pages')
%button.btn.js-settings-toggle %button.btn.js-settings-toggle
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
%p %p
Size and domain settings for static websites = _('Size and domain settings for static websites')
.settings-content .settings-content
= render 'pages' = render 'pages'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment