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

[skip ci] Replace .pull-right with .float-right

parent 3e7a17d4
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 21 deletions
Loading
Loading
@@ -15,7 +15,7 @@
%span{ class: visibility_level_color(project.visibility_level) }
= visibility_level_icon(project.visibility_level)
%strong= link_to project.full_name, project
.pull-right
.float-right
- if project.archived
%span.label.label-warning archived
%span.badge.badge-pill
Loading
Loading
Loading
Loading
@@ -226,7 +226,7 @@
%li
%a{ href: "#" }
Dropdown option
.dropdown.inline.pull-right
.dropdown.inline.float-right
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } }
Dropdown
= icon('chevron-down')
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
.content
= render "layouts/flash"
.row
.col-sm-5.pull-right.new-session-forms-container
.col-sm-5.float-right.new-session-forms-container
= yield
.col-sm-7.brand-holder.float-left
%h1
Loading
Loading
Loading
Loading
@@ -9,6 +9,6 @@
Signed in with
= event.details[:with]
authentication
%span.pull-right= time_ago_with_tooltip(event.created_at)
%span.float-right= time_ago_with_tooltip(event.created_at)
 
= paginate events, theme: "gitlab"
Loading
Loading
@@ -24,4 +24,4 @@
Never
 
%td
= link_to 'Remove', profile_chat_name_path(chat_name), method: :delete, class: 'btn btn-danger pull-right', data: { confirm: 'Are you sure you want to revoke this nickname?' }
= link_to 'Remove', profile_chat_name_path(chat_name), method: :delete, class: 'btn btn-danger float-right', data: { confirm: 'Are you sure you want to revoke this nickname?' }
Loading
Loading
@@ -32,7 +32,7 @@
%ul.well-list
%li
= render partial: 'shared/email_with_badge', locals: { email: @primary_email, verified: current_user.confirmed? }
%span.pull-right
%span.float-right
%span.label.label-success Primary email
- if @primary_email === current_user.public_email
%span.label.label-info Public email
Loading
Loading
@@ -41,7 +41,7 @@
- @emails.each do |email|
%li
= render partial: 'shared/email_with_badge', locals: { email: email.email, verified: email.confirmed? }
%span.pull-right
%span.float-right
- if email.email === current_user.public_email
%span.label.label-info Public email
- if email.email === current_user.notification_email
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@
- key.subkeys.each do |subkey|
%li
%code= subkey.fingerprint
.pull-right
.float-right
%span.key-created-at
created #{time_ago_with_tooltip(key.created_at)}
= link_to profile_gpg_key_path(key), data: { confirm: 'Are you sure? Removing this GPG key does not affect already signed commits.' }, method: :delete, class: "btn btn-danger prepend-left-10" do
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@
.last-used-at
last used:
= key.last_used_at ? time_ago_with_tooltip(key.last_used_at) : 'n/a'
.pull-right
.float-right
%span.key-created-at
created #{time_ago_with_tooltip(key.created_at)}
= link_to path_to_key(key, is_admin), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-transparent prepend-left-10" do
Loading
Loading
Loading
Loading
@@ -23,5 +23,5 @@
%pre.well-pre
= @key.key
.col-md-12
.pull-right
.float-right
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
Loading
Loading
@@ -8,5 +8,5 @@
%span.str-truncated
= link_to group.name, group_path(group)
 
.pull-right
.float-right
= render 'shared/notifications/button', notification_setting: setting
Loading
Loading
@@ -8,5 +8,5 @@
%span.str-truncated
= link_to_project(project)
 
.pull-right
.float-right
= render 'shared/notifications/button', notification_setting: setting
Loading
Loading
@@ -86,7 +86,7 @@
%tr
%td= registration.name.presence || "<no name set>"
%td= registration.created_at.to_date.to_s(:medium)
%td= link_to "Delete", profile_u2f_registration_path(registration), method: :delete, class: "btn btn-danger pull-right", data: { confirm: "Are you sure you want to delete this device? This action cannot be undone." }
%td= link_to "Delete", profile_u2f_registration_path(registration), method: :delete, class: "btn btn-danger float-right", data: { confirm: "Are you sure you want to delete this device? This action cannot be undone." }
 
- else
.settings-message.text-center
Loading
Loading
Loading
Loading
@@ -22,7 +22,7 @@
.commit-row-title
%span.item-title.str-truncated-100
= link_to_markdown commit.title, project_commit_path(@project, commit.id), class: "cdark", title: commit.title
.pull-right
.float-right
= link_to commit.short_id, project_commit_path(@project, commit), class: "commit-sha"
&nbsp;
.light
Loading
Loading
Loading
Loading
@@ -16,7 +16,7 @@
= text_field_tag 'file_name', params[:file_name], placeholder: "File name",
required: true, class: 'form-control new-file-name js-file-path-name-input'
 
.pull-right.file-buttons
.float-right.file-buttons
= button_tag class: 'soft-wrap-toggle btn', type: 'button', tabindex: '-1' do
%span.no-wrap
= custom_icon('icon_no_wrap')
Loading
Loading
Loading
Loading
@@ -93,7 +93,7 @@
#{job.coverage}%
 
%td
.pull-right
.float-right
- if can?(current_user, :read_build, job) && job.artifacts?
= link_to download_project_job_artifacts_path(job.project, job), rel: 'nofollow', download: '', title: 'Download artifacts', class: 'btn btn-build' do
= sprite_icon('download')
Loading
Loading
Loading
Loading
@@ -18,7 +18,7 @@
.col-sm-12
.float-left.prepend-top-10
= submit_tag('Validate', class: 'btn btn-success submit-yml')
.pull-right.prepend-top-10
.float-right.prepend-top-10
= button_tag('Clear', type: 'button', class: 'btn btn-secondary clear-yml')
 
.row.prepend-top-20
Loading
Loading
Loading
Loading
@@ -4,5 +4,5 @@
&nbsp;
%span.str-truncated
= link_to_markdown_field(commit, :title, project_commit_path(project, commit.id), class: "commit-row-message")
.pull-right
.float-right
#{time_ago_with_tooltip(commit.committed_date)}
Loading
Loading
@@ -24,7 +24,7 @@
- else
%span.token-never-expires-label Never
%td= token.scopes.present? ? token.scopes.join(", ") : "<no scopes selected>"
%td= link_to s_('DeployTokens|Revoke'), "#", class: "btn btn-danger pull-right", data: { toggle: "modal", target: "#revoke-modal-#{token.id}"}
%td= link_to s_('DeployTokens|Revoke'), "#", class: "btn btn-danger float-right", data: { toggle: "modal", target: "#revoke-modal-#{token.id}"}
= render 'projects/deploy_tokens/revoke_modal', token: token, project: project
- else
.settings-message.text-center
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
%strong.cgreen= pluralize(sum_added_lines, 'addition')
and
%strong.cred= pluralize(sum_removed_lines, 'deletion')
.diff-stats-additions-deletions-collapsed.pull-right.hidden-xs.hidden-sm{ "aria-hidden": "true", "aria-describedby": "diff-stats" }
.diff-stats-additions-deletions-collapsed.float-right.hidden-xs.hidden-sm{ "aria-hidden": "true", "aria-describedby": "diff-stats" }
%strong.cgreen<
+#{sum_added_lines}
%strong.cred<
Loading
Loading
.alert.alert-warning
%h4
Too many changes to show.
.pull-right
.float-right
- if current_controller?(:commit)
= link_to "Plain diff", project_commit_path(@project, @commit, format: :diff), class: "btn btn-sm"
= link_to "Email patch", project_commit_path(@project, @commit, format: :patch), class: "btn btn-sm"
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