Commit b413785e authored by Clement Ho's avatar Clement Ho

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

parent 3e7a17d4
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
Submit issue Submit issue
</button> </button>
<button <button
class="btn btn-secondary pull-right" class="btn btn-secondary float-right"
type="button" type="button"
@click="cancel" @click="cancel"
> >
......
...@@ -72,7 +72,7 @@ gl.issueBoards.ModalFooter = Vue.extend({ ...@@ -72,7 +72,7 @@ gl.issueBoards.ModalFooter = Vue.extend({
<lists-dropdown></lists-dropdown> <lists-dropdown></lists-dropdown>
</div> </div>
<button <button
class="btn btn-default pull-right" class="btn btn-default float-right"
type="button" type="button"
@click="toggleModal(false)"> @click="toggleModal(false)">
Cancel Cancel
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<template> <template>
<span <span
v-if="count === 50" v-if="count === 50"
class="events-info pull-right" class="events-info float-right"
> >
<i <i
class="fa fa-warning" class="fa fa-warning"
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
<template> <template>
<div <div
v-if="showButtons" v-if="showButtons"
class="pull-right ide-btn-group" class="float-right ide-btn-group"
> >
<a <a
v-tooltip v-tooltip
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
<button <button
v-if="!discardDraftButtonDisabled" v-if="!discardDraftButtonDisabled"
type="button" type="button"
class="btn btn-secondary btn-sm pull-right" class="btn btn-secondary btn-sm float-right"
@click="discardDraft" @click="discardDraft"
> >
{{ __('Discard draft') }} {{ __('Discard draft') }}
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
:file="file" :file="file"
/> />
</span> </span>
<span class="pull-right"> <span class="float-right">
<mr-file-icon <mr-file-icon
v-if="file.mrChange" v-if="file.mrChange"
/> />
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
:project-id="file.projectId" :project-id="file.projectId"
:branch="file.branchId" :branch="file.branchId"
:path="file.path" :path="file.path"
class="pull-right prepend-left-8" class="float-right prepend-left-8"
/> />
</div> </div>
</div> </div>
......
...@@ -64,14 +64,14 @@ ...@@ -64,14 +64,14 @@
</i> </i>
</button> </button>
<button <button
class="btn btn-secondary pull-right" class="btn btn-secondary float-right"
type="button" type="button"
@click="closeForm"> @click="closeForm">
Cancel Cancel
</button> </button>
<button <button
v-if="shouldShowDeleteButton" v-if="shouldShowDeleteButton"
class="btn btn-danger pull-right append-right-default" class="btn btn-danger float-right append-right-default"
:class="{ disabled: deleteLoading }" :class="{ disabled: deleteLoading }"
type="button" type="button"
:disabled="deleteLoading" :disabled="deleteLoading"
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<span <span
v-if="hasHelpURL" v-if="hasHelpURL"
class="help-button pull-right" class="help-button float-right"
> >
<a <a
:href="helpUrl" :href="helpUrl"
......
...@@ -5,7 +5,7 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -5,7 +5,7 @@ document.addEventListener('DOMContentLoaded', () => {
const twoFactorNode = document.querySelector('.js-two-factor-auth'); const twoFactorNode = document.querySelector('.js-two-factor-auth');
const skippable = twoFactorNode.dataset.twoFactorSkippable === 'true'; const skippable = twoFactorNode.dataset.twoFactorSkippable === 'true';
if (skippable) { if (skippable) {
const button = `<a class="btn btn-xs btn-warning pull-right" data-method="patch" href="${twoFactorNode.dataset.two_factor_skip_url}">Configure it later</a>`; const button = `<a class="btn btn-xs btn-warning float-right" data-method="patch" href="${twoFactorNode.dataset.two_factor_skip_url}">Configure it later</a>`;
const flashAlert = document.querySelector('.flash-alert .container-fluid'); const flashAlert = document.querySelector('.flash-alert .container-fluid');
if (flashAlert) flashAlert.insertAdjacentHTML('beforeend', button); if (flashAlert) flashAlert.insertAdjacentHTML('beforeend', button);
} }
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
<template> <template>
<div <div
id="peek-request-selector" id="peek-request-selector"
class="pull-right" class="float-right"
> >
<select v-model="currentRequestId"> <select v-model="currentRequestId">
<option <option
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
css-class="btn-secondary btn-transparent btn-clipboard" css-class="btn-secondary btn-transparent btn-clipboard"
/> />
<div class="controls hidden-xs pull-right"> <div class="controls hidden-xs float-right">
<button <button
v-if="repo.canDelete" v-if="repo.canDelete"
type="button" type="button"
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<button <button
v-if="item.canDelete" v-if="item.canDelete"
type="button" type="button"
class="js-delete-registry btn btn-danger hidden-xs pull-right" class="js-delete-registry btn btn-danger hidden-xs float-right"
:title="s__('ContainerRegistry|Remove tag')" :title="s__('ContainerRegistry|Remove tag')"
:aria-label="s__('ContainerRegistry|Remove tag')" :aria-label="s__('ContainerRegistry|Remove tag')"
data-container="body" data-container="body"
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
</i> </i>
<a <a
v-if="editable" v-if="editable"
class="js-sidebar-dropdown-toggle edit-link pull-right" class="js-sidebar-dropdown-toggle edit-link float-right"
href="#" href="#"
> >
{{ __('Edit') }} {{ __('Edit') }}
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
<a <a
v-if="showToggle" v-if="showToggle"
aria-label="Toggle sidebar" aria-label="Toggle sidebar"
class="gutter-toggle pull-right js-sidebar-toggle" class="gutter-toggle float-right js-sidebar-toggle"
href="#" href="#"
role="button" role="button"
> >
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
{{ __('Confidentiality') }} {{ __('Confidentiality') }}
<a <a
v-if="isEditable" v-if="isEditable"
class="pull-right confidential-edit" class="float-right confidential-edit"
href="#" href="#"
@click.prevent="toggleForm" @click.prevent="toggleForm"
> >
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
{{ sprintf(__('Lock %{issuableDisplayName}'), { issuableDisplayName: issuableDisplayName }) }} {{ sprintf(__('Lock %{issuableDisplayName}'), { issuableDisplayName: issuableDisplayName }) }}
<button <button
v-if="isEditable" v-if="isEditable"
class="pull-right lock-edit" class="float-right lock-edit"
type="button" type="button"
@click.prevent="toggleForm" @click.prevent="toggleForm"
> >
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</span> </span>
<toggle-button <toggle-button
ref="toggleButton" ref="toggleButton"
class="pull-right hide-collapsed js-issuable-subscribe-button" class="float-right hide-collapsed js-issuable-subscribe-button"
:is-loading="showLoadingState" :is-loading="showLoadingState"
:value="subscribed" :value="subscribed"
@change="toggleSubscription" @change="toggleSubscription"
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
{{ timeSpentHumanReadable }} {{ timeSpentHumanReadable }}
</span> </span>
</div> </div>
<div class="compare-display estimated pull-right"> <div class="compare-display estimated float-right">
<span class="compare-label"> <span class="compare-label">
{{ s__('TimeTrackingEstimated|Est') }} {{ s__('TimeTrackingEstimated|Est') }}
</span> </span>
......
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
<div class="title hide-collapsed"> <div class="title hide-collapsed">
{{ __('Time tracking') }} {{ __('Time tracking') }}
<div <div
class="help-button pull-right" class="help-button float-right"
v-if="!showHelpState" v-if="!showHelpState"
@click="toggleHelpState(true)" @click="toggleHelpState(true)"
> >
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
</i> </i>
</div> </div>
<div <div
class="close-help-button pull-right" class="close-help-button float-right"
v-if="showHelpState" v-if="showHelpState"
@click="toggleHelpState(false)" @click="toggleHelpState(false)"
> >
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</h4> </h4>
<button <button
type="button" type="button"
class="close pull-right" class="close float-right"
@click="emitCancel($event)" @click="emitCancel($event)"
data-dismiss="modal" data-dismiss="modal"
aria-label="Close" aria-label="Close"
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
v-if="isLoading" v-if="isLoading"
:inline="true" :inline="true"
/> />
<div class="pull-right"> <div class="float-right">
<button <button
v-if="editable && !editing" v-if="editable && !editing"
type="button" type="button"
......
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
</button> </button>
<button <button
type="button" type="button"
class="btn btn-secondary pull-right js-cancel-label-btn" class="btn btn-secondary float-right js-cancel-label-btn"
> >
{{ __('Cancel') }} {{ __('Cancel') }}
</button> </button>
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
</i> </i>
<button <button
type="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') }} {{ __('Edit') }}
</button> </button>
......
...@@ -63,5 +63,5 @@ ...@@ -63,5 +63,5 @@
= link_to 'New project page', new_project_path, class: 'btn', target: '_blank', rel: 'noopener noreferrer' = link_to 'New project page', new_project_path, class: 'btn', target: '_blank', rel: 'noopener noreferrer'
- if @appearance.updated_at - if @appearance.updated_at
%span.pull-right %span.float-right
Last edit #{time_ago_with_tooltip(@appearance.updated_at)} Last edit #{time_ago_with_tooltip(@appearance.updated_at)}
...@@ -38,35 +38,35 @@ ...@@ -38,35 +38,35 @@
%h4 Statistics %h4 Statistics
%p %p
Forks Forks
%span.light.pull-right %span.light.float-right
= number_with_delimiter(ForkedProjectLink.count) = number_with_delimiter(ForkedProjectLink.count)
%p %p
Issues Issues
%span.light.pull-right %span.light.float-right
= number_with_delimiter(Issue.count) = number_with_delimiter(Issue.count)
%p %p
Merge Requests Merge Requests
%span.light.pull-right %span.light.float-right
= number_with_delimiter(MergeRequest.count) = number_with_delimiter(MergeRequest.count)
%p %p
Notes Notes
%span.light.pull-right %span.light.float-right
= number_with_delimiter(Note.count) = number_with_delimiter(Note.count)
%p %p
Snippets Snippets
%span.light.pull-right %span.light.float-right
= number_with_delimiter(Snippet.count) = number_with_delimiter(Snippet.count)
%p %p
SSH Keys SSH Keys
%span.light.pull-right %span.light.float-right
= number_with_delimiter(Key.count) = number_with_delimiter(Key.count)
%p %p
Milestones Milestones
%span.light.pull-right %span.light.float-right
= number_with_delimiter(Milestone.count) = number_with_delimiter(Milestone.count)
%p %p
Active Users Active Users
%span.light.pull-right %span.light.float-right
= number_with_delimiter(User.active.count) = number_with_delimiter(User.active.count)
.col-md-4 .col-md-4
.info-well .info-well
...@@ -75,44 +75,44 @@ ...@@ -75,44 +75,44 @@
- sign_up = "Sign up" - sign_up = "Sign up"
%p{ "aria-label" => "#{sign_up}: status " + (allow_signup? ? "on" : "off") } %p{ "aria-label" => "#{sign_up}: status " + (allow_signup? ? "on" : "off") }
= sign_up = sign_up
%span.light.pull-right %span.light.float-right
= boolean_to_icon allow_signup? = boolean_to_icon allow_signup?
- ldap = "LDAP" - ldap = "LDAP"
%p{ "aria-label" => "#{ldap}: status " + (Gitlab.config.ldap.enabled ? "on" : "off") } %p{ "aria-label" => "#{ldap}: status " + (Gitlab.config.ldap.enabled ? "on" : "off") }
= ldap = ldap
%span.light.pull-right %span.light.float-right
= boolean_to_icon Gitlab.config.ldap.enabled = boolean_to_icon Gitlab.config.ldap.enabled
- gravatar = "Gravatar" - gravatar = "Gravatar"
%p{ "aria-label" => "#{gravatar}: status " + (gravatar_enabled? ? "on" : "off") } %p{ "aria-label" => "#{gravatar}: status " + (gravatar_enabled? ? "on" : "off") }
= gravatar = gravatar
%span.light.pull-right %span.light.float-right
= boolean_to_icon gravatar_enabled? = boolean_to_icon gravatar_enabled?
- omniauth = "OmniAuth" - omniauth = "OmniAuth"
%p{ "aria-label" => "#{omniauth}: status " + (Gitlab.config.omniauth.enabled ? "on" : "off") } %p{ "aria-label" => "#{omniauth}: status " + (Gitlab.config.omniauth.enabled ? "on" : "off") }
= omniauth = omniauth
%span.light.pull-right %span.light.float-right
= boolean_to_icon Gitlab.config.omniauth.enabled = boolean_to_icon Gitlab.config.omniauth.enabled
- reply_email = "Reply by email" - reply_email = "Reply by email"
%p{ "aria-label" => "#{reply_email}: status " + (Gitlab::IncomingEmail.enabled? ? "on" : "off") } %p{ "aria-label" => "#{reply_email}: status " + (Gitlab::IncomingEmail.enabled? ? "on" : "off") }
= reply_email = reply_email
%span.light.pull-right %span.light.float-right
= boolean_to_icon Gitlab::IncomingEmail.enabled? = boolean_to_icon Gitlab::IncomingEmail.enabled?
- container_reg = "Container Registry" - container_reg = "Container Registry"
%p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") } %p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") }
= container_reg = container_reg
%span.light.pull-right %span.light.float-right
= boolean_to_icon Gitlab.config.registry.enabled = boolean_to_icon Gitlab.config.registry.enabled
- gitlab_pages = 'GitLab Pages' - gitlab_pages = 'GitLab Pages'
- gitlab_pages_enabled = Gitlab.config.pages.enabled - gitlab_pages_enabled = Gitlab.config.pages.enabled
%p{ "aria-label" => "#{gitlab_pages}: status " + (gitlab_pages_enabled ? "on" : "off") } %p{ "aria-label" => "#{gitlab_pages}: status " + (gitlab_pages_enabled ? "on" : "off") }
= gitlab_pages = gitlab_pages
%span.light.pull-right %span.light.float-right
= boolean_to_icon gitlab_pages_enabled = boolean_to_icon gitlab_pages_enabled
- gitlab_shared_runners = 'Shared Runners' - gitlab_shared_runners = 'Shared Runners'
- gitlab_shared_runners_enabled = Gitlab.config.gitlab_ci.shared_runners_enabled - gitlab_shared_runners_enabled = Gitlab.config.gitlab_ci.shared_runners_enabled
%p{ "aria-label" => "#{gitlab_shared_runners}: status " + (gitlab_shared_runners_enabled ? "on" : "off") } %p{ "aria-label" => "#{gitlab_shared_runners}: status " + (gitlab_shared_runners_enabled ? "on" : "off") }
= gitlab_shared_runners = gitlab_shared_runners
%span.light.pull-right %span.light.float-right
= boolean_to_icon gitlab_shared_runners_enabled = boolean_to_icon gitlab_shared_runners_enabled
.col-md-4 .col-md-4
.info-well .info-well
...@@ -120,40 +120,40 @@ ...@@ -120,40 +120,40 @@
%h4 %h4
Components Components
- if Gitlab::CurrentSettings.version_check_enabled - if Gitlab::CurrentSettings.version_check_enabled
.pull-right .float-right
= version_status_badge = version_status_badge
%p %p
GitLab GitLab
%span.pull-right %span.float-right
= Gitlab::VERSION = Gitlab::VERSION
%p %p
GitLab Shell GitLab Shell
%span.pull-right %span.float-right
= Gitlab::Shell.new.version = Gitlab::Shell.new.version
%p %p
GitLab Workhorse GitLab Workhorse
%span.pull-right %span.float-right
= gitlab_workhorse_version = gitlab_workhorse_version
%p %p
GitLab API GitLab API
%span.pull-right %span.float-right
= API::API::version = API::API::version
- if Gitlab.config.pages.enabled - if Gitlab.config.pages.enabled
%p %p
GitLab Pages GitLab Pages
%span.pull-right %span.float-right
= Gitlab::Pages::VERSION = Gitlab::Pages::VERSION
%p %p
Ruby Ruby
%span.pull-right %span.float-right
#{RUBY_VERSION}p#{RUBY_PATCHLEVEL} #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}
%p %p
Rails Rails
%span.pull-right %span.float-right
#{Rails::VERSION::STRING} #{Rails::VERSION::STRING}
%p %p
= Gitlab::Database.adapter_name = Gitlab::Database.adapter_name
%span.pull-right %span.float-right
= Gitlab::Database.version = Gitlab::Database.version
%p %p
= link_to "Gitaly Servers", admin_gitaly_servers_path = link_to "Gitaly Servers", admin_gitaly_servers_path
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
- @projects.each do |project| - @projects.each do |project|
%p %p
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project], class: 'str-truncated-60' = 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)} #{time_ago_with_tooltip(project.created_at)}
.col-md-4 .col-md-4
.info-well .info-well
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
%p %p
= link_to [:admin, user], class: 'str-truncated-60' do = link_to [:admin, user], class: 'str-truncated-60' do
= user.name = user.name
%span.light.pull-right %span.light.float-right
#{time_ago_with_tooltip(user.created_at)} #{time_ago_with_tooltip(user.created_at)}
.col-md-4 .col-md-4
.info-well .info-well
...@@ -185,5 +185,5 @@ ...@@ -185,5 +185,5 @@
%p %p
= link_to [:admin, group], class: 'str-truncated-60' do = link_to [:admin, group], class: 'str-truncated-60' do
= group.full_name = group.full_name
%span.light.pull-right %span.light.float-right
#{time_ago_with_tooltip(group.created_at)} #{time_ago_with_tooltip(group.created_at)}
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%h3.page-title.deploy-keys-title %h3.page-title.deploy-keys-title
Public deploy keys (#{@deploy_keys.count}) 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' = link_to 'New deploy key', new_admin_deploy_key_path, class: 'btn btn-new btn-sm btn-inverted'
- if @deploy_keys.any? - if @deploy_keys.any?
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
%span.cgray %span.cgray
added #{time_ago_with_tooltip(deploy_key.created_at)} added #{time_ago_with_tooltip(deploy_key.created_at)}
%td %td
.pull-right .float-right
= link_to 'Edit', edit_admin_deploy_key_path(deploy_key), class: 'btn btn-sm' = 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' = link_to 'Remove', admin_deploy_key_path(deploy_key), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-sm btn-remove delete-key'
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%h3.page-title %h3.page-title
Group: #{@group.full_name} 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 %i.fa.fa-pencil-square-o
Edit Edit
%hr %hr
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project] = link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project]
%span.badge.badge-pill %span.badge.badge-pill
= storage_counter(project.statistics.storage_size) = storage_counter(project.statistics.storage_size)
%span.pull-right.light %span.float-right.light
%span.monospace= project.full_path + '.git' %span.monospace= project.full_path + '.git'
.panel-footer .panel-footer
= paginate @projects, param_name: 'projects_page', theme: 'gitlab' = paginate @projects, param_name: 'projects_page', theme: 'gitlab'
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
= link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project] = link_to project.full_name, [:admin, project.namespace.becomes(Namespace), project]
%span.badge.badge-pill %span.badge.badge-pill
= storage_counter(project.statistics.storage_size) = storage_counter(project.statistics.storage_size)
%span.pull-right.light %span.float-right.light
%span.monospace= project.full_path + '.git' %span.monospace= project.full_path + '.git'
.col-md-6 .col-md-6
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
%strong= @group.name %strong= @group.name
group members group members
%span.badge.badge-pill= @group.members.size %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" = 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 %ul.well-list.group-users-list.content-list.members-list
= render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false } = render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%hr %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 } = render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.form-actions .form-actions
= f.submit 'Save changes', class: 'btn btn-create' = f.submit 'Save changes', class: 'btn btn-create'
= render 'shared/web_hooks/test_button', triggers: SystemHook.triggers, hook: @hook = 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 %hr
......
- page_title "Identities", @user.name, "Users" - page_title "Identities", @user.name, "Users"
= render 'admin/users/head' = 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? - if @identities.present?
.table-holder .table-holder
%table.table %table.table
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
.label-row .label-row
= render_colored_label(label, tooltip: false) = render_colored_label(label, tooltip: false)
= markdown_field(label, :description) = markdown_field(label, :description)
.pull-right .float-right
= link_to 'Edit', edit_admin_label_path(label), class: 'btn btn-sm' = 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?"} = 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" - page_title "Labels"
%div %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 New label
%h3.page-title %h3.page-title
Labels Labels
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.js-file-title.file-title .js-file-title.file-title
%i.fa.fa-file %i.fa.fa-file
= klass.file_name = klass.file_name
.pull-right .float-right
= link_to '#', class: 'log-bottom' do = link_to '#', class: 'log-bottom' do
%i.fa.fa-arrow-down %i.fa.fa-arrow-down
Scroll down Scroll down
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- page_title @project.full_name, "Projects" - page_title @project.full_name, "Projects"
%h3.page-title %h3.page-title
Project: #{@project.full_name} 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 %i.fa.fa-pencil-square-o
Edit Edit
%hr %hr
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
%strong= @group.name %strong= @group.name
group members group members
%span.badge.badge-pill= @group_members.size %span.badge.badge-pill= @group_members.size
.pull-right .float-right
= link_to admin_group_path(@group), class: 'btn btn-xs' do = link_to admin_group_path(@group), class: 'btn btn-xs' do
= icon('pencil-square-o', text: 'Manage access') = icon('pencil-square-o', text: 'Manage access')
%ul.well-list.content-list.members-list %ul.well-list.content-list.members-list
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
%strong= @project.name %strong= @project.name
project members project members
%span.badge.badge-pill= @project.users.size %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" = 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 %ul.well-list.project_members.content-list.members-list
= render partial: 'shared/members/member', collection: @project_members, as: :member, locals: { show_controls: false } = render partial: 'shared/members/member', collection: @project_members, as: :member, locals: { show_controls: false }
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
- else - else
Never Never
%td.admin-runner-btn-group-cell %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 = 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') = icon('pencil')
&nbsp; &nbsp;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
= search_field_tag :search, params[:search], class: 'form-control', placeholder: 'Runner description or token', spellcheck: false = search_field_tag :search, params[:search], class: 'form-control', placeholder: 'Runner description or token', spellcheck: false
= submit_tag 'Search', class: 'btn' = submit_tag 'Search', class: 'btn'
.pull-right.light .float-right.light
Runners with last contact more than a minute ago: #{@active_runners_cnt} Runners with last contact more than a minute ago: #{@active_runners_cnt}
%br %br
......
= content_for :title do = content_for :title do
%h3.project-title %h3.project-title
Runner ##{@runner.id} Runner ##{@runner.id}
.pull-right .float-right
- if @runner.shared? - if @runner.shared?
%span.runner-state.runner-state-shared %span.runner-state.runner-state-shared
Shared Shared
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
%strong %strong
= project.full_name = project.full_name
%td %td
.pull-right .float-right
= link_to 'Disable', [:admin, project.namespace.becomes(Namespace), project, runner_project], method: :delete, class: 'btn btn-danger btn-xs' = link_to 'Disable', [:admin, project.namespace.becomes(Namespace), project, runner_project], method: :delete, class: 'btn btn-danger btn-xs'
%table.table.unassigned-projects %table.table.unassigned-projects
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
%td %td
= project.full_name = project.full_name
%td %td
.pull-right .float-right
= form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f| = form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f|
= f.hidden_field :runner_id, value: @runner.id = f.hidden_field :runner_id, value: @runner.id
= f.submit 'Enable', class: 'btn btn-xs' = f.submit 'Enable', class: 'btn btn-xs'
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- if @user.admin - if @user.admin
%span.cred (Admin) %span.cred (Admin)
.pull-right .float-right
- if @user != current_user && @user.can?(:log_in) - 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 '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 = link_to edit_admin_user_path(@user), class: "btn btn-nr btn-grouped" do
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%strong= link_to group.name, admin_group_path(group) %strong= link_to group.name, admin_group_path(group)
&ndash; access to &ndash; access to
#{pluralize(group.projects.count, 'project')} #{pluralize(group.projects.count, 'project')}
.pull-right .float-right
%span.light.vertical-align-middle= group_member.human_access %span.light.vertical-align-middle= group_member.human_access
- unless group_member.owner? - 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 = 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
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
= project.full_name = project.full_name
- if member - if member
.pull-right .float-right
- if member.owner? - if member.owner?
%span.light Owner %span.light Owner
- else - else
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
%li %li
%span.light Secondary email: %span.light Secondary email:
%strong= email.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 %i.fa.fa-times
%li.two-factor-status %li.two-factor-status
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
%strong{ class: @user.two_factor_enabled? ? 'cgreen' : 'cred' } %strong{ class: @user.two_factor_enabled? ? 'cgreen' : 'cred' }
- if @user.two_factor_enabled? - if @user.two_factor_enabled?
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 - else
Disabled Disabled
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%label{ for: "user_remember_me" } %label{ for: "user_remember_me" }
= f.check_box :remember_me, class: 'remember-me-checkbox' = f.check_box :remember_me, class: 'remember-me-checkbox'
%span Remember me %span Remember me
.pull-right.forgot-password .float-right.forgot-password
= link_to "Forgot your password?", new_password_path(:user) = link_to "Forgot your password?", new_password_path(:user)
.submit-container.move-submit-down .submit-container.move-submit-down
= f.submit "Sign in", class: "btn btn-save" = f.submit "Sign in", class: "btn btn-save"
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
%span{ class: visibility_level_color(project.visibility_level) } %span{ class: visibility_level_color(project.visibility_level) }
= visibility_level_icon(project.visibility_level) = visibility_level_icon(project.visibility_level)
%strong= link_to project.full_name, project %strong= link_to project.full_name, project
.pull-right .float-right
- if project.archived - if project.archived
%span.label.label-warning archived %span.label.label-warning archived
%span.badge.badge-pill %span.badge.badge-pill
......
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
%li %li
%a{ href: "#" } %a{ href: "#" }
Dropdown option Dropdown option
.dropdown.inline.pull-right .dropdown.inline.float-right
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } } %button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } }
Dropdown Dropdown
= icon('chevron-down') = icon('chevron-down')
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.content .content
= render "layouts/flash" = render "layouts/flash"
.row .row
.col-sm-5.pull-right.new-session-forms-container .col-sm-5.float-right.new-session-forms-container
= yield = yield
.col-sm-7.brand-holder.float-left .col-sm-7.brand-holder.float-left
%h1 %h1
......
...@@ -9,6 +9,6 @@ ...@@ -9,6 +9,6 @@
Signed in with Signed in with
= event.details[:with] = event.details[:with]
authentication 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" = paginate events, theme: "gitlab"
...@@ -24,4 +24,4 @@ ...@@ -24,4 +24,4 @@
Never Never
%td %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?' }
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
%ul.well-list %ul.well-list
%li %li
= render partial: 'shared/email_with_badge', locals: { email: @primary_email, verified: current_user.confirmed? } = 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 %span.label.label-success Primary email
- if @primary_email === current_user.public_email - if @primary_email === current_user.public_email
%span.label.label-info Public email %span.label.label-info Public email
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
- @emails.each do |email| - @emails.each do |email|
%li %li
= render partial: 'shared/email_with_badge', locals: { email: email.email, verified: email.confirmed? } = 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 - if email.email === current_user.public_email
%span.label.label-info Public email %span.label.label-info Public email
- if email.email === current_user.notification_email - if email.email === current_user.notification_email
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
- key.subkeys.each do |subkey| - key.subkeys.each do |subkey|
%li %li
%code= subkey.fingerprint %code= subkey.fingerprint
.pull-right .float-right
%span.key-created-at %span.key-created-at
created #{time_ago_with_tooltip(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 = 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
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.last-used-at .last-used-at
last used: last used:
= key.last_used_at ? time_ago_with_tooltip(key.last_used_at) : 'n/a' = key.last_used_at ? time_ago_with_tooltip(key.last_used_at) : 'n/a'
.pull-right .float-right
%span.key-created-at %span.key-created-at
created #{time_ago_with_tooltip(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 = link_to path_to_key(key, is_admin), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-transparent prepend-left-10" do
......
...@@ -23,5 +23,5 @@ ...@@ -23,5 +23,5 @@
%pre.well-pre %pre.well-pre
= @key.key = @key.key
.col-md-12 .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" = link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
%span.str-truncated %span.str-truncated
= link_to group.name, group_path(group) = link_to group.name, group_path(group)
.pull-right .float-right
= render 'shared/notifications/button', notification_setting: setting = render 'shared/notifications/button', notification_setting: setting
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
%span.str-truncated %span.str-truncated
= link_to_project(project) = link_to_project(project)
.pull-right .float-right
= render 'shared/notifications/button', notification_setting: setting = render 'shared/notifications/button', notification_setting: setting
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
%tr %tr
%td= registration.name.presence || "<no name set>" %td= registration.name.presence || "<no name set>"
%td= registration.created_at.to_date.to_s(:medium) %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 - else
.settings-message.text-center .settings-message.text-center
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
.commit-row-title .commit-row-title
%span.item-title.str-truncated-100 %span.item-title.str-truncated-100
= link_to_markdown commit.title, project_commit_path(@project, commit.id), class: "cdark", title: commit.title = 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" = link_to commit.short_id, project_commit_path(@project, commit), class: "commit-sha"
&nbsp; &nbsp;
.light .light
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= text_field_tag 'file_name', params[:file_name], placeholder: "File name", = text_field_tag 'file_name', params[:file_name], placeholder: "File name",
required: true, class: 'form-control new-file-name js-file-path-name-input' 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 = button_tag class: 'soft-wrap-toggle btn', type: 'button', tabindex: '-1' do
%span.no-wrap %span.no-wrap
= custom_icon('icon_no_wrap') = custom_icon('icon_no_wrap')
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
#{job.coverage}% #{job.coverage}%
%td %td
.pull-right .float-right
- if can?(current_user, :read_build, job) && job.artifacts? - 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 = link_to download_project_job_artifacts_path(job.project, job), rel: 'nofollow', download: '', title: 'Download artifacts', class: 'btn btn-build' do
= sprite_icon('download') = sprite_icon('download')
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.col-sm-12 .col-sm-12
.float-left.prepend-top-10 .float-left.prepend-top-10
= submit_tag('Validate', class: 'btn btn-success submit-yml') = 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') = button_tag('Clear', type: 'button', class: 'btn btn-secondary clear-yml')
.row.prepend-top-20 .row.prepend-top-20
......
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
&nbsp; &nbsp;
%span.str-truncated %span.str-truncated
= link_to_markdown_field(commit, :title, project_commit_path(project, commit.id), class: "commit-row-message") = 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)} #{time_ago_with_tooltip(commit.committed_date)}
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
- else - else
%span.token-never-expires-label Never %span.token-never-expires-label Never
%td= token.scopes.present? ? token.scopes.join(", ") : "<no scopes selected>" %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 = render 'projects/deploy_tokens/revoke_modal', token: token, project: project
- else - else
.settings-message.text-center .settings-message.text-center
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%strong.cgreen= pluralize(sum_added_lines, 'addition') %strong.cgreen= pluralize(sum_added_lines, 'addition')
and and
%strong.cred= pluralize(sum_removed_lines, 'deletion') %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< %strong.cgreen<
+#{sum_added_lines} +#{sum_added_lines}
%strong.cred< %strong.cred<
......
.alert.alert-warning .alert.alert-warning
%h4 %h4
Too many changes to show. Too many changes to show.
.pull-right .float-right
- if current_controller?(:commit) - if current_controller?(:commit)
= link_to "Plain diff", project_commit_path(@project, @commit, format: :diff), class: "btn btn-sm" = 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" = link_to "Email patch", project_commit_path(@project, @commit, format: :patch), class: "btn btn-sm"
......
...@@ -83,4 +83,4 @@ ...@@ -83,4 +83,4 @@
- if can? current_user, :remove_project, @project - if can? current_user, :remove_project, @project
.prepend-top-20 .prepend-top-20
= link_to 'Remove project', [@project.namespace.becomes(Namespace), @project], data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove pull-right" = link_to 'Remove project', [@project.namespace.becomes(Namespace), @project], data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove float-right"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
= icon('circle') = icon('circle')
&nbsp; &nbsp;
= language[:label] = language[:label]
.pull-right .float-right
= language[:value] = language[:value]
\% \%
.col-md-8 .col-md-8
......
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
Request details Request details
.col-lg-9 .col-lg-9
= link_to 'Resend Request', retry_project_hook_hook_log_path(@project, @hook, @hook_log), class: "btn btn-secondary pull-right prepend-left-10" = link_to 'Resend Request', retry_project_hook_hook_log_path(@project, @hook, @hook_log), class: "btn btn-secondary float-right prepend-left-10"
= render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log } = render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= f.submit 'Save changes', class: 'btn btn-create' = f.submit 'Save changes', class: 'btn btn-create'
= render 'shared/web_hooks/test_button', triggers: ProjectHook.triggers, hook: @hook = render 'shared/web_hooks/test_button', triggers: ProjectHook.triggers, hook: @hook
= link_to 'Remove', project_hook_path(@project, @hook), method: :delete, class: 'btn btn-remove pull-right', data: { confirm: 'Are you sure?' } = link_to 'Remove', project_hook_path(@project, @hook), method: :delete, class: 'btn btn-remove float-right', data: { confirm: 'Are you sure?' }
%hr %hr
......
...@@ -50,5 +50,5 @@ ...@@ -50,5 +50,5 @@
= render 'shared/issuable_meta_data', issuable: issue = render 'shared/issuable_meta_data', issuable: issue
.pull-right.issuable-updated-at.hidden-xs .float-right.issuable-updated-at.hidden-xs
%span updated #{time_ago_with_tooltip(issue.updated_at, placement: 'bottom', html_class: 'issue_update_ago')} %span updated #{time_ago_with_tooltip(issue.updated_at, placement: 'bottom', html_class: 'issue_update_ago')}
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
.issuable-warning-icon.inline= sprite_icon('lock', size: 16, css_class: 'icon') .issuable-warning-icon.inline= sprite_icon('lock', size: 16, css_class: 'icon')
= issuable_meta(@issue, @project, "Issue") = issuable_meta(@issue, @project, "Issue")
%a.btn.btn-secondary.pull-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" } %a.btn.btn-secondary.float-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" }
= icon('angle-double-left') = icon('angle-double-left')
.detail-page-header-actions.js-issuable-actions .detail-page-header-actions.js-issuable-actions
......
...@@ -27,5 +27,5 @@ ...@@ -27,5 +27,5 @@
= link_to "New issue", new_project_issue_path(@project, issue: build_failed_issue_options), class: 'btn btn-new btn-inverted' = link_to "New issue", new_project_issue_path(@project, issue: build_failed_issue_options), class: 'btn btn-new btn-inverted'
- if can?(current_user, :update_build, @build) && @build.retryable? - if can?(current_user, :update_build, @build) && @build.retryable?
= link_to "Retry job", retry_project_job_path(@project, @build), class: 'btn btn-inverted-secondary', method: :post = link_to "Retry job", retry_project_job_path(@project, @build), class: 'btn btn-inverted-secondary', method: :post
%button.btn.btn-secondary.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle{ role: "button", type: "button" } %button.btn.btn-secondary.float-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
%strong.inline.prepend-top-8 %strong.inline.prepend-top-8
= @build.name = @build.name
- if can?(current_user, :update_build, @build) && @build.retryable? - if can?(current_user, :update_build, @build) && @build.retryable?
= link_to "Retry", retry_namespace_project_job_path(@project.namespace, @project, @build), class: 'js-retry-button pull-right btn btn-inverted-secondary btn-retry visible-md-block visible-lg-block', method: :post = link_to "Retry", retry_namespace_project_job_path(@project.namespace, @project, @build), class: 'js-retry-button float-right btn btn-inverted-secondary btn-retry visible-md-block visible-lg-block', method: :post
%a.gutter-toggle.pull-right.visible-xs-block.visible-sm-block.js-sidebar-build-toggle{ href: "#", 'aria-label': 'Toggle Sidebar', role: 'button' } %a.gutter-toggle.float-right.visible-xs-block.visible-sm-block.js-sidebar-build-toggle{ href: "#", 'aria-label': 'Toggle Sidebar', role: 'button' }
= icon('angle-double-right') = icon('angle-double-right')
#js-details-block-vue #js-details-block-vue
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
of log - of log -
%a.js-raw-link.raw-link{ href: raw_project_job_path(@project, @build) }>< Complete Raw %a.js-raw-link.raw-link{ href: raw_project_job_path(@project, @build) }>< Complete Raw
.controllers.pull-right .controllers.float-right
- if @build.has_trace? - if @build.has_trace?
= link_to raw_project_job_path(@project, @build), = link_to raw_project_job_path(@project, @build),
title: 'Show complete raw', title: 'Show complete raw',
......
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
and try again. and try again.
%hr %hr
.clearfix .clearfix
= link_to 'Go back', edit_project_service_path(@project, @service), class: 'btn btn-lg pull-right' = link_to 'Go back', edit_project_service_path(@project, @service), class: 'btn btn-lg float-right'
...@@ -41,6 +41,6 @@ ...@@ -41,6 +41,6 @@
= icon('external-link') = icon('external-link')
%hr %hr
.clearfix .clearfix
.pull-right .float-right
= link_to 'Cancel', edit_project_service_path(@project, @service), class: 'btn btn-lg' = link_to 'Cancel', edit_project_service_path(@project, @service), class: 'btn btn-lg'
= f.submit 'Install', class: 'btn btn-save btn-lg' = f.submit 'Install', class: 'btn btn-save btn-lg'
- @body_class = 'card-content' - @body_class = 'card-content'
.service-installation .service-installation
.inline.pull-right .inline.float-right
= custom_icon('mattermost_logo', size: 48) = custom_icon('mattermost_logo', size: 48)
%h3 Install Mattermost Command %h3 Install Mattermost Command
- if @teams.empty? - if @teams.empty?
......
...@@ -59,5 +59,5 @@ ...@@ -59,5 +59,5 @@
= render 'shared/issuable_meta_data', issuable: merge_request = render 'shared/issuable_meta_data', issuable: merge_request
.pull-right.issuable-updated-at.hidden-xs .float-right.issuable-updated-at.hidden-xs
%span updated #{time_ago_with_tooltip(merge_request.updated_at, placement: 'bottom', html_class: 'merge_request_updated_ago')} %span updated #{time_ago_with_tooltip(merge_request.updated_at, placement: 'bottom', html_class: 'merge_request_updated_ago')}
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.issuable-warning-icon.inline= sprite_icon('lock', size: 16, css_class: 'icon') .issuable-warning-icon.inline= sprite_icon('lock', size: 16, css_class: 'icon')
= issuable_meta(@merge_request, @project, "Merge request") = issuable_meta(@merge_request, @project, "Merge request")
%a.btn.btn-secondary.pull-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" } %a.btn.btn-secondary.float-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" }
= icon('angle-double-left') = icon('angle-double-left')
.detail-page-header-actions.js-issuable-actions .detail-page-header-actions.js-issuable-actions
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%span into %span into
%strong.ref-name= target_title %strong.ref-name= target_title
%span.pull-right %span.float-right
= link_to 'Change branches', mr_change_branches_path(@merge_request) = link_to 'Change branches', mr_change_branches_path(@merge_request)
%hr %hr
= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal common-note-form js-requires-input js-quick-submit' } do |f| = form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal common-note-form js-requires-input js-quick-submit' } do |f|
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
comparing two versions of the diff comparing two versions of the diff
- else - else
viewing an old version of the diff viewing an old version of the diff
.pull-right .float-right
= link_to diffs_project_merge_request_path(@merge_request.project, @merge_request), class: 'btn btn-sm' do = link_to diffs_project_merge_request_path(@merge_request.project, @merge_request), class: 'btn btn-sm' do
Show latest version Show latest version
= "of the diff" if @commit = "of the diff" if @commit
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#delete-milestone-modal #delete-milestone-modal
%a.btn.btn-secondary.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle{ href: "#" } %a.btn.btn-secondary.btn-grouped.float-right.visible-xs-block.js-sidebar-toggle{ href: "#" }
= icon('angle-double-left') = icon('angle-double-left')
.detail-page-description.milestone-detail .detail-page-description.milestone-detail
......
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
- if can? current_user, :remove_project, @project - if can? current_user, :remove_project, @project
.prepend-top-20 .prepend-top-20
= link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove pull-right" = link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove float-right"
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Pages Pages
- if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https) - if can?(current_user, :update_pages, @project) && (Gitlab.config.pages.external_http || Gitlab.config.pages.external_https)
= link_to new_project_pages_domain_path(@project), class: 'btn btn-new pull-right', title: 'New Domain' do = link_to new_project_pages_domain_path(@project), class: 'btn btn-new float-right', title: 'New Domain' do
New Domain New Domain
%p.light %p.light
......
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
= render 'form', { f: f } = render 'form', { f: f }
.form-actions .form-actions
= f.submit 'Create New Domain', class: "btn btn-save" = f.submit 'Create New Domain', class: "btn btn-save"
.pull-right .float-right
= link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel' = link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel'
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
This domain is not verified. You will need to verify ownership before access is enabled. This domain is not verified. You will need to verify ownership before access is enabled.
%h3.page-title.with-button %h3.page-title.with-button
= link_to 'Edit', edit_project_pages_domain_path(@project, @domain), class: 'btn btn-success pull-right' = link_to 'Edit', edit_project_pages_domain_path(@project, @domain), class: 'btn btn-success float-right'
Pages Domain Pages Domain
.table-holder .table-holder
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
= link_to user_path(pipeline_schedule.owner) do = link_to user_path(pipeline_schedule.owner) do
= pipeline_schedule.owner&.name = pipeline_schedule.owner&.name
%td %td
.pull-right.btn-group .float-right.btn-group
- if can?(current_user, :play_pipeline_schedule, pipeline_schedule) - if can?(current_user, :play_pipeline_schedule, pipeline_schedule)
= link_to play_pipeline_schedule_path(pipeline_schedule), method: :post, title: s_('Play'), class: 'btn' do = link_to play_pipeline_schedule_path(pipeline_schedule), method: :post, title: s_('Play'), class: 'btn' do
= icon('play') = icon('play')
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
\- \-
- if can?(current_user, :update_container_image, @project) - if can?(current_user, :update_container_image, @project)
%td.content %td.content
.controls.hidden-xs.pull-right .controls.hidden-xs.float-right
= link_to project_registry_repository_tag_path(@project, tag.repository, tag.name), = link_to project_registry_repository_tag_path(@project, tag.repository, tag.name),
method: :delete, method: :delete,
class: 'btn btn-remove has-tooltip', class: 'btn btn-remove has-tooltip',
......
...@@ -14,5 +14,5 @@ ...@@ -14,5 +14,5 @@
= image_tag avatar_icon_for_email(commit.author_email), class: "", width: 16, alt: '' = image_tag avatar_icon_for_email(commit.author_email), class: "", width: 16, alt: ''
= markdown(truncate(commit.title, length: 40), pipeline: :single_line, author: commit.author) = markdown(truncate(commit.title, length: 40), pipeline: :single_line, author: commit.author)
%td %td
%span.pull-right.cgray %span.float-right.cgray
= time_ago_with_tooltip(commit.committed_date) = time_ago_with_tooltip(commit.committed_date)
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
%span.commit-sha %span.commit-sha
= runner.short_sha = runner.short_sha
.pull-right .float-right
- if @project_runners.include?(runner) - if @project_runners.include?(runner)
- if runner.active? - if runner.active?
= link_to 'Pause', pause_project_runner_path(@project, runner), method: :post, class: 'btn btn-sm btn-danger', data: { confirm: "Are you sure?" } = link_to 'Pause', pause_project_runner_path(@project, runner), method: :post, class: 'btn btn-sm btn-danger', data: { confirm: "Are you sure?" }
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
= form_for [@project.namespace.becomes(Namespace), @project, @project.runner_projects.new] do |f| = form_for [@project.namespace.becomes(Namespace), @project, @project.runner_projects.new] do |f|
= f.hidden_field :runner_id, value: runner.id = f.hidden_field :runner_id, value: runner.id
= f.submit 'Enable for this project', class: 'btn btn-sm' = f.submit 'Enable for this project', class: 'btn btn-sm'
.pull-right .float-right
%small.light %small.light
\##{runner.id} \##{runner.id}
- if runner.description.present? - if runner.description.present?
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%h3.page-title %h3.page-title
Runner ##{@runner.id} Runner ##{@runner.id}
.pull-right .float-right
- if @runner.shared? - if @runner.shared?
%span.runner-state.runner-state-shared %span.runner-state.runner-state-shared
Shared Shared
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= badge.title.capitalize = badge.title.capitalize
&middot; &middot;
= badge.to_html = badge.to_html
.pull-right .float-right
= render 'shared/ref_switcher', destination: 'badges', align_right: true = render 'shared/ref_switcher', destination: 'badges', align_right: true
.panel-body .panel-body
.row .row
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
.form-actions .form-actions
- if @page && @page.persisted? - if @page && @page.persisted?
= f.submit _("Save changes"), class: 'btn-save btn' = f.submit _("Save changes"), class: 'btn-save btn'
.pull-right .float-right
= link_to _("Cancel"), project_wiki_path(@project, @page), class: 'btn btn-cancel btn-grouped' = link_to _("Cancel"), project_wiki_path(@project, @page), class: 'btn btn-cancel btn-grouped'
- else - else
= f.submit s_("Wiki|Create page"), class: 'btn-create btn' = f.submit s_("Wiki|Create page"), class: 'btn-create btn'
.pull-right .float-right
= link_to _("Cancel"), project_wiki_path(@project, :home), class: 'btn btn-cancel' = link_to _("Cancel"), project_wiki_path(@project, :home), class: 'btn btn-cancel'
%li %li
= link_to wiki_page.title, project_wiki_path(@project, wiki_page) = link_to wiki_page.title, project_wiki_path(@project, wiki_page)
%small (#{wiki_page.format}) %small (#{wiki_page.format})
.pull-right .float-right
%small= (s_("Last edited %{date}") % { date: time_ago_with_tooltip(wiki_page.last_version.authored_date) }).html_safe %small= (s_("Last edited %{date}") % { date: time_ago_with_tooltip(wiki_page.last_version.authored_date) }).html_safe
%aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" } } %aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" } }
.sidebar-container .sidebar-container
.block.wiki-sidebar-header.append-bottom-default .block.wiki-sidebar-header.append-bottom-default
%a.gutter-toggle.pull-right.visible-xs-block.visible-sm-block.js-sidebar-wiki-toggle{ href: "#" } %a.gutter-toggle.float-right.visible-xs-block.visible-sm-block.js-sidebar-wiki-toggle{ href: "#" }
= icon('angle-double-right') = icon('angle-double-right')
- git_access_url = project_wikis_git_access_path(@project) - git_access_url = project_wikis_git_access_path(@project)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- page_title s_("WikiClone|Git Access"), _("Wiki") - page_title s_("WikiClone|Git Access"), _("Wiki")
.wiki-page-header.has-sidebar-toggle .wiki-page-header.has-sidebar-toggle
%button.btn.btn-secondary.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-secondary.visible-xs.visible-sm.float-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left') = icon('angle-double-left')
.git-access-header .git-access-header
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
%span.term.str-truncated= issue.title %span.term.str-truncated= issue.title
- if issue.closed? - if issue.closed?
%span.label.label-danger.prepend-left-5 Closed %span.label.label-danger.prepend-left-5 Closed
.pull-right ##{issue.iid} .float-right ##{issue.iid}
- if issue.description.present? - if issue.description.present?
.description.term .description.term
= search_md_sanitize(issue, :description) = search_md_sanitize(issue, :description)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%span.label.label-primary.prepend-left-5 Merged %span.label.label-primary.prepend-left-5 Merged
- elsif merge_request.closed? - elsif merge_request.closed?
%span.label.label-danger.prepend-left-5 Closed %span.label.label-danger.prepend-left-5 Closed
.pull-right= merge_request.to_reference .float-right= merge_request.to_reference
- if merge_request.description.present? - if merge_request.description.present?
.description.term .description.term
= search_md_sanitize(merge_request, :description) = search_md_sanitize(merge_request, :description)
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
%span.label.label-gray %span.label.label-gray
%i.fa.fa-lock %i.fa.fa-lock
private private
%span.cgray.monospace.tiny.pull-right.term %span.cgray.monospace.tiny.float-right.term
= snippet_title.file_name = snippet_title.file_name
%small.pull-right.cgray %small.float-right.cgray
- if snippet_title.project_id? - if snippet_title.project_id?
= link_to snippet_title.project.full_name, project_path(snippet_title.project) = link_to snippet_title.project.full_name, project_path(snippet_title.project)
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
data: {confirm: 'Remove this label? Are you sure?'}, data: {confirm: 'Remove this label? Are you sure?'},
class: 'text-danger' class: 'text-danger'
.pull-right.hidden-xs.hidden-sm .float-right.hidden-xs.hidden-sm
- if label.is_a?(ProjectLabel) && label.project.group && can?(current_user, :admin_label, label.project.group) - if label.is_a?(ProjectLabel) && label.project.group && can?(current_user, :admin_label, label.project.group)
%button.js-promote-project-label-button.btn.btn-transparent.btn-action.has-tooltip{ title: _('Promote to Group Label'), %button.js-promote-project-label-button.btn.btn-transparent.btn-action.has-tooltip{ title: _('Promote to Group Label'),
disabled: true, disabled: true,
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
= text_field_tag 'impersonation-token-token', token.token, readonly: true, class: "form-control" = text_field_tag 'impersonation-token-token', token.token, readonly: true, class: "form-control"
= clipboard_button(text: token.token) = clipboard_button(text: token.token)
- path = impersonation ? revoke_admin_user_impersonation_token_path(token.user, token) : revoke_profile_personal_access_token_path(token) - path = impersonation ? revoke_admin_user_impersonation_token_path(token.user, token) : revoke_profile_personal_access_token_path(token)
%td= link_to "Revoke", path, method: :put, class: "btn btn-danger pull-right", data: { confirm: "Are you sure you want to revoke this #{type} Token? This action cannot be undone." } %td= link_to "Revoke", path, method: :put, class: "btn btn-danger float-right", data: { confirm: "Are you sure you want to revoke this #{type} Token? This action cannot be undone." }
- else - else
.settings-message.text-center .settings-message.text-center
This user has no active #{type} Tokens. This user has no active #{type} Tokens.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.project-limit-message.alert.alert-warning.hidden-xs .project-limit-message.alert.alert-warning.hidden-xs
You won't be able to create new projects because you have reached your project limit. You won't be able to create new projects because you have reached your project limit.
.pull-right .float-right
= link_to "Don't show again", profile_path(user: {hide_project_limit: true}), method: :put, class: 'alert-link' = link_to "Don't show again", profile_path(user: {hide_project_limit: true}), method: :put, class: 'alert-link'
| |
= link_to 'Remind later', '#', class: 'hide-project-limit-message alert-link' = link_to 'Remind later', '#', class: 'hide-project-limit-message alert-link'
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
%board-delete{ "inline-template" => true, %board-delete{ "inline-template" => true,
":list" => "list", ":list" => "list",
"v-if" => "!list.preset && list.id" } "v-if" => "!list.preset && list.id" }
%button.board-delete.has-tooltip.pull-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" } %button.board-delete.has-tooltip.float-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
= icon("trash") = icon("trash")
.issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' } .issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' }
%span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' } %span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%span %span
= precede "#" do = precede "#" do
{{ issue.iid }} {{ issue.iid }}
%a.gutter-toggle.pull-right{ role: "button", %a.gutter-toggle.float-right{ role: "button",
href: "#", href: "#",
"@click.prevent" => "closeSidebar", "@click.prevent" => "closeSidebar",
"aria-label" => "Toggle sidebar" } "aria-label" => "Toggle sidebar" }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Due date Due date
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = icon("spinner spin", class: "block-loading")
= link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link pull-right" = link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link float-right"
.value .value
.value-content .value-content
%span.no-value{ "v-if" => "!issue.dueDate" } %span.no-value{ "v-if" => "!issue.dueDate" }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Labels Labels
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = icon("spinner spin", class: "block-loading")
= link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link pull-right" = link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link float-right"
.value.issuable-show-labels .value.issuable-show-labels
%span.no-value{ "v-if" => "issue.labels && issue.labels.length === 0" } %span.no-value{ "v-if" => "issue.labels && issue.labels.length === 0" }
None None
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Milestone Milestone
- if can_admin_issue? - if can_admin_issue?
= icon("spinner spin", class: "block-loading") = icon("spinner spin", class: "block-loading")
= link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link pull-right" = link_to "Edit", "#", class: "js-sidebar-dropdown-toggle edit-link float-right"
.value .value
%span.no-value{ "v-if" => "!issue.milestone" } %span.no-value{ "v-if" => "!issue.milestone" }
None None
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.block.issuable-sidebar-header .block.issuable-sidebar-header
.filter-item.inline.update-issues-btn.float-left .filter-item.inline.update-issues-btn.float-left
= button_tag "Update all", class: "btn update-selected-issues btn-info", disabled: true = button_tag "Update all", class: "btn update-selected-issues btn-info", disabled: true
= button_tag "Cancel", class: "btn btn-secondary js-bulk-update-menu-hide pull-right" = button_tag "Cancel", class: "btn btn-secondary js-bulk-update-menu-hide float-right"
.block .block
.title .title
Status Status
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
= render "shared/issuable/label_dropdown", selected: selected_labels, use_id: false, selected_toggle: params[:label_name], data_options: { field_name: "label_name[]" } = render "shared/issuable/label_dropdown", selected: selected_labels, use_id: false, selected_toggle: params[:label_name], data_options: { field_name: "label_name[]" }
- unless @no_filters_set - unless @no_filters_set
.pull-right .float-right
= render 'shared/sort_dropdown' = render 'shared/sort_dropdown'
- has_labels = @labels && @labels.any? - has_labels = @labels && @labels.any?
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
- is_footer = !(issuable.is_a?(MergeRequest) && issuable.new_record?) - is_footer = !(issuable.is_a?(MergeRequest) && issuable.new_record?)
.row-content-block{ class: (is_footer ? "footer-block" : "middle-block") } .row-content-block{ class: (is_footer ? "footer-block" : "middle-block") }
.pull-right .float-right
- if issuable.new_record? - if issuable.new_record?
= link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable.class]), class: 'btn btn-cancel' = link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable.class]), class: 'btn btn-cancel'
- else - else
......
...@@ -14,5 +14,5 @@ ...@@ -14,5 +14,5 @@
.clearfix .clearfix
%button.btn.btn-primary.float-left.js-new-label-btn{ type: "button" } %button.btn.btn-primary.float-left.js-new-label-btn{ type: "button" }
= _('Create') = _('Create')
%button.btn.btn-secondary.pull-right.js-cancel-label-btn{ type: "button" } %button.btn.btn-secondary.float-right.js-cancel-label-btn{ type: "button" }
= _('Cancel') = _('Cancel')
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- if current_user - if current_user
%span.issuable-header-text.hide-collapsed.float-left %span.issuable-header-text.hide-collapsed.float-left
= _('Todo') = _('Todo')
%a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" } %a.gutter-toggle.float-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" }
= sidebar_gutter_toggle_icon = sidebar_gutter_toggle_icon
- if current_user - if current_user
= render "shared/issuable/sidebar_todo", todo: todo, issuable: issuable = render "shared/issuable/sidebar_todo", todo: todo, issuable: issuable
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
= _('Milestone') = _('Milestone')
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable - if can_edit_issuable
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
- if issuable.milestone - if issuable.milestone
= link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_title(issuable.milestone), data: { container: "body", html: 1 } = link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_title(issuable.milestone), data: { container: "body", html: 1 }
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
= _('Due date') = _('Due date')
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can?(current_user, :"admin_#{issuable.to_ability_name}", @project) - if can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
%span.value-content %span.value-content
- if issuable.due_date - if issuable.due_date
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
= _('Labels') = _('Labels')
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable - if can_edit_issuable
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.issuable-show-labels.hide-collapsed{ class: ("has-labels" if selected_labels.any?) } .value.issuable-show-labels.hide-collapsed{ class: ("has-labels" if selected_labels.any?) }
- if selected_labels.any? - if selected_labels.any?
- selected_labels.each do |label| - selected_labels.each do |label|
......
...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
= _('Assignee') = _('Assignee')
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable - if can_edit_issuable
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
- if !signed_in - if !signed_in
%a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => _('Toggle sidebar') } %a.gutter-toggle.float-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => _('Toggle sidebar') }
= sidebar_gutter_toggle_icon = sidebar_gutter_toggle_icon
.value.hide-collapsed .value.hide-collapsed
- if issuable.assignee - if issuable.assignee
= link_to_member(@project, issuable.assignee, size: 32, extra_class: 'bold') do = link_to_member(@project, issuable.assignee, size: 32, extra_class: 'bold') do
- if !issuable.can_be_merged_by?(issuable.assignee) - if !issuable.can_be_merged_by?(issuable.assignee)
%span.pull-right.cannot-be-merged{ data: { toggle: 'tooltip', placement: 'left' }, title: _('Not allowed to merge') } %span.float-right.cannot-be-merged{ data: { toggle: 'tooltip', placement: 'left' }, title: _('Not allowed to merge') }
= icon('exclamation-triangle', 'aria-hidden': 'true') = icon('exclamation-triangle', 'aria-hidden': 'true')
%span.username %span.username
= issuable.assignee.to_reference = issuable.assignee.to_reference
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- todo_content = is_collapsed ? icon('plus-square') : _('Add todo') - todo_content = is_collapsed ? icon('plus-square') : _('Add todo')
%button.issuable-todo-btn.js-issuable-todo{ type: 'button', %button.issuable-todo-btn.js-issuable-todo{ type: 'button',
class: (is_collapsed ? 'btn-blank sidebar-collapsed-icon dont-change-state has-tooltip' : 'btn btn-secondary issuable-header-btn pull-right'), class: (is_collapsed ? 'btn-blank sidebar-collapsed-icon dont-change-state has-tooltip' : 'btn btn-secondary issuable-header-btn float-right'),
title: (todo.nil? ? _('Add todo') : _('Mark done')), title: (todo.nil? ? _('Add todo') : _('Mark done')),
'aria-label' => (todo.nil? ? _('Add todo') : _('Mark done')), 'aria-label' => (todo.nil? ? _('Add todo') : _('Mark done')),
data: issuable_todo_button_data(issuable, todo, is_collapsed) } data: issuable_todo_button_data(issuable, todo, is_collapsed) }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
Assignee Assignee
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable - if can_edit_issuable
= link_to 'Edit', '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to 'Edit', '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
- if assignees.any? - if assignees.any?
- assignees.each do |assignee| - assignees.each do |assignee|
......
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
Assignee Assignee
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable - if can_edit_issuable
= link_to 'Edit', '#', class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to 'Edit', '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
- if merge_request.assignee - if merge_request.assignee
= link_to_member(@project, merge_request.assignee, size: 32, extra_class: 'bold') do = link_to_member(@project, merge_request.assignee, size: 32, extra_class: 'bold') do
- unless merge_request.can_be_merged_by?(merge_request.assignee) - unless merge_request.can_be_merged_by?(merge_request.assignee)
%span.pull-right.cannot-be-merged{ data: { toggle: 'tooltip', placement: 'left' }, title: 'Not allowed to merge' } %span.float-right.cannot-be-merged{ data: { toggle: 'tooltip', placement: 'left' }, title: 'Not allowed to merge' }
= icon('exclamation-triangle', 'aria-hidden': 'true') = icon('exclamation-triangle', 'aria-hidden': 'true')
%span.username %span.username
= merge_request.assignee.to_reference = merge_request.assignee.to_reference
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
= f.label :start_date, "Start Date", class: "control-label" = f.label :start_date, "Start Date", class: "control-label"
.col-sm-10 .col-sm-10
= f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date" = f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date"
%a.inline.pull-right.prepend-top-5.js-clear-start-date{ href: "#" } Clear start date %a.inline.float-right.prepend-top-5.js-clear-start-date{ href: "#" } Clear start date
.col-md-6 .col-md-6
.form-group .form-group
= f.label :due_date, "Due Date", class: "control-label" = f.label :due_date, "Due Date", class: "control-label"
.col-sm-10 .col-sm-10
= f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date" = f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date"
%a.inline.pull-right.prepend-top-5.js-clear-due-date{ href: "#" } Clear due date %a.inline.float-right.prepend-top-5.js-clear-due-date{ href: "#" } Clear due date
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%span.prepend-description-left %span.prepend-description-left
= markdown_field(label, :description) = markdown_field(label, :description)
.pull-right.hidden-xs.hidden-sm.hidden-md .float-right.hidden-xs.hidden-sm.hidden-md
= link_to milestones_label_path(options.merge(state: 'opened')), class: 'btn btn-transparent btn-action' do = link_to milestones_label_path(options.merge(state: 'opened')), class: 'btn btn-transparent btn-action' do
- pluralize milestone_issues_by_label_count(@milestone, label, state: :opened), 'open issue' - pluralize milestone_issues_by_label_count(@milestone, label, state: :opened), 'open issue'
= link_to milestones_label_path(options.merge(state: 'closed')), class: 'btn btn-transparent btn-action' do = link_to milestones_label_path(options.merge(state: 'closed')), class: 'btn btn-transparent btn-action' do
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%span - Project Milestone %span - Project Milestone
.col-sm-6 .col-sm-6
.pull-right.light #{milestone.percent_complete(current_user)}% complete .float-right.light #{milestone.percent_complete(current_user)}% complete
.row .row
.col-sm-6 .col-sm-6
= link_to pluralize(milestone.total_issues_count(current_user), 'Issue'), issues_path = link_to pluralize(milestone.total_issues_count(current_user), 'Issue'), issues_path
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => affix_offset, "spy" => "affix", "always-show-toggle" => true }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' } %aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => affix_offset, "spy" => "affix", "always-show-toggle" => true }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' }
.issuable-sidebar.milestone-sidebar .issuable-sidebar.milestone-sidebar
.block.milestone-progress.issuable-sidebar-header .block.milestone-progress.issuable-sidebar-header
%a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" } %a.gutter-toggle.float-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" }
= sidebar_gutter_toggle_icon = sidebar_gutter_toggle_icon
.sidebar-collapsed-icon .sidebar-collapsed-icon
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
.title .title
Start date Start date
- if @project && can?(current_user, :admin_milestone, @project) - if @project && can?(current_user, :admin_milestone, @project)
= link_to 'Edit', edit_project_milestone_path(@project, @milestone), class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to 'Edit', edit_project_milestone_path(@project, @milestone), class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value .value
%span.value-content %span.value-content
- if milestone.start_date - if milestone.start_date
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
.title.hide-collapsed .title.hide-collapsed
Due date Due date
- if @project && can?(current_user, :admin_milestone, @project) - if @project && can?(current_user, :admin_milestone, @project)
= link_to 'Edit', edit_project_milestone_path(@project, @milestone), class: 'js-sidebar-dropdown-toggle edit-link pull-right' = link_to 'Edit', edit_project_milestone_path(@project, @milestone), class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
%span.value-content %span.value-content
- if milestone.due_date - if milestone.due_date
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
Issues Issues
%span.badge.badge-pill= milestone.issues_visible_to_user(current_user).count %span.badge.badge-pill= milestone.issues_visible_to_user(current_user).count
- if project && can?(current_user, :create_issue, project) - if project && can?(current_user, :create_issue, project)
= link_to new_project_issue_path(project, issue: { milestone_id: milestone.id }), class: "pull-right", title: "New Issue" do = link_to new_project_issue_path(project, issue: { milestone_id: milestone.id }), class: "float-right", title: "New Issue" do
New issue New issue
.value.hide-collapsed.bold .value.hide-collapsed.bold
%span.milestone-stat %span.milestone-stat
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- group = local_assigns[:group] - group = local_assigns[:group]
.detail-page-header .detail-page-header
%a.btn.btn-secondary.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle{ href: "#" } %a.btn.btn-secondary.btn-grouped.float-right.visible-xs-block.js-sidebar-toggle{ href: "#" }
= icon('angle-double-left') = icon('angle-double-left')
.status-box{ class: "status-box-#{milestone.closed? ? 'closed' : 'open'}" } .status-box{ class: "status-box-#{milestone.closed? ? 'closed' : 'open'}" }
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
&nbsp;&middot; &nbsp;&middot;
= milestone_date_range(milestone) = milestone_date_range(milestone)
- if group - if group
.pull-right .float-right
- if can?(current_user, :admin_milestones, group) - if can?(current_user, :admin_milestones, group)
- if milestone.group_milestone? - if milestone.group_milestone?
= link_to edit_group_milestone_path(group, milestone), class: "btn btn btn-grouped" do = link_to edit_group_milestone_path(group, milestone), class: "btn btn btn-grouped" do
......
...@@ -33,5 +33,5 @@ ...@@ -33,5 +33,5 @@
= link_to project_path(snippet.project) do = link_to project_path(snippet.project) do
= snippet.project.full_name = snippet.project.full_name
.pull-right.snippet-updated-at .float-right.snippet-updated-at
%span updated #{time_ago_with_tooltip(snippet.updated_at, placement: 'bottom')} %span updated #{time_ago_with_tooltip(snippet.updated_at, placement: 'bottom')}
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- header_title t('sherlock.title'), sherlock_transactions_path - header_title t('sherlock.title'), sherlock_transactions_path
.row-content-block .row-content-block
.pull-right .float-right
= link_to(sherlock_transaction_path(@transaction), class: 'btn') do = link_to(sherlock_transaction_path(@transaction), class: 'btn') do
%i.fa.fa-arrow-left %i.fa.fa-arrow-left
= t('sherlock.transaction') = t('sherlock.transaction')
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
.pull-right .float-right
%button.js-clipboard-trigger.btn.btn-xs{ title: t('sherlock.copy_to_clipboard'), type: :button } %button.js-clipboard-trigger.btn.btn-xs{ title: t('sherlock.copy_to_clipboard'), type: :button }
%i.fa.fa-clipboard %i.fa.fa-clipboard
%pre.hidden %pre.hidden
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
.pull-right .float-right
%button.js-clipboard-trigger.btn.btn-xs{ title: t('sherlock.copy_to_clipboard'), type: :button } %button.js-clipboard-trigger.btn.btn-xs{ title: t('sherlock.copy_to_clipboard'), type: :button }
%i.fa.fa-clipboard %i.fa.fa-clipboard
%pre.hidden %pre.hidden
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
= t('sherlock.backtrace') = t('sherlock.backtrace')
.row-content-block .row-content-block
.pull-right .float-right
= link_to(sherlock_transaction_path(@transaction), class: 'btn') do = link_to(sherlock_transaction_path(@transaction), class: 'btn') do
%i.fa.fa-arrow-left %i.fa.fa-arrow-left
= t('sherlock.transaction') = t('sherlock.transaction')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- header_title t('sherlock.title'), sherlock_transactions_path - header_title t('sherlock.title'), sherlock_transactions_path
.row-content-block .row-content-block
.pull-right .float-right
= link_to(destroy_all_sherlock_transactions_path, = link_to(destroy_all_sherlock_transactions_path,
class: 'btn btn-danger', class: 'btn btn-danger',
method: :delete) do method: :delete) do
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#{@transaction.file_samples.length} #{@transaction.file_samples.length}
.row-content-block .row-content-block
.pull-right .float-right
= link_to(sherlock_transactions_path, class: 'btn') do = link_to(sherlock_transactions_path, class: 'btn') do
%i.fa.fa-arrow-left %i.fa.fa-arrow-left
= t('sherlock.all_transactions') = t('sherlock.all_transactions')
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
Snippets Snippets
%li.breadcrumb-item %li.breadcrumb-item
= @user.name = @user.name
.pull-right.hidden-xs .float-right.hidden-xs
= link_to user_path(@user) do = link_to user_path(@user) do
#{@user.name} profile page #{@user.name} profile page
......
.block.labels .block.labels
.sidebar-collapsed-icon.js-sidebar-labels-tooltip .sidebar-collapsed-icon.js-sidebar-labels-tooltip
.title.hide-collapsed .title.hide-collapsed
%a.edit-link.pull-right{ href: "#" } %a.edit-link.float-right{ href: "#" }
Edit Edit
.selectbox.hide-collapsed{ style: "display: none;" } .selectbox.hide-collapsed{ style: "display: none;" }
.dropdown .dropdown
......
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