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 57 additions and 57 deletions
Loading
Loading
@@ -83,7 +83,7 @@ export default {
</button>
<button
type="button"
class="btn btn-secondary pull-right js-cancel-label-btn"
class="btn btn-secondary float-right js-cancel-label-btn"
>
{{ __('Cancel') }}
</button>
Loading
Loading
Loading
Loading
@@ -21,7 +21,7 @@ export default {
</i>
<button
type="button"
class="edit-link btn btn-blank pull-right js-sidebar-dropdown-toggle"
class="edit-link btn btn-blank float-right js-sidebar-dropdown-toggle"
>
{{ __('Edit') }}
</button>
Loading
Loading
Loading
Loading
@@ -63,5 +63,5 @@
= link_to 'New project page', new_project_path, class: 'btn', target: '_blank', rel: 'noopener noreferrer'
 
- if @appearance.updated_at
%span.pull-right
%span.float-right
Last edit #{time_ago_with_tooltip(@appearance.updated_at)}
Loading
Loading
@@ -38,35 +38,35 @@
%h4 Statistics
%p
Forks
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(ForkedProjectLink.count)
%p
Issues
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(Issue.count)
%p
Merge Requests
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(MergeRequest.count)
%p
Notes
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(Note.count)
%p
Snippets
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(Snippet.count)
%p
SSH Keys
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(Key.count)
%p
Milestones
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(Milestone.count)
%p
Active Users
%span.light.pull-right
%span.light.float-right
= number_with_delimiter(User.active.count)
.col-md-4
.info-well
Loading
Loading
@@ -75,44 +75,44 @@
- sign_up = "Sign up"
%p{ "aria-label" => "#{sign_up}: status " + (allow_signup? ? "on" : "off") }
= sign_up
%span.light.pull-right
%span.light.float-right
= boolean_to_icon allow_signup?
- ldap = "LDAP"
%p{ "aria-label" => "#{ldap}: status " + (Gitlab.config.ldap.enabled ? "on" : "off") }
= ldap
%span.light.pull-right
%span.light.float-right
= boolean_to_icon Gitlab.config.ldap.enabled
- gravatar = "Gravatar"
%p{ "aria-label" => "#{gravatar}: status " + (gravatar_enabled? ? "on" : "off") }
= gravatar
%span.light.pull-right
%span.light.float-right
= boolean_to_icon gravatar_enabled?
- omniauth = "OmniAuth"
%p{ "aria-label" => "#{omniauth}: status " + (Gitlab.config.omniauth.enabled ? "on" : "off") }
= omniauth
%span.light.pull-right
%span.light.float-right
= boolean_to_icon Gitlab.config.omniauth.enabled
- reply_email = "Reply by email"
%p{ "aria-label" => "#{reply_email}: status " + (Gitlab::IncomingEmail.enabled? ? "on" : "off") }
= reply_email
%span.light.pull-right
%span.light.float-right
= boolean_to_icon Gitlab::IncomingEmail.enabled?
- container_reg = "Container Registry"
%p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") }
= container_reg
%span.light.pull-right
%span.light.float-right
= boolean_to_icon Gitlab.config.registry.enabled
- gitlab_pages = 'GitLab Pages'
- gitlab_pages_enabled = Gitlab.config.pages.enabled
%p{ "aria-label" => "#{gitlab_pages}: status " + (gitlab_pages_enabled ? "on" : "off") }
= gitlab_pages
%span.light.pull-right
%span.light.float-right
= boolean_to_icon gitlab_pages_enabled
- gitlab_shared_runners = 'Shared Runners'
- gitlab_shared_runners_enabled = Gitlab.config.gitlab_ci.shared_runners_enabled
%p{ "aria-label" => "#{gitlab_shared_runners}: status " + (gitlab_shared_runners_enabled ? "on" : "off") }
= gitlab_shared_runners
%span.light.pull-right
%span.light.float-right
= boolean_to_icon gitlab_shared_runners_enabled
.col-md-4
.info-well
Loading
Loading
@@ -120,40 +120,40 @@
%h4
Components
- if Gitlab::CurrentSettings.version_check_enabled
.pull-right
.float-right
= version_status_badge
%p
GitLab
%span.pull-right
%span.float-right
= Gitlab::VERSION
%p
GitLab Shell
%span.pull-right
%span.float-right
= Gitlab::Shell.new.version
%p
GitLab Workhorse
%span.pull-right
%span.float-right
= gitlab_workhorse_version
%p
GitLab API
%span.pull-right
%span.float-right
= API::API::version
- if Gitlab.config.pages.enabled
%p
GitLab Pages
%span.pull-right
%span.float-right
= Gitlab::Pages::VERSION
%p
Ruby
%span.pull-right
%span.float-right
#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}
%p
Rails
%span.pull-right
%span.float-right
#{Rails::VERSION::STRING}
%p
= Gitlab::Database.adapter_name
%span.pull-right
%span.float-right
= Gitlab::Database.version
%p
= link_to "Gitaly Servers", admin_gitaly_servers_path
Loading
Loading
@@ -165,7 +165,7 @@
- @projects.each do |project|
%p
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project], class: 'str-truncated-60'
%span.light.pull-right
%span.light.float-right
#{time_ago_with_tooltip(project.created_at)}
.col-md-4
.info-well
Loading
Loading
@@ -175,7 +175,7 @@
%p
= link_to [:admin, user], class: 'str-truncated-60' do
= user.name
%span.light.pull-right
%span.light.float-right
#{time_ago_with_tooltip(user.created_at)}
.col-md-4
.info-well
Loading
Loading
@@ -185,5 +185,5 @@
%p
= link_to [:admin, group], class: 'str-truncated-60' do
= group.full_name
%span.light.pull-right
%span.light.float-right
#{time_ago_with_tooltip(group.created_at)}
Loading
Loading
@@ -2,7 +2,7 @@
 
%h3.page-title.deploy-keys-title
Public deploy keys (#{@deploy_keys.count})
.pull-right
.float-right
= link_to 'New deploy key', new_admin_deploy_key_path, class: 'btn btn-new btn-sm btn-inverted'
 
- if @deploy_keys.any?
Loading
Loading
@@ -29,6 +29,6 @@
%span.cgray
added #{time_ago_with_tooltip(deploy_key.created_at)}
%td
.pull-right
.float-right
= link_to 'Edit', edit_admin_deploy_key_path(deploy_key), class: 'btn btn-sm'
= link_to 'Remove', admin_deploy_key_path(deploy_key), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-sm btn-remove delete-key'
Loading
Loading
@@ -4,7 +4,7 @@
%h3.page-title
Group: #{@group.full_name}
 
= link_to admin_group_edit_path(@group), class: "btn pull-right" do
= link_to admin_group_edit_path(@group), class: "btn float-right" do
%i.fa.fa-pencil-square-o
Edit
%hr
Loading
Loading
@@ -71,7 +71,7 @@
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project]
%span.badge.badge-pill
= storage_counter(project.statistics.storage_size)
%span.pull-right.light
%span.float-right.light
%span.monospace= project.full_path + '.git'
.panel-footer
= paginate @projects, param_name: 'projects_page', theme: 'gitlab'
Loading
Loading
@@ -89,7 +89,7 @@
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project]
%span.badge.badge-pill
= storage_counter(project.statistics.storage_size)
%span.pull-right.light
%span.float-right.light
%span.monospace= project.full_path + '.git'
 
.col-md-6
Loading
Loading
@@ -116,7 +116,7 @@
%strong= @group.name
group members
%span.badge.badge-pill= @group.members.size
.pull-right
.float-right
= link_to icon('pencil-square-o', text: 'Manage access'), polymorphic_url([@group, :members]), class: "btn btn-xs"
%ul.well-list.group-users-list.content-list.members-list
= render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false }
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
 
%hr
 
= link_to 'Resend Request', retry_admin_hook_hook_log_path(@hook, @hook_log), class: "btn btn-secondary pull-right prepend-left-10"
= link_to 'Resend Request', retry_admin_hook_hook_log_path(@hook, @hook_log), class: "btn btn-secondary float-right prepend-left-10"
 
= render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }
 
Loading
Loading
@@ -14,7 +14,7 @@
.form-actions
= f.submit 'Save changes', class: 'btn btn-create'
= render 'shared/web_hooks/test_button', triggers: SystemHook.triggers, hook: @hook
= link_to 'Remove', admin_hook_path(@hook), method: :delete, class: 'btn btn-remove pull-right', data: { confirm: 'Are you sure?' }
= link_to 'Remove', admin_hook_path(@hook), method: :delete, class: 'btn btn-remove float-right', data: { confirm: 'Are you sure?' }
 
%hr
 
Loading
Loading
- page_title "Identities", @user.name, "Users"
= render 'admin/users/head'
 
= link_to 'New identity', new_admin_user_identity_path, class: 'pull-right btn btn-new'
= link_to 'New identity', new_admin_user_identity_path, class: 'float-right btn btn-new'
- if @identities.present?
.table-holder
%table.table
Loading
Loading
Loading
Loading
@@ -2,6 +2,6 @@
.label-row
= render_colored_label(label, tooltip: false)
= markdown_field(label, :description)
.pull-right
.float-right
= link_to 'Edit', edit_admin_label_path(label), class: 'btn btn-sm'
= link_to 'Delete', admin_label_path(label), class: 'btn btn-sm btn-remove remove-row', method: :delete, remote: true, data: {confirm: "Delete this label? Are you sure?"}
- page_title "Labels"
 
%div
= link_to new_admin_label_path, class: "pull-right btn btn-nr btn-new" do
= link_to new_admin_label_path, class: "float-right btn btn-nr btn-new" do
New label
%h3.page-title
Labels
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@
.js-file-title.file-title
%i.fa.fa-file
= klass.file_name
.pull-right
.float-right
= link_to '#', class: 'log-bottom' do
%i.fa.fa-arrow-down
Scroll down
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@
- page_title @project.full_name, "Projects"
%h3.page-title
Project: #{@project.full_name}
= link_to edit_project_path(@project), class: "btn btn-nr pull-right" do
= link_to edit_project_path(@project), class: "btn btn-nr float-right" do
%i.fa.fa-pencil-square-o
Edit
%hr
Loading
Loading
@@ -163,7 +163,7 @@
%strong= @group.name
group members
%span.badge.badge-pill= @group_members.size
.pull-right
.float-right
= link_to admin_group_path(@group), class: 'btn btn-xs' do
= icon('pencil-square-o', text: 'Manage access')
%ul.well-list.content-list.members-list
Loading
Loading
@@ -178,7 +178,7 @@
%strong= @project.name
project members
%span.badge.badge-pill= @project.users.size
.pull-right
.float-right
= link_to icon('pencil-square-o', text: 'Manage access'), polymorphic_url([@project, :members]), class: "btn btn-xs"
%ul.well-list.project_members.content-list.members-list
= render partial: 'shared/members/member', collection: @project_members, as: :member, locals: { show_controls: false }
Loading
Loading
Loading
Loading
@@ -35,7 +35,7 @@
- else
Never
%td.admin-runner-btn-group-cell
.pull-right.btn-group
.float-right.btn-group
= link_to admin_runner_path(runner), class: 'btn btn-sm btn-secondary has-tooltip', title: 'Edit', ref: 'tooltip', aria: { label: 'Edit' }, data: { placement: 'top', container: 'body'} do
= icon('pencil')
&nbsp;
Loading
Loading
Loading
Loading
@@ -45,7 +45,7 @@
= search_field_tag :search, params[:search], class: 'form-control', placeholder: 'Runner description or token', spellcheck: false
= submit_tag 'Search', class: 'btn'
 
.pull-right.light
.float-right.light
Runners with last contact more than a minute ago: #{@active_runners_cnt}
 
%br
Loading
Loading
= content_for :title do
%h3.project-title
Runner ##{@runner.id}
.pull-right
.float-right
- if @runner.shared?
%span.runner-state.runner-state-shared
Shared
Loading
Loading
@@ -45,7 +45,7 @@
%strong
= project.full_name
%td
.pull-right
.float-right
= link_to 'Disable', [:admin, project.namespace.becomes(Namespace), project, runner_project], method: :delete, class: 'btn btn-danger btn-xs'
 
%table.table.unassigned-projects
Loading
Loading
@@ -67,7 +67,7 @@
%td
= project.full_name
%td
.pull-right
.float-right
= form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f|
= f.hidden_field :runner_id, value: @runner.id
= f.submit 'Enable', class: 'btn btn-xs'
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
- if @user.admin
%span.cred (Admin)
 
.pull-right
.float-right
- if @user != current_user && @user.can?(:log_in)
= link_to 'Impersonate', impersonate_admin_user_path(@user), method: :post, class: "btn btn-nr btn-grouped btn-info"
= link_to edit_admin_user_path(@user), class: "btn btn-nr btn-grouped" do
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
%strong= link_to group.name, admin_group_path(group)
&ndash; access to
#{pluralize(group.projects.count, 'project')}
.pull-right
.float-right
%span.light.vertical-align-middle= group_member.human_access
- unless group_member.owner?
= link_to group_group_member_path(group, group_member), data: { confirm: remove_member_message(group_member) }, method: :delete, remote: true, class: "btn-xs btn btn-remove prepend-left-10", title: 'Remove user from group' do
Loading
Loading
@@ -37,7 +37,7 @@
= project.full_name
 
- if member
.pull-right
.float-right
- if member.owner?
%span.light Owner
- else
Loading
Loading
Loading
Loading
@@ -37,7 +37,7 @@
%li
%span.light Secondary email:
%strong= email.email
= link_to remove_email_admin_user_path(@user, email), data: { confirm: "Are you sure you want to remove #{email.email}?" }, method: :delete, class: "btn-xs btn btn-remove pull-right", title: 'Remove secondary email', id: "remove_email_#{email.id}" do
= link_to remove_email_admin_user_path(@user, email), data: { confirm: "Are you sure you want to remove #{email.email}?" }, method: :delete, class: "btn-xs btn btn-remove float-right", title: 'Remove secondary email', id: "remove_email_#{email.id}" do
%i.fa.fa-times
 
%li.two-factor-status
Loading
Loading
@@ -45,7 +45,7 @@
%strong{ class: @user.two_factor_enabled? ? 'cgreen' : 'cred' }
- if @user.two_factor_enabled?
Enabled
= link_to 'Disable', disable_two_factor_admin_user_path(@user), data: {confirm: 'Are you sure?'}, method: :patch, class: 'btn btn-xs btn-remove pull-right', title: 'Disable Two-factor Authentication'
= link_to 'Disable', disable_two_factor_admin_user_path(@user), data: {confirm: 'Are you sure?'}, method: :patch, class: 'btn btn-xs btn-remove float-right', title: 'Disable Two-factor Authentication'
- else
Disabled
 
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
%label{ for: "user_remember_me" }
= f.check_box :remember_me, class: 'remember-me-checkbox'
%span Remember me
.pull-right.forgot-password
.float-right.forgot-password
= link_to "Forgot your password?", new_password_path(:user)
.submit-container.move-submit-down
= f.submit "Sign in", class: "btn btn-save"
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