Commit 80766821 authored by Clement Ho's avatar Clement Ho

Revert .hide to .d-none conversion

parent fe60886a
......@@ -18,11 +18,11 @@
.form-group.row.js-toggle-colors-container
.col-sm-10.offset-sm-2
= link_to 'Customize colors', '#', class: 'js-toggle-colors-link'
.form-group.row.js-toggle-colors-container.d-none
.form-group.row.js-toggle-colors-container.hide
= f.label :color, "Background Color", class: 'col-form-label col-sm-2'
.col-sm-10
= f.color_field :color, class: "form-control"
.form-group.row.js-toggle-colors-container.d-none
.form-group.row.js-toggle-colors-container.hide
= f.label :font, "Font Color", class: 'col-form-label col-sm-2'
.col-sm-10
= f.color_field :font, class: "form-control"
......
......@@ -2,7 +2,7 @@
.row
.col-lg-12.js-ci-variable-list-section{ data: { save_endpoint: save_endpoint } }
.hidden.alert.alert-danger.js-ci-variable-error-box
.hide.alert.alert-danger.js-ci-variable-error-box
%ul.ci-variable-list
- @variables.each.each do |variable|
......@@ -10,7 +10,7 @@
= render 'ci/variables/variable_row', form_field: 'variables'
.prepend-top-20
%button.btn.btn-success.js-secret-variables-save-button{ type: 'button' }
%span.hidden.js-secret-variables-save-loading-icon
%span.hide.js-secret-variables-save-loading-icon
= icon('spinner spin')
= _('Save variables')
%button.btn.btn-info.btn-inverted.prepend-left-10.js-secret-value-reveal-button{ type: 'button', data: { secret_reveal_status: "#{@variables.size == 0}" } }
......
......@@ -9,9 +9,9 @@
.username.form-group
= f.label :username
= f.text_field :username, class: "form-control middle", pattern: Gitlab::PathRegex::NAMESPACE_FORMAT_REGEX_JS, required: true, title: 'Please create a username with only alphanumeric characters.'
%p.validation-error.d-none Username is already taken.
%p.validation-success.d-none Username is available.
%p.validation-pending.d-none Checking username availability...
%p.validation-error.hide Username is already taken.
%p.validation-success.hide Username is available.
%p.validation-pending.hide Checking username availability...
.form-group
= f.label :email
= f.email_field :email, class: "form-control middle", required: true, title: "Please provide a valid email address."
......
......@@ -52,4 +52,4 @@
= hidden_field_tag :snippets, true
= hidden_field_tag :repository_ref, @ref
= button_tag 'Go' if ENV['RAILS_ENV'] == 'test'
.search-autocomplete-opts.d-none{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref }
.search-autocomplete-opts.hide{ :'data-autocomplete-path' => search_autocomplete_path, :'data-autocomplete-project-id' => @project.try(:id), :'data-autocomplete-project-ref' => @ref }
......@@ -7,7 +7,7 @@
- if @branches.any? || @tags.any? || @tags_limit_exceeded
%span
= link_to "…", "#", class: "js-details-expand label badge-gray"
%span.js-details-content.d-none
%span.js-details-content.hide
= commit_branches_links(@project, @branches)
- if @tags_limit_exceeded
= render 'limit_exceeded_message', objects: :tag, label_for_message: "tags"
......
......@@ -194,7 +194,7 @@
%strong Removed projects cannot be restored!
= button_to 'Remove project', '#', class: "btn btn-remove js-confirm-danger", data: { "confirm-danger-message" => remove_project_message(@project) }
.save-project-loader.d-none
.save-project-loader.hide
.center
%h2
%i.fa.fa-spinner.fa-spin
......
......@@ -21,7 +21,7 @@
%p.prepend-top-default
You must have permission to create a project in a namespace before forking.
.save-project-loader.d-none.js-fork-content
.save-project-loader.hide.js-fork-content
%h2.text-center
= icon('spinner spin')
Forking repository
......
......@@ -15,7 +15,7 @@
%p.slead
= s_('ContributorsPage|Please wait a moment, this page will automatically refresh when ready.')
.stat-graph.d-none
.stat-graph.hide
.header.clearfix
%h3#date_header.page-title
%p.light
......
......@@ -2,7 +2,7 @@
New Merge Request
= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], url: project_new_merge_request_path(@project), method: :get, html: { class: "merge-request-form form-inline js-requires-input" } do |f|
.d-none.alert.alert-danger.mr-compare-errors
.hide.alert.alert-danger.mr-compare-errors
.js-merge-request-new-compare.row.col-md-12{ 'data-target-project-url': project_new_merge_request_update_branches_path(@source_project), 'data-source-branch-url': project_new_merge_request_branch_from_path(@source_project), 'data-target-branch-url': project_new_merge_request_branch_to_path(@source_project) }
.col-md-6.pl-0
.card.card-new-merge-request
......
......@@ -30,6 +30,6 @@
= link_to("#", class: "js-details-expand d-none d-sm-none d-md-inline") do
%span.text-expander
\...
%span.js-details-content.d-none
%span.js-details-content.hide
= link_to @pipeline.sha, project_commit_path(@project, @pipeline.sha), class: "commit-sha commit-hash-full"
= clipboard_button(text: @pipeline.sha, title: "Copy commit SHA to clipboard")
%span.log_loading.d-none
%span.log_loading.hide
%i.fa.fa-spinner.fa-spin
Loading commit data...
......@@ -20,6 +20,6 @@
.hint.js-with-description-hint
= link_to "#", class: "js-with-description-link" do
Include description in commit message
.hint.js-without-description-hint.d-none
.hint.js-without-description-hint.hide
= link_to "#", class: "js-without-description-link" do
Don't include description in commit message
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