Commit dc002494 authored by PaytonBurdette's avatar PaytonBurdette

Migrate loading spinners

Migrate loading spinners to be
design system compliant using
loading icon helper.

Changelog: changed
parent 22802500
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
#ide.ide-loading{ data: ide_data } #ide.ide-loading{ data: ide_data }
.text-center .text-center
.gl-spinner.gl-spinner-md = gl_loading_icon(size: 'md')
%h2.clgray= _('Loading the GitLab IDE...') %h2.clgray= _('Loading the GitLab IDE...')
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
.content_list.project-activity{ :"data-href" => activity_project_path(@project) } .content_list.project-activity{ :"data-href" => activity_project_path(@project) }
.loading .loading
.gl-spinner.gl-spinner-md = gl_loading_icon(size: 'md')
...@@ -16,5 +16,4 @@ ...@@ -16,5 +16,4 @@
- if @commit - if @commit
.network-graph.gl-bg-white.gl-overflow-scroll.gl-overflow-x-hidden{ data: { url: @url, commit_url: @commit_url, ref: @ref, commit_id: @commit.id } } .network-graph.gl-bg-white.gl-overflow-scroll.gl-overflow-x-hidden{ data: { url: @url, commit_url: @commit_url, ref: @ref, commit_id: @commit.id } }
.text-center.gl-mt-3 = gl_loading_icon(size: 'md', css_class: 'gl-mt-3')
.gl-spinner.gl-spinner-md
...@@ -18,11 +18,9 @@ ...@@ -18,11 +18,9 @@
.project-templates-buttons.import-buttons.tab-pane.active#built-in .project-templates-buttons.import-buttons.tab-pane.active#built-in
= render partial: 'projects/project_templates/template', collection: Gitlab::ProjectTemplate.all + Gitlab::SampleDataTemplate.all = render partial: 'projects/project_templates/template', collection: Gitlab::ProjectTemplate.all + Gitlab::SampleDataTemplate.all
.project-templates-buttons.import-buttons.tab-pane.js-custom-instance-project-templates-tab-content#custom-instance-project-templates{ data: {initial_templates: user_available_project_templates_path(current_user)} } .project-templates-buttons.import-buttons.tab-pane.js-custom-instance-project-templates-tab-content#custom-instance-project-templates{ data: {initial_templates: user_available_project_templates_path(current_user)} }
.text-center.m-4 = gl_loading_icon(size: 'md', css_class: 'gl-mt-4')
.gl-spinner.gl-spinner-md
.project-templates-buttons.import-buttons.tab-pane.js-custom-group-project-templates-tab-content#custom-group-project-templates{ data: {initial_templates: user_available_group_templates_path(current_user, group_id: group_id)} } .project-templates-buttons.import-buttons.tab-pane.js-custom-group-project-templates-tab-content#custom-group-project-templates{ data: {initial_templates: user_available_group_templates_path(current_user, group_id: group_id)} }
.text-center.m-4 = gl_loading_icon(size: 'md', css_class: 'gl-mt-4')
.gl-spinner.gl-spinner-md
.project-fields-form .project-fields-form
= render 'projects/project_templates/project_fields_form' = render 'projects/project_templates/project_fields_form'
......
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