Skip to content
Snippets Groups Projects
Commit df8aa61a authored by Clement Ho's avatar Clement Ho
Browse files

[skip ci] Convert .checkbox to .form-check

parent b95d76d2
No related branches found
No related tags found
No related merge requests found
Showing
with 33 additions and 33 deletions
Loading
Loading
@@ -15,7 +15,7 @@ export default class NotificationsForm {
 
toggleCheckbox(e) {
const $checkbox = $(e.currentTarget);
const $parent = $checkbox.closest('.checkbox');
const $parent = $checkbox.closest('.form-check');
 
this.saveEvent($checkbox, $parent);
}
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :gravatar_enabled do
= f.check_box :gravatar_enabled
Gravatar enabled
Loading
Loading
@@ -24,14 +24,14 @@
.form-group
= f.label :user_oauth_applications, 'User OAuth applications', class: 'control-label col-sm-2'
.col-sm-10
.checkbox
.form-check
= f.label :user_oauth_applications do
= f.check_box :user_oauth_applications
Allow users to register any application to use GitLab as an OAuth provider
.form-group
= f.label :user_default_external, 'New users set to external', class: 'control-label col-sm-2'
.col-sm-10
.checkbox
.form-check
= f.label :user_default_external do
= f.check_box :user_default_external
Newly registered users will by default be external
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
to take effect.
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :sidekiq_throttling_enabled do
= f.check_box :sidekiq_throttling_enabled
Enable Sidekiq Job Throttling
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :auto_devops_enabled do
= f.check_box :auto_devops_enabled
Enabled Auto DevOps (Beta) for projects by default
Loading
Loading
@@ -19,7 +19,7 @@
= s_("AdminSettings|Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages.")
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :shared_runners_enabled do
= f.check_box :shared_runners_enabled
Enable shared runners for new projects
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :email_author_in_body do
= f.check_box :email_author_in_body
Include author name in notification email body
Loading
Loading
@@ -14,7 +14,7 @@
merge request or comment in the email body instead.
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :html_emails_enabled do
= f.check_box :html_emails_enabled
Enable HTML emails
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
.help-block Markdown enabled
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :help_page_hide_commercial_content do
= f.check_box :help_page_hide_commercial_content
Hide marketing-related entries from help
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
= link_to icon('question-circle'), help_page_path('administration/monitoring/performance/introduction')
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :metrics_enabled do
= f.check_box :metrics_enabled
Enable InfluxDB Metrics
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :throttle_unauthenticated_enabled do
= f.check_box :throttle_unauthenticated_enabled
Enable unauthenticated request rate limit
Loading
Loading
@@ -20,7 +20,7 @@
= f.number_field :throttle_unauthenticated_period_in_seconds, class: 'form-control'
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :throttle_authenticated_api_enabled do
= f.check_box :throttle_authenticated_api_enabled
Enable authenticated API request rate limit
Loading
Loading
@@ -36,7 +36,7 @@
= f.number_field :throttle_authenticated_api_period_in_seconds, class: 'form-control'
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :throttle_authenticated_web_enabled do
= f.check_box :throttle_authenticated_web_enabled
Enable authenticated web request rate limit
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :koding_enabled do
= f.check_box :koding_enabled
Enable Koding
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :sentry_enabled do
= f.check_box :sentry_enabled
Enable Sentry
Loading
Loading
@@ -20,7 +20,7 @@
 
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :clientside_sentry_enabled do
= f.check_box :clientside_sentry_enabled
Enable Clientside Sentry
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :allow_local_requests_from_hooks_and_services do
= f.check_box :allow_local_requests_from_hooks_and_services
Allow requests to the local network from hooks and services
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
.help-block 0 for unlimited
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :pages_domain_verification_enabled do
= f.check_box :pages_domain_verification_enabled
Require users to prove ownership of custom domains
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :authorized_keys_enabled do
= f.check_box :authorized_keys_enabled
Write to "authorized_keys" file
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :performance_bar_enabled do
= f.check_box :performance_bar_enabled
Enable the Performance Bar
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :plantuml_enabled do
= f.check_box :plantuml_enabled
Enable PlantUML
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@
= link_to icon('question-circle'), help_page_path('administration/monitoring/prometheus/index')
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :prometheus_metrics_enabled do
= f.check_box :prometheus_metrics_enabled
Enable Prometheus Metrics
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
%h4 Repository checks
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :repository_checks_enabled do
= f.check_box :repository_checks_enabled
Enable Repository Checks
Loading
Loading
@@ -24,7 +24,7 @@
%h4 Housekeeping
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :housekeeping_enabled do
= f.check_box :housekeeping_enabled
Enable automatic repository housekeeping (git repack, git gc)
Loading
Loading
@@ -33,7 +33,7 @@
repository access on your GitLab server will become slower and your
repositories will use more disk space. We recommend to always leave
this enabled.
.checkbox
.form-check
= f.label :housekeeping_bitmaps_enabled do
= f.check_box :housekeeping_bitmaps_enabled
Enable Git pack file bitmap creation
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
.sub-section
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :hashed_storage_enabled do
= f.check_box :hashed_storage_enabled
Create new projects using hashed storage paths
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :password_authentication_enabled_for_web do
= f.check_box :password_authentication_enabled_for_web
Password authentication enabled for web interface
Loading
Loading
@@ -12,7 +12,7 @@
When disabled, an external authentication provider must be used.
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :password_authentication_enabled_for_git do
= f.check_box :password_authentication_enabled_for_git
Password authentication enabled for Git over HTTP(S)
Loading
Loading
@@ -31,7 +31,7 @@
.form-group
= f.label :two_factor_authentication, 'Two-factor authentication', class: 'control-label col-sm-2'
.col-sm-10
.checkbox
.form-check
= f.label :require_two_factor_authentication do
= f.check_box :require_two_factor_authentication
Require all users to setup Two-factor authentication
Loading
Loading
Loading
Loading
@@ -4,13 +4,13 @@
%fieldset
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :signup_enabled do
= f.check_box :signup_enabled
Sign-up enabled
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
.form-check
= f.label :send_user_confirmation_email do
= f.check_box :send_user_confirmation_email
Send confirmation email on sign-up
Loading
Loading
@@ -22,7 +22,7 @@
.form-group
= f.label :domain_blacklist_enabled, 'Domain Blacklist', class: 'control-label col-sm-2'
.col-sm-10
.checkbox
.form-check
= f.label :domain_blacklist_enabled do
= f.check_box :domain_blacklist_enabled
Enable domain blacklist for sign ups
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment