Rename .btn-default to .btn-secondary
This commit is contained in:
parent
63c9b63a3f
commit
917b7e0dd9
|
@ -130,7 +130,7 @@ export default {
|
||||||
Submit issue
|
Submit issue
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-default pull-right"
|
class="btn btn-secondary pull-right"
|
||||||
type="button"
|
type="button"
|
||||||
@click="cancel"
|
@click="cancel"
|
||||||
>
|
>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
btnCssClass: {
|
btnCssClass: {
|
||||||
type: String,
|
type: String,
|
||||||
required: false,
|
required: false,
|
||||||
default: 'btn-default',
|
default: 'btn-secondary',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<button
|
<button
|
||||||
v-tooltip
|
v-tooltip
|
||||||
type="button"
|
type="button"
|
||||||
class="dropdown btn btn-default dropdown-new js-dropdown-play-icon-container"
|
class="dropdown btn btn-secondary dropdown-new js-dropdown-play-icon-container"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
:title="title"
|
:title="title"
|
||||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
||||||
<div class="text-center prepend-top-10">
|
<div class="text-center prepend-top-10">
|
||||||
<a
|
<a
|
||||||
:href="folderUrl(model)"
|
:href="folderUrl(model)"
|
||||||
class="btn btn-default"
|
class="btn btn-secondary"
|
||||||
>
|
>
|
||||||
{{ s__("Environments|Show all") }}
|
{{ s__("Environments|Show all") }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-sm btn-default dropdown-toggle add-to-tree"
|
class="btn btn-sm btn-secondary dropdown-toggle add-to-tree"
|
||||||
aria-label="Create new file or directory"
|
aria-label="Create new file or directory"
|
||||||
@click.stop="openDropdown()"
|
@click.stop="openDropdown()"
|
||||||
>
|
>
|
||||||
|
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
<button
|
<button
|
||||||
v-if="!discardDraftButtonDisabled"
|
v-if="!discardDraftButtonDisabled"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default btn-sm pull-right"
|
class="btn btn-secondary btn-sm pull-right"
|
||||||
@click="discardDraft"
|
@click="discardDraft"
|
||||||
>
|
>
|
||||||
{{ __('Discard draft') }}
|
{{ __('Discard draft') }}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
</i>
|
</i>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-default pull-right"
|
class="btn btn-secondary pull-right"
|
||||||
type="button"
|
type="button"
|
||||||
@click="closeForm">
|
@click="closeForm">
|
||||||
Cancel
|
Cancel
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
v-tooltip
|
v-tooltip
|
||||||
v-if="showInlineEditButton && canUpdate"
|
v-if="showInlineEditButton && canUpdate"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default btn-edit btn-svg js-issuable-edit"
|
class="btn btn-secondary btn-edit btn-svg js-issuable-edit"
|
||||||
v-html="pencilIcon"
|
v-html="pencilIcon"
|
||||||
title="Edit title and description"
|
title="Edit title and description"
|
||||||
data-placement="bottom"
|
data-placement="bottom"
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
class="btn-group prepend-top-5"
|
class="btn-group prepend-top-5"
|
||||||
role="group">
|
role="group">
|
||||||
<a
|
<a
|
||||||
class="js-cancel-job btn btn-sm btn-default"
|
class="js-cancel-job btn btn-sm btn-secondary"
|
||||||
:href="job.cancel_path"
|
:href="job.cancel_path"
|
||||||
data-method="post"
|
data-method="post"
|
||||||
rel="nofollow"
|
rel="nofollow"
|
||||||
|
|
|
@ -35,7 +35,7 @@ export default {
|
||||||
<clipboard-button
|
<clipboard-button
|
||||||
title="Copy file path to clipboard"
|
title="Copy file path to clipboard"
|
||||||
:text="diffFile.submoduleLink"
|
:text="diffFile.submoduleLink"
|
||||||
css-class="btn-default btn-transparent btn-clipboard"
|
css-class="btn-secondary btn-transparent btn-clipboard"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,7 +80,7 @@ export default {
|
||||||
<clipboard-button
|
<clipboard-button
|
||||||
title="Copy file path to clipboard"
|
title="Copy file path to clipboard"
|
||||||
:text="diffFile.filePath"
|
:text="diffFile.filePath"
|
||||||
css-class="btn-default btn-transparent btn-clipboard"
|
css-class="btn-secondary btn-transparent btn-clipboard"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<small
|
<small
|
||||||
|
|
|
@ -99,7 +99,7 @@ export default {
|
||||||
v-tooltip
|
v-tooltip
|
||||||
title="Resolve all discussions in new issue"
|
title="Resolve all discussions in new issue"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
class="new-issue-for-discussion btn btn-default discussion-create-issue-btn">
|
class="new-issue-for-discussion btn btn-secondary discussion-create-issue-btn">
|
||||||
<span v-html="mrIssueSvg"></span>
|
<span v-html="mrIssueSvg"></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -112,7 +112,7 @@ export default {
|
||||||
v-tooltip
|
v-tooltip
|
||||||
title="Jump to first unresolved discussion"
|
title="Jump to first unresolved discussion"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
class="btn btn-default discussion-next-btn">
|
class="btn btn-secondary discussion-next-btn">
|
||||||
<span v-html="nextDiscussionSvg"></span>
|
<span v-html="nextDiscussionSvg"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -191,7 +191,7 @@ js-autosize markdown-area js-vue-issue-note-form js-vue-textarea"
|
||||||
<button
|
<button
|
||||||
v-if="note.resolvable"
|
v-if="note.resolvable"
|
||||||
@click.prevent="handleUpdate(true)"
|
@click.prevent="handleUpdate(true)"
|
||||||
class="btn btn-nr btn-default append-right-10 js-comment-resolve-button"
|
class="btn btn-nr btn-secondary append-right-10 js-comment-resolve-button"
|
||||||
>
|
>
|
||||||
{{ resolveButtonTitle }}
|
{{ resolveButtonTitle }}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -279,7 +279,7 @@ Please check your network connection and try again.`;
|
||||||
<button
|
<button
|
||||||
@click="resolveHandler()"
|
@click="resolveHandler()"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default"
|
class="btn btn-secondary"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
v-if="isResolving"
|
v-if="isResolving"
|
||||||
|
@ -302,7 +302,7 @@ Please check your network connection and try again.`;
|
||||||
:href="note.resolve_with_issue_path"
|
:href="note.resolve_with_issue_path"
|
||||||
v-tooltip
|
v-tooltip
|
||||||
class="new-issue-for-discussion btn
|
class="new-issue-for-discussion btn
|
||||||
btn-default discussion-create-issue-btn"
|
btn-secondary discussion-create-issue-btn"
|
||||||
title="Resolve this discussion in a new issue"
|
title="Resolve this discussion in a new issue"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
>
|
>
|
||||||
|
@ -316,7 +316,7 @@ Please check your network connection and try again.`;
|
||||||
<button
|
<button
|
||||||
@click="jumpToDiscussion"
|
@click="jumpToDiscussion"
|
||||||
v-tooltip
|
v-tooltip
|
||||||
class="btn btn-default discussion-next-btn"
|
class="btn btn-secondary discussion-next-btn"
|
||||||
title="Jump to next unresolved discussion"
|
title="Jump to next unresolved discussion"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
>
|
>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<div class="bordered-box landing content-block">
|
<div class="bordered-box landing content-block">
|
||||||
<button
|
<button
|
||||||
id="dismiss-callout-btn"
|
id="dismiss-callout-btn"
|
||||||
class="btn btn-default close"
|
class="btn btn-secondary close"
|
||||||
@click="dismissCallout">
|
@click="dismissCallout">
|
||||||
<i
|
<i
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
|
|
@ -52,14 +52,14 @@
|
||||||
v-if="resetCachePath"
|
v-if="resetCachePath"
|
||||||
@click="onClickResetCache"
|
@click="onClickResetCache"
|
||||||
:loading="isResetCacheButtonLoading"
|
:loading="isResetCacheButtonLoading"
|
||||||
class="btn btn-default js-clear-cache"
|
class="btn btn-secondary js-clear-cache"
|
||||||
:label="s__('Pipelines|Clear Runner Caches')"
|
:label="s__('Pipelines|Clear Runner Caches')"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
v-if="ciLintPath"
|
v-if="ciLintPath"
|
||||||
:href="ciLintPath"
|
:href="ciLintPath"
|
||||||
class="btn btn-default js-ci-lint"
|
class="btn btn-secondary js-ci-lint"
|
||||||
>
|
>
|
||||||
{{ s__('Pipelines|CI Lint') }}
|
{{ s__('Pipelines|CI Lint') }}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<button
|
<button
|
||||||
v-tooltip
|
v-tooltip
|
||||||
type="button"
|
type="button"
|
||||||
class="dropdown-new btn btn-default js-pipeline-dropdown-manual-actions"
|
class="dropdown-new btn btn-secondary js-pipeline-dropdown-manual-actions"
|
||||||
title="Manual job"
|
title="Manual job"
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
data-placement="top"
|
data-placement="top"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
v-tooltip
|
v-tooltip
|
||||||
class="dropdown-toggle btn btn-default build-artifacts js-pipeline-dropdown-download"
|
class="dropdown-toggle btn btn-secondary build-artifacts js-pipeline-dropdown-download"
|
||||||
title="Artifacts"
|
title="Artifacts"
|
||||||
data-placement="top"
|
data-placement="top"
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
|
|
|
@ -303,7 +303,7 @@
|
||||||
<async-button-component
|
<async-button-component
|
||||||
v-if="pipeline.flags.retryable"
|
v-if="pipeline.flags.retryable"
|
||||||
:endpoint="pipeline.retry_path"
|
:endpoint="pipeline.retry_path"
|
||||||
css-class="js-pipelines-retry-button btn-default btn-retry"
|
css-class="js-pipelines-retry-button btn-secondary btn-retry"
|
||||||
title="Retry"
|
title="Retry"
|
||||||
icon="repeat"
|
icon="repeat"
|
||||||
:pipeline-id="pipeline.id"
|
:pipeline-id="pipeline.id"
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
v-if="repo.location"
|
v-if="repo.location"
|
||||||
:text="clipboardText"
|
:text="clipboardText"
|
||||||
:title="repo.location"
|
:title="repo.location"
|
||||||
css-class="btn-default btn-transparent btn-clipboard"
|
css-class="btn-secondary btn-transparent btn-clipboard"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="controls hidden-xs pull-right">
|
<div class="controls hidden-xs pull-right">
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
v-if="item.location"
|
v-if="item.location"
|
||||||
:title="item.location"
|
:title="item.location"
|
||||||
:text="clipboardText(item.location)"
|
:text="clipboardText(item.location)"
|
||||||
css-class="btn-default btn-transparent btn-clipboard"
|
css-class="btn-secondary btn-transparent btn-clipboard"
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -38,7 +38,7 @@ export default {
|
||||||
<div class="sidebar-item-warning-message-actions">
|
<div class="sidebar-item-warning-message-actions">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default append-right-10"
|
class="btn btn-secondary append-right-10"
|
||||||
@click="closeForm"
|
@click="closeForm"
|
||||||
>
|
>
|
||||||
{{ __('Cancel') }}
|
{{ __('Cancel') }}
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
<div class="sidebar-item-warning-message-actions">
|
<div class="sidebar-item-warning-message-actions">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default append-right-10"
|
class="btn btn-secondary append-right-10"
|
||||||
@click="closeForm"
|
@click="closeForm"
|
||||||
>
|
>
|
||||||
{{ __('Cancel') }}
|
{{ __('Cancel') }}
|
||||||
|
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
</span>
|
</span>
|
||||||
<loading-button
|
<loading-button
|
||||||
v-if="deployment.stop_url"
|
v-if="deployment.stop_url"
|
||||||
container-class="btn btn-default btn-xs prepend-left-default"
|
container-class="btn btn-secondary btn-xs prepend-left-default"
|
||||||
label="Stop environment"
|
label="Stop environment"
|
||||||
:loading="isStopping"
|
:loading="isStopping"
|
||||||
@click="stopEnvironment"
|
@click="stopEnvironment"
|
||||||
|
|
|
@ -71,7 +71,7 @@ export default {
|
||||||
<clipboard-button
|
<clipboard-button
|
||||||
:text="branchNameClipboardData"
|
:text="branchNameClipboardData"
|
||||||
:title="__('Copy branch name to clipboard')"
|
:title="__('Copy branch name to clipboard')"
|
||||||
css-class="btn-default btn-transparent btn-clipboard"
|
css-class="btn-secondary btn-transparent btn-clipboard"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{{ s__("mrWidget|into") }}
|
{{ s__("mrWidget|into") }}
|
||||||
|
@ -103,7 +103,7 @@ export default {
|
||||||
<a
|
<a
|
||||||
v-if="!mr.sourceBranchRemoved"
|
v-if="!mr.sourceBranchRemoved"
|
||||||
:href="webIdePath"
|
:href="webIdePath"
|
||||||
class="btn btn-sm btn-default inline js-web-ide"
|
class="btn btn-sm btn-secondary inline js-web-ide"
|
||||||
>
|
>
|
||||||
{{ s__("mrWidget|Web IDE") }}
|
{{ s__("mrWidget|Web IDE") }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -111,7 +111,7 @@ export default {
|
||||||
data-target="#modal_merge_info"
|
data-target="#modal_merge_info"
|
||||||
data-toggle="modal"
|
data-toggle="modal"
|
||||||
:disabled="mr.sourceBranchRemoved"
|
:disabled="mr.sourceBranchRemoved"
|
||||||
class="btn btn-sm btn-default inline js-check-out-branch"
|
class="btn btn-sm btn-secondary inline js-check-out-branch"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
{{ s__("mrWidget|Check out branch") }}
|
{{ s__("mrWidget|Check out branch") }}
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
@click="refreshWidget"
|
@click="refreshWidget"
|
||||||
:disabled="isRefreshing"
|
:disabled="isRefreshing"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-xs btn-default"
|
class="btn btn-xs btn-secondary"
|
||||||
>
|
>
|
||||||
<loading-icon
|
<loading-icon
|
||||||
v-if="isRefreshing"
|
v-if="isRefreshing"
|
||||||
|
|
|
@ -43,13 +43,13 @@ To merge this request, first rebase locally.`) }}
|
||||||
<a
|
<a
|
||||||
v-if="mr.canMerge && mr.conflictResolutionPath"
|
v-if="mr.canMerge && mr.conflictResolutionPath"
|
||||||
:href="mr.conflictResolutionPath"
|
:href="mr.conflictResolutionPath"
|
||||||
class="js-resolve-conflicts-button btn btn-default btn-xs"
|
class="js-resolve-conflicts-button btn btn-secondary btn-xs"
|
||||||
>
|
>
|
||||||
{{ s__("mrWidget|Resolve conflicts") }}
|
{{ s__("mrWidget|Resolve conflicts") }}
|
||||||
</a>
|
</a>
|
||||||
<button
|
<button
|
||||||
v-if="mr.canMerge"
|
v-if="mr.canMerge"
|
||||||
class="js-merge-locally-button btn btn-default btn-xs"
|
class="js-merge-locally-button btn btn-secondary btn-xs"
|
||||||
data-toggle="modal"
|
data-toggle="modal"
|
||||||
data-target="#modal_merge_info"
|
data-target="#modal_merge_info"
|
||||||
>
|
>
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
</span>
|
</span>
|
||||||
<button
|
<button
|
||||||
@click="refresh"
|
@click="refresh"
|
||||||
class="btn btn-default btn-xs js-refresh-button"
|
class="btn btn-secondary btn-xs js-refresh-button"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
{{ s__("mrWidget|Refresh now") }}
|
{{ s__("mrWidget|Refresh now") }}
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
:disabled="isCancellingAutoMerge"
|
:disabled="isCancellingAutoMerge"
|
||||||
role="button"
|
role="button"
|
||||||
href="#"
|
href="#"
|
||||||
class="btn btn-xs btn-default js-cancel-auto-merge">
|
class="btn btn-xs btn-secondary js-cancel-auto-merge">
|
||||||
<i
|
<i
|
||||||
v-if="isCancellingAutoMerge"
|
v-if="isCancellingAutoMerge"
|
||||||
class="fa fa-spinner fa-spin"
|
class="fa fa-spinner fa-spin"
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
:disabled="isRemovingSourceBranch"
|
:disabled="isRemovingSourceBranch"
|
||||||
@click.prevent="removeSourceBranch"
|
@click.prevent="removeSourceBranch"
|
||||||
role="button"
|
role="button"
|
||||||
class="btn btn-xs btn-default js-remove-source-branch"
|
class="btn btn-xs btn-secondary js-remove-source-branch"
|
||||||
href="#"
|
href="#"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
<a
|
<a
|
||||||
v-if="mr.canCherryPickInCurrentMR"
|
v-if="mr.canCherryPickInCurrentMR"
|
||||||
v-tooltip
|
v-tooltip
|
||||||
class="btn btn-default btn-xs"
|
class="btn btn-secondary btn-xs"
|
||||||
href="#modal-cherry-pick-commit"
|
href="#modal-cherry-pick-commit"
|
||||||
data-toggle="modal"
|
data-toggle="modal"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
<a
|
<a
|
||||||
v-else-if="mr.cherryPickInForkPath"
|
v-else-if="mr.cherryPickInForkPath"
|
||||||
v-tooltip
|
v-tooltip
|
||||||
class="btn btn-default btn-xs"
|
class="btn btn-secondary btn-xs"
|
||||||
data-method="post"
|
data-method="post"
|
||||||
:href="mr.cherryPickInForkPath"
|
:href="mr.cherryPickInForkPath"
|
||||||
:title="cherryPickTitle"
|
:title="cherryPickTitle"
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
@click="removeSourceBranch"
|
@click="removeSourceBranch"
|
||||||
:disabled="isMakingRequest"
|
:disabled="isMakingRequest"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-xs btn-default js-remove-branch-button"
|
class="btn btn-xs btn-secondary js-remove-branch-button"
|
||||||
>
|
>
|
||||||
{{ s__("mrWidget|Remove Source Branch") }}
|
{{ s__("mrWidget|Remove Source Branch") }}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -25,7 +25,7 @@ export default {
|
||||||
<a
|
<a
|
||||||
v-if="mr.createIssueToResolveDiscussionsPath"
|
v-if="mr.createIssueToResolveDiscussionsPath"
|
||||||
:href="mr.createIssueToResolveDiscussionsPath"
|
:href="mr.createIssueToResolveDiscussionsPath"
|
||||||
class="btn btn-default btn-xs js-create-issue">
|
class="btn btn-secondary btn-xs js-create-issue">
|
||||||
Create an issue to resolve them later
|
Create an issue to resolve them later
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
cssClass: {
|
cssClass: {
|
||||||
type: String,
|
type: String,
|
||||||
required: false,
|
required: false,
|
||||||
default: 'btn-default',
|
default: 'btn-secondary',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -163,7 +163,7 @@
|
||||||
<button
|
<button
|
||||||
v-if="hasSidebarButton"
|
v-if="hasSidebarButton"
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default visible-xs-block
|
class="btn btn-secondary visible-xs-block
|
||||||
visible-sm-block sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
|
visible-sm-block sidebar-toggle-btn js-sidebar-build-toggle js-sidebar-build-toggle-header"
|
||||||
aria-label="Toggle Sidebar"
|
aria-label="Toggle Sidebar"
|
||||||
id="toggleSidebar"
|
id="toggleSidebar"
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
Attach a file
|
Attach a file
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-default btn-xs hide button-cancel-uploading-files"
|
class="btn btn-secondary btn-xs hide button-cancel-uploading-files"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
|
|
|
@ -83,7 +83,7 @@ export default {
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default pull-right js-cancel-label-btn"
|
class="btn btn-secondary pull-right js-cancel-label-btn"
|
||||||
>
|
>
|
||||||
{{ __('Cancel') }}
|
{{ __('Cancel') }}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.prepend-top-default
|
.prepend-top-default
|
||||||
.user-callout{ data: { uid: 'convdev_intro_callout_dismissed' } }
|
.user-callout{ data: { uid: 'convdev_intro_callout_dismissed' } }
|
||||||
.bordered-box.landing.content-block
|
.bordered-box.landing.content-block
|
||||||
%button.btn.btn-default.close.js-close-callout{ type: 'button',
|
%button.btn.btn-secondary.close.js-close-callout{ type: 'button',
|
||||||
'aria-label' => 'Dismiss ConvDev introduction' }
|
'aria-label' => 'Dismiss ConvDev introduction' }
|
||||||
= icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
|
= icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
|
||||||
.user-callout-copy
|
.user-callout-copy
|
||||||
|
|
|
@ -12,4 +12,4 @@
|
||||||
= _("Access to failing storages has been temporarily disabled to allow the mount to recover. Reset storage information after the issue has been resolved to allow access again.")
|
= _("Access to failing storages has been temporarily disabled to allow the mount to recover. Reset storage information after the issue has been resolved to allow access again.")
|
||||||
.prepend-top-10
|
.prepend-top-10
|
||||||
= button_to _("Reset git storage health information"), reset_storage_health_admin_health_check_path,
|
= button_to _("Reset git storage health information"), reset_storage_health_admin_health_check_path,
|
||||||
method: :post, class: 'btn btn-default'
|
method: :post, class: 'btn btn-secondary'
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
%code#health-check-token= Gitlab::CurrentSettings.health_check_access_token
|
%code#health-check-token= Gitlab::CurrentSettings.health_check_access_token
|
||||||
.prepend-top-10
|
.prepend-top-10
|
||||||
= button_to _("Reset health check access token"), reset_health_check_token_admin_application_settings_path,
|
= button_to _("Reset health check access token"), reset_health_check_token_admin_application_settings_path,
|
||||||
method: :put, class: 'btn btn-default',
|
method: :put, class: 'btn btn-secondary',
|
||||||
data: { confirm: _('Are you sure you want to reset the health check token?') }
|
data: { confirm: _('Are you sure you want to reset the health check token?') }
|
||||||
%p.light
|
%p.light
|
||||||
#{ _('Health information can be retrieved from the following endpoints. More information is available') }
|
#{ _('Health information can be retrieved from the following endpoints. More information is available') }
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
%hr
|
%hr
|
||||||
|
|
||||||
= link_to 'Resend Request', retry_admin_hook_hook_log_path(@hook, @hook_log), class: "btn btn-default pull-right prepend-left-10"
|
= link_to 'Resend Request', retry_admin_hook_hook_log_path(@hook, @hook_log), class: "btn btn-secondary pull-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 }
|
||||||
|
|
||||||
|
|
|
@ -36,14 +36,14 @@
|
||||||
Never
|
Never
|
||||||
%td.admin-runner-btn-group-cell
|
%td.admin-runner-btn-group-cell
|
||||||
.pull-right.btn-group
|
.pull-right.btn-group
|
||||||
= link_to admin_runner_path(runner), class: 'btn btn-sm btn-default 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')
|
||||||
|
|
||||||
- if runner.active?
|
- if runner.active?
|
||||||
= link_to [:pause, :admin, runner], method: :get, class: 'btn btn-sm btn-default has-tooltip', title: 'Pause', ref: 'tooltip', aria: { label: 'Pause' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do
|
= link_to [:pause, :admin, runner], method: :get, class: 'btn btn-sm btn-secondary has-tooltip', title: 'Pause', ref: 'tooltip', aria: { label: 'Pause' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do
|
||||||
= icon('pause')
|
= icon('pause')
|
||||||
- else
|
- else
|
||||||
= link_to [:resume, :admin, runner], method: :get, class: 'btn btn-default btn-sm has-tooltip', title: 'Resume', ref: 'tooltip', aria: { label: 'Resume' }, data: { placement: 'top', container: 'body'} do
|
= link_to [:resume, :admin, runner], method: :get, class: 'btn btn-secondary btn-sm has-tooltip', title: 'Resume', ref: 'tooltip', aria: { label: 'Resume' }, data: { placement: 'top', container: 'body'} do
|
||||||
= icon('play')
|
= icon('play')
|
||||||
= link_to [:admin, runner], method: :delete, class: 'btn btn-danger btn-sm has-tooltip', title: 'Remove', ref: 'tooltip', aria: { label: 'Remove' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do
|
= link_to [:admin, runner], method: :delete, class: 'btn btn-danger btn-sm has-tooltip', title: 'Remove', ref: 'tooltip', aria: { label: 'Remove' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do
|
||||||
= icon('remove')
|
= icon('remove')
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
You can reset runners registration token by pressing a button below.
|
You can reset runners registration token by pressing a button below.
|
||||||
.prepend-top-10
|
.prepend-top-10
|
||||||
= button_to _("Reset runners registration token"), reset_runners_token_admin_application_settings_path,
|
= button_to _("Reset runners registration token"), reset_runners_token_admin_application_settings_path,
|
||||||
method: :put, class: 'btn btn-default',
|
method: :put, class: 'btn btn-secondary',
|
||||||
data: { confirm: _("Are you sure you want to reset registration token?") }
|
data: { confirm: _("Are you sure you want to reset registration token?") }
|
||||||
|
|
||||||
= render partial: 'ci/runner/how_to_setup_shared_runner',
|
= render partial: 'ci/runner/how_to_setup_shared_runner',
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
= link_to 'Edit', edit_admin_user_path(user), id: "edit_#{dom_id(user)}", class: 'btn'
|
= link_to 'Edit', edit_admin_user_path(user), id: "edit_#{dom_id(user)}", class: 'btn'
|
||||||
- unless user == current_user
|
- unless user == current_user
|
||||||
.dropdown.inline
|
.dropdown.inline
|
||||||
%a.dropdown-new.btn.btn-default#project-settings-button{ href: '#', data: { toggle: 'dropdown' } }
|
%a.dropdown-new.btn.btn-secondary#project-settings-button{ href: '#', data: { toggle: 'dropdown' } }
|
||||||
= icon('cog')
|
= icon('cog')
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
%ul.dropdown-menu.dropdown-menu-align-right
|
%ul.dropdown-menu.dropdown-menu-align-right
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
- if current_user
|
- if current_user
|
||||||
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
|
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
|
||||||
.btn-group{ role: "group", "v-show" => "!allResolved", "v-if" => "showButton" }
|
.btn-group{ role: "group", "v-show" => "!allResolved", "v-if" => "showButton" }
|
||||||
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
%button.btn.btn-secondary.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
||||||
":title" => "buttonText",
|
":title" => "buttonText",
|
||||||
":aria-label" => "buttonText",
|
":aria-label" => "buttonText",
|
||||||
data: { container: "body" } }
|
data: { container: "body" } }
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
title: 'Resolve all discussions in new issue',
|
title: 'Resolve all discussions in new issue',
|
||||||
aria: { label: 'Resolve all discussions in new issue' },
|
aria: { label: 'Resolve all discussions in new issue' },
|
||||||
data: { container: 'body' },
|
data: { container: 'body' },
|
||||||
class: 'new-issue-for-discussion btn btn-default discussion-create-issue-btn has-tooltip'
|
class: 'new-issue-for-discussion btn btn-secondary discussion-create-issue-btn has-tooltip'
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
title: 'Resolve this discussion in a new issue',
|
title: 'Resolve this discussion in a new issue',
|
||||||
aria: { label: 'Resolve this discussion in a new issue' },
|
aria: { label: 'Resolve this discussion in a new issue' },
|
||||||
data: { container: 'body' },
|
data: { container: 'body' },
|
||||||
class: 'new-issue-for-discussion btn btn-default discussion-create-issue-btn has-tooltip'
|
class: 'new-issue-for-discussion btn btn-secondary discussion-create-issue-btn has-tooltip'
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
":can-resolve" => discussion.can_resolve?(current_user),
|
":can-resolve" => discussion.can_resolve?(current_user),
|
||||||
"inline-template" => true }
|
"inline-template" => true }
|
||||||
.btn-group{ role: "group", "v-if" => "showButton" }
|
.btn-group{ role: "group", "v-if" => "showButton" }
|
||||||
%button.btn.btn-default{ type: "button", "@click" => "resolve", ":disabled" => "loading", "v-cloak" => "true" }
|
%button.btn.btn-secondary{ type: "button", "@click" => "resolve", ":disabled" => "loading", "v-cloak" => "true" }
|
||||||
= icon("spinner spin", "v-show" => "loading")
|
= icon("spinner spin", "v-show" => "loading")
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
|
|
|
@ -205,7 +205,7 @@
|
||||||
%h2#buttons Buttons
|
%h2#buttons Buttons
|
||||||
|
|
||||||
.example
|
.example
|
||||||
%button.btn.btn-default{ :type => "button" } Default
|
%button.btn.btn-secondary{ :type => "button" } Default
|
||||||
%button.btn.btn-gray{ :type => "button" } Gray
|
%button.btn.btn-gray{ :type => "button" } Gray
|
||||||
%button.btn.btn-primary{ :type => "button" } Primary
|
%button.btn.btn-primary{ :type => "button" } Primary
|
||||||
%button.btn.btn-success{ :type => "button" } Success
|
%button.btn.btn-success{ :type => "button" } Success
|
||||||
|
@ -478,7 +478,7 @@
|
||||||
Remember me
|
Remember me
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-offset-2.col-sm-10
|
.col-sm-offset-2.col-sm-10
|
||||||
%button.btn.btn-default{ :type => "submit" } Sign in
|
%button.btn.btn-secondary{ :type => "submit" } Sign in
|
||||||
|
|
||||||
.lead
|
.lead
|
||||||
Form when label rendered above input
|
Form when label rendered above input
|
||||||
|
@ -496,7 +496,7 @@
|
||||||
%label
|
%label
|
||||||
%input{ :type => "checkbox" }/
|
%input{ :type => "checkbox" }/
|
||||||
Remember me
|
Remember me
|
||||||
%button.btn.btn-default{ :type => "submit" } Sign in
|
%button.btn.btn-secondary{ :type => "submit" } Sign in
|
||||||
|
|
||||||
%h2#file File
|
%h2#file File
|
||||||
%h4
|
%h4
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
Once the exported file is ready, you will receive a notification email with a download link, or you can download it from this page.
|
Once the exported file is ready, you will receive a notification email with a download link, or you can download it from this page.
|
||||||
- if project.export_project_path
|
- if project.export_project_path
|
||||||
= link_to 'Download export', download_export_project_path(project),
|
= link_to 'Download export', download_export_project_path(project),
|
||||||
rel: 'nofollow', download: '', method: :get, class: "btn btn-default"
|
rel: 'nofollow', download: '', method: :get, class: "btn btn-secondary"
|
||||||
= link_to 'Generate new export', generate_new_export_project_path(project),
|
= link_to 'Generate new export', generate_new_export_project_path(project),
|
||||||
method: :post, class: "btn btn-default"
|
method: :post, class: "btn btn-secondary"
|
||||||
- else
|
- else
|
||||||
= link_to 'Export project', export_project_path(project),
|
= link_to 'Export project', export_project_path(project),
|
||||||
method: :post, class: "btn btn-default"
|
method: :post, class: "btn btn-secondary"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
%label.btn.btn-success.template-button.choose-template.append-right-10{ for: template.name }
|
%label.btn.btn-success.template-button.choose-template.append-right-10{ for: template.name }
|
||||||
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
|
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
|
||||||
%span Use template
|
%span Use template
|
||||||
%a.btn.btn-default{ href: template.preview, rel: 'noopener noreferrer', target: '_blank' } Preview
|
%a.btn.btn-secondary{ href: template.preview, rel: 'noopener noreferrer', target: '_blank' } Preview
|
||||||
|
|
||||||
.project-fields-form
|
.project-fields-form
|
||||||
.form-group
|
.form-group
|
||||||
|
@ -19,6 +19,6 @@
|
||||||
- Gitlab::ProjectTemplate.all.each do |template|
|
- Gitlab::ProjectTemplate.all.each do |template|
|
||||||
= custom_icon(template.logo)
|
= custom_icon(template.logo)
|
||||||
.selected-template
|
.selected-template
|
||||||
%button.btn.btn-default.change-template{ type: "button" } Change template
|
%button.btn.btn-secondary.change-template{ type: "button" } Change template
|
||||||
|
|
||||||
= render 'new_project_fields', f: f, project_name_id: "template-project-name"
|
= render 'new_project_fields', f: f, project_name_id: "template-project-name"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
.tree-controls
|
.tree-controls
|
||||||
= link_to download_project_job_artifacts_path(@project, @build),
|
= link_to download_project_job_artifacts_path(@project, @build),
|
||||||
rel: 'nofollow', download: '', class: 'btn btn-default download' do
|
rel: 'nofollow', download: '', class: 'btn btn-secondary download' do
|
||||||
= sprite_icon('download')
|
= sprite_icon('download')
|
||||||
Download artifacts archive
|
Download artifacts archive
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
.btn-group.js-blob-viewer-switcher{ role: "group" }
|
.btn-group.js-blob-viewer-switcher{ role: "group" }
|
||||||
- simple_label = "Display #{simple_viewer.switcher_title}"
|
- simple_label = "Display #{simple_viewer.switcher_title}"
|
||||||
%button.btn.btn-default.btn-sm.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => simple_label, title: simple_label, data: { viewer: 'simple', container: 'body' } }>
|
%button.btn.btn-secondary.btn-sm.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => simple_label, title: simple_label, data: { viewer: 'simple', container: 'body' } }>
|
||||||
= icon(simple_viewer.switcher_icon)
|
= icon(simple_viewer.switcher_icon)
|
||||||
|
|
||||||
- rich_label = "Display #{rich_viewer.switcher_title}"
|
- rich_label = "Display #{rich_viewer.switcher_title}"
|
||||||
%button.btn.btn-default.btn-sm.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => rich_label, title: rich_label, data: { viewer: 'rich', container: 'body' } }>
|
%button.btn.btn-secondary.btn-sm.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => rich_label, title: rich_label, data: { viewer: 'rich', container: 'body' } }>
|
||||||
= icon(rich_viewer.switcher_icon)
|
= icon(rich_viewer.switcher_icon)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
= icon('spinner spin 2x', class: 'prepend-top-default append-bottom-default', 'aria-hidden' => 'true', 'aria-label' => 'Loading')
|
= icon('spinner spin 2x', class: 'prepend-top-default append-bottom-default', 'aria-hidden' => 'true', 'aria-label' => 'Loading')
|
||||||
.text-center.prepend-top-default.append-bottom-default.stl-controls
|
.text-center.prepend-top-default.append-bottom-default.stl-controls
|
||||||
.btn-group
|
.btn-group
|
||||||
%button.btn.btn-default.btn-sm.js-material-changer{ data: { type: 'wireframe' } }
|
%button.btn.btn-secondary.btn-sm.js-material-changer{ data: { type: 'wireframe' } }
|
||||||
Wireframe
|
Wireframe
|
||||||
%button.btn.btn-default.btn-sm.active.js-material-changer{ data: { type: 'default' } }
|
%button.btn.btn-secondary.btn-sm.active.js-material-changer{ data: { type: 'default' } }
|
||||||
Solid
|
Solid
|
||||||
|
|
|
@ -42,12 +42,12 @@
|
||||||
|
|
||||||
.controls.hidden-xs<
|
.controls.hidden-xs<
|
||||||
- if merge_project && create_mr_button?(@repository.root_ref, branch.name)
|
- if merge_project && create_mr_button?(@repository.root_ref, branch.name)
|
||||||
= link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do
|
= link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-secondary' do
|
||||||
= _('Merge request')
|
= _('Merge request')
|
||||||
|
|
||||||
- if branch.name != @repository.root_ref
|
- if branch.name != @repository.root_ref
|
||||||
= link_to project_compare_index_path(@project, from: @repository.root_ref, to: branch.name),
|
= link_to project_compare_index_path(@project, from: @repository.root_ref, to: branch.name),
|
||||||
class: "btn btn-default #{'prepend-left-10' unless merge_project}",
|
class: "btn btn-secondary #{'prepend-left-10' unless merge_project}",
|
||||||
method: :post,
|
method: :post,
|
||||||
title: s_('Branches|Compare') do
|
title: s_('Branches|Compare') do
|
||||||
= s_('Branches|Compare')
|
= s_('Branches|Compare')
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
- else
|
- else
|
||||||
- can_create_fork = current_user.can?(:create_fork)
|
- can_create_fork = current_user.can?(:create_fork)
|
||||||
= link_to new_project_fork_path(@project),
|
= link_to new_project_fork_path(@project),
|
||||||
class: "btn btn-default #{'has-tooltip disabled' unless can_create_fork}",
|
class: "btn btn-secondary #{'has-tooltip disabled' unless can_create_fork}",
|
||||||
title: (_('You have reached your project limit') unless can_create_fork) do
|
title: (_('You have reached your project limit') unless can_create_fork) do
|
||||||
= custom_icon('icon_fork')
|
= custom_icon('icon_fork')
|
||||||
%span= s_('CreateNewFork|Fork')
|
%span= s_('CreateNewFork|Fork')
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- if current_user
|
- if current_user
|
||||||
%button.btn.btn-default.star-btn.toggle-star{ type: "button", data: { endpoint: toggle_star_project_path(@project, :json) } }
|
%button.btn.btn-secondary.star-btn.toggle-star{ type: "button", data: { endpoint: toggle_star_project_path(@project, :json) } }
|
||||||
- if current_user.starred?(@project)
|
- if current_user.starred?(@project)
|
||||||
= sprite_icon('star')
|
= sprite_icon('star')
|
||||||
%span.starred= _('Unstar')
|
%span.starred= _('Unstar')
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
.pull-left.prepend-top-10
|
.pull-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
|
.pull-right.prepend-top-10
|
||||||
= button_tag('Clear', type: 'button', class: 'btn btn-default clear-yml')
|
= button_tag('Clear', type: 'button', class: 'btn btn-secondary clear-yml')
|
||||||
|
|
||||||
.row.prepend-top-20
|
.row.prepend-top-20
|
||||||
.col-sm-12
|
.col-sm-12
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.input-group
|
.input-group
|
||||||
%input.form-control.cluster-name.js-select-on-focus{ value: @cluster.name, readonly: true }
|
%input.form-control.cluster-name.js-select-on-focus{ value: @cluster.name, readonly: true }
|
||||||
%span.input-group-btn
|
%span.input-group-btn
|
||||||
= clipboard_button(text: @cluster.name, title: s_('ClusterIntegration|Copy Kubernetes cluster name'), class: 'btn-default')
|
= clipboard_button(text: @cluster.name, title: s_('ClusterIntegration|Copy Kubernetes cluster name'), class: 'btn-secondary')
|
||||||
|
|
||||||
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
||||||
= form_errors(@cluster)
|
= form_errors(@cluster)
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
.input-group
|
.input-group
|
||||||
= platform_kubernetes_field.text_field :api_url, class: 'form-control js-select-on-focus', placeholder: s_('ClusterIntegration|API URL'), readonly: true
|
= platform_kubernetes_field.text_field :api_url, class: 'form-control js-select-on-focus', placeholder: s_('ClusterIntegration|API URL'), readonly: true
|
||||||
%span.input-group-btn
|
%span.input-group-btn
|
||||||
= clipboard_button(text: @cluster.platform_kubernetes.api_url, title: s_('ClusterIntegration|Copy API URL'), class: 'btn-default')
|
= clipboard_button(text: @cluster.platform_kubernetes.api_url, title: s_('ClusterIntegration|Copy API URL'), class: 'btn-secondary')
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= platform_kubernetes_field.label :ca_cert, s_('ClusterIntegration|CA Certificate')
|
= platform_kubernetes_field.label :ca_cert, s_('ClusterIntegration|CA Certificate')
|
||||||
|
@ -29,9 +29,9 @@
|
||||||
.input-group
|
.input-group
|
||||||
= platform_kubernetes_field.text_field :token, class: 'form-control js-cluster-token js-select-on-focus', type: 'password', placeholder: s_('ClusterIntegration|Token'), readonly: true
|
= platform_kubernetes_field.text_field :token, class: 'form-control js-cluster-token js-select-on-focus', type: 'password', placeholder: s_('ClusterIntegration|Token'), readonly: true
|
||||||
%span.input-group-btn
|
%span.input-group-btn
|
||||||
%button.btn.btn-default.js-show-cluster-token{ type: 'button' }
|
%button.btn.btn-secondary.js-show-cluster-token{ type: 'button' }
|
||||||
= s_('ClusterIntegration|Show')
|
= s_('ClusterIntegration|Show')
|
||||||
= clipboard_button(text: @cluster.platform_kubernetes.token, title: s_('ClusterIntegration|Copy Token'), class: 'btn-default')
|
= clipboard_button(text: @cluster.platform_kubernetes.token, title: s_('ClusterIntegration|Copy Token'), class: 'btn-secondary')
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= platform_kubernetes_field.label :namespace, s_('ClusterIntegration|Project namespace (optional, unique)')
|
= platform_kubernetes_field.label :namespace, s_('ClusterIntegration|Project namespace (optional, unique)')
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
%span.btn.disabled.btn-grouped.hidden-xs.append-right-10
|
%span.btn.disabled.btn-grouped.hidden-xs.append-right-10
|
||||||
= icon('comment')
|
= icon('comment')
|
||||||
= @notes_count
|
= @notes_count
|
||||||
= link_to project_tree_path(@project, @commit), class: "btn btn-default append-right-10 hidden-xs hidden-sm" do
|
= link_to project_tree_path(@project, @commit), class: "btn btn-secondary append-right-10 hidden-xs hidden-sm" do
|
||||||
#{ _('Browse files') }
|
#{ _('Browse files') }
|
||||||
.dropdown.inline
|
.dropdown.inline
|
||||||
%a.btn.btn-default.dropdown-toggle{ data: { toggle: "dropdown" } }
|
%a.btn.btn-secondary.dropdown-toggle{ data: { toggle: "dropdown" } }
|
||||||
%span= _('Options')
|
%span= _('Options')
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
%ul.dropdown-menu.dropdown-menu-align-right
|
%ul.dropdown-menu.dropdown-menu-align-right
|
||||||
|
|
|
@ -57,4 +57,4 @@
|
||||||
= link_to_browse_code(project, commit)
|
= link_to_browse_code(project, commit)
|
||||||
|
|
||||||
- if view_details && merge_request
|
- if view_details && merge_request
|
||||||
= link_to "View details", project_commit_path(project, commit.id, merge_request_iid: merge_request.iid), class: "btn btn-default"
|
= link_to "View details", project_commit_path(project, commit.id, merge_request_iid: merge_request.iid), class: "btn btn-secondary"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
- if actions.present?
|
- if actions.present?
|
||||||
.btn-group
|
.btn-group
|
||||||
.dropdown
|
.dropdown
|
||||||
%button.dropdown.dropdown-new.btn.btn-default{ type: 'button', 'data-toggle' => 'dropdown' }
|
%button.dropdown.dropdown-new.btn.btn-secondary{ type: 'button', 'data-toggle' => 'dropdown' }
|
||||||
= custom_icon('icon_play')
|
= custom_icon('icon_play')
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
%ul.dropdown-menu.dropdown-menu-align-right
|
%ul.dropdown-menu.dropdown-menu-align-right
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.files-changed-inner
|
.files-changed-inner
|
||||||
.inline-parallel-buttons.hidden-xs.hidden-sm
|
.inline-parallel-buttons.hidden-xs.hidden-sm
|
||||||
- if !diffs_expanded? && diff_files.any? { |diff_file| diff_file.collapsed? }
|
- if !diffs_expanded? && diff_files.any? { |diff_file| diff_file.collapsed? }
|
||||||
= link_to 'Expand all', url_for(params.merge(expanded: 1, format: nil)), class: 'btn btn-default'
|
= link_to 'Expand all', url_for(params.merge(expanded: 1, format: nil)), class: 'btn btn-secondary'
|
||||||
- if show_whitespace_toggle
|
- if show_whitespace_toggle
|
||||||
- if current_controller?(:commit)
|
- if current_controller?(:commit)
|
||||||
= commit_diff_whitespace_link(diffs.project, @commit, class: 'hidden-xs')
|
= commit_diff_whitespace_link(diffs.project, @commit, class: 'hidden-xs')
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
%p
|
%p
|
||||||
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
|
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
|
||||||
= link_to 'Run housekeeping', housekeeping_project_path(@project),
|
= link_to 'Run housekeeping', housekeeping_project_path(@project),
|
||||||
method: :post, class: "btn btn-default"
|
method: :post, class: "btn btn-secondary"
|
||||||
- if can? current_user, :archive_project, @project
|
- if can? current_user, :archive_project, @project
|
||||||
.sub-section
|
.sub-section
|
||||||
%h4.warning-title
|
%h4.warning-title
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
.nav-controls
|
.nav-controls
|
||||||
- if @environment.external_url.present?
|
- if @environment.external_url.present?
|
||||||
= link_to @environment.external_url, class: 'btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
|
= link_to @environment.external_url, class: 'btn btn-secondary', target: '_blank', rel: 'noopener noreferrer nofollow' do
|
||||||
= icon('external-link')
|
= icon('external-link')
|
||||||
= render 'projects/deployments/actions', deployment: @environment.last_deployment
|
= render 'projects/deployments/actions', deployment: @environment.last_deployment
|
||||||
|
|
||||||
|
|
|
@ -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-default pull-right prepend-left-10"
|
= link_to 'Resend Request', retry_project_hook_hook_log_path(@project, @hook, @hook_log), class: "btn btn-secondary pull-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 }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
= link_to params.merge(rss_url_options), class: 'btn btn-default append-right-10 has-tooltip', title: 'Subscribe' do
|
= link_to params.merge(rss_url_options), class: 'btn btn-secondary append-right-10 has-tooltip', title: 'Subscribe' do
|
||||||
= icon('rss')
|
= icon('rss')
|
||||||
- if @can_bulk_update
|
- if @can_bulk_update
|
||||||
= button_tag "Edit issues", class: "btn btn-default append-right-10 js-bulk-update-toggle"
|
= button_tag "Edit issues", class: "btn btn-secondary append-right-10 js-bulk-update-toggle"
|
||||||
= link_to "New issue", new_project_issue_path(@project,
|
= link_to "New issue", new_project_issue_path(@project,
|
||||||
issue: { assignee_id: finder.assignee.try(:id),
|
issue: { assignee_id: finder.assignee.try(:id),
|
||||||
milestone_id: finder.milestones.first.try(:id) }),
|
milestone_id: finder.milestones.first.try(:id) }),
|
||||||
|
|
|
@ -25,12 +25,12 @@
|
||||||
.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-default.pull-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" }
|
%a.btn.btn-secondary.pull-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
|
||||||
.clearfix.issue-btn-group.dropdown
|
.clearfix.issue-btn-group.dropdown
|
||||||
%button.btn.btn-default.pull-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
%button.btn.btn-secondary.pull-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
||||||
Options
|
Options
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
||||||
|
|
|
@ -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-default.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle{ role: "button", type: "button" }
|
%button.btn.btn-secondary.pull-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')
|
||||||
|
|
|
@ -29,14 +29,14 @@
|
||||||
- if @build.artifacts?
|
- if @build.artifacts?
|
||||||
.btn-group.btn-group-justified{ role: :group }
|
.btn-group.btn-group-justified{ role: :group }
|
||||||
- if @build.has_expiring_artifacts? && can?(current_user, :update_build, @build)
|
- if @build.has_expiring_artifacts? && can?(current_user, :update_build, @build)
|
||||||
= link_to keep_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default', method: :post do
|
= link_to keep_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-secondary', method: :post do
|
||||||
Keep
|
Keep
|
||||||
|
|
||||||
= link_to download_project_job_artifacts_path(@project, @build), rel: 'nofollow', download: '', class: 'btn btn-sm btn-default' do
|
= link_to download_project_job_artifacts_path(@project, @build), rel: 'nofollow', download: '', class: 'btn btn-sm btn-secondary' do
|
||||||
Download
|
Download
|
||||||
|
|
||||||
- if @build.browsable_artifacts?
|
- if @build.browsable_artifacts?
|
||||||
= link_to browse_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default' do
|
= link_to browse_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-secondary' do
|
||||||
Browse
|
Browse
|
||||||
|
|
||||||
- if @build.trigger_request
|
- if @build.trigger_request
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
- unless @repository.gitlab_ci_yml
|
- unless @repository.gitlab_ci_yml
|
||||||
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn btn-info'
|
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn btn-info'
|
||||||
|
|
||||||
= link_to ci_lint_path, class: 'btn btn-default' do
|
= link_to ci_lint_path, class: 'btn btn-secondary' do
|
||||||
%span CI lint
|
%span CI lint
|
||||||
|
|
||||||
.content-list.builds-content-list
|
.content-list.builds-content-list
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- if @merge_request.reopenable?
|
- if @merge_request.reopenable?
|
||||||
= link_to 'Reopen merge request', merge_request_path(@merge_request, merge_request: { state_event: :reopen }), method: :put, class: "btn btn-nr btn-comment btn-reopen reopen-mr-link js-note-target-close js-note-target-reopen", title: "Reopen merge request", data: { original_text: "Reopen merge request", alternative_text: "Comment & reopen merge request"}
|
= link_to 'Reopen merge request', merge_request_path(@merge_request, merge_request: { state_event: :reopen }), method: :put, class: "btn btn-nr btn-comment btn-reopen reopen-mr-link js-note-target-close js-note-target-reopen", title: "Reopen merge request", data: { original_text: "Reopen merge request", alternative_text: "Comment & reopen merge request"}
|
||||||
%comment-and-resolve-btn{ "inline-template" => true }
|
%comment-and-resolve-btn{ "inline-template" => true }
|
||||||
%button.btn.btn-nr.btn-default.append-right-10.js-comment-resolve-button{ "v-if" => "showButton", type: "submit", data: { project_path: "#{project_path(@merge_request.project)}" } }
|
%button.btn.btn-nr.btn-secondary.append-right-10.js-comment-resolve-button{ "v-if" => "showButton", type: "submit", data: { project_path: "#{project_path(@merge_request.project)}" } }
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
|
|
||||||
#notes= render "shared/notes/notes_with_form", :autocomplete => true
|
#notes= render "shared/notes/notes_with_form", :autocomplete => true
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
.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-default.pull-right.visible-xs-block.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" }
|
%a.btn.btn-secondary.pull-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
|
||||||
.clearfix.issue-btn-group.dropdown
|
.clearfix.issue-btn-group.dropdown
|
||||||
%button.btn.btn-default.pull-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
%button.btn.btn-secondary.pull-left.hidden-md.hidden-lg{ type: "button", data: { toggle: "dropdown" } }
|
||||||
Options
|
Options
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
.dropdown-menu.dropdown-menu-align-right.hidden-lg
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
.mr-version-menus-container.content-block
|
.mr-version-menus-container.content-block
|
||||||
Changes between
|
Changes between
|
||||||
%span.dropdown.inline.mr-version-dropdown
|
%span.dropdown.inline.mr-version-dropdown
|
||||||
%a.dropdown-toggle.btn.btn-default{ data: {toggle: :dropdown} }
|
%a.dropdown-toggle.btn.btn-secondary{ data: {toggle: :dropdown} }
|
||||||
%span
|
%span
|
||||||
- if @merge_request_diff.latest?
|
- if @merge_request_diff.latest?
|
||||||
latest version
|
latest version
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
- if @merge_request_diff.base_commit_sha
|
- if @merge_request_diff.base_commit_sha
|
||||||
and
|
and
|
||||||
%span.dropdown.inline.mr-version-compare-dropdown
|
%span.dropdown.inline.mr-version-compare-dropdown
|
||||||
%a.btn.btn-default.dropdown-toggle{ data: {toggle: :dropdown} }
|
%a.btn.btn-secondary.dropdown-toggle{ data: {toggle: :dropdown} }
|
||||||
- if @start_version
|
- if @start_version
|
||||||
version #{version_index(@start_version)}
|
version #{version_index(@start_version)}
|
||||||
- else
|
- else
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
#delete-milestone-modal
|
#delete-milestone-modal
|
||||||
|
|
||||||
%a.btn.btn-default.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle{ href: "#" }
|
%a.btn.btn-secondary.btn-grouped.pull-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
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
|
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
|
||||||
%i.clear-icon.js-clear-input
|
%i.clear-icon.js-clear-input
|
||||||
= f.submit "Add to project", class: "btn btn-create"
|
= f.submit "Add to project", class: "btn btn-create"
|
||||||
= link_to "Import", import_project_project_members_path(@project), class: "btn btn-default", title: "Import members from another project"
|
= link_to "Import", import_project_project_members_path(@project), class: "btn btn-secondary", title: "Import members from another project"
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
.error-alert
|
.error-alert
|
||||||
.prepend-top-default
|
.prepend-top-default
|
||||||
= f.submit 'Save changes', class: 'btn btn-save'
|
= f.submit 'Save changes', class: 'btn btn-save'
|
||||||
= link_to "Cancel", project_tag_path(@project, @tag.name), class: "btn btn-default btn-cancel"
|
= link_to "Cancel", project_tag_path(@project, @tag.name), class: "btn btn-secondary btn-cancel"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
= link_to 'Submit as spam', mark_as_spam_project_snippet_path(@project, @snippet), method: :post, class: 'btn btn-grouped btn-spam', title: 'Submit as spam'
|
= link_to 'Submit as spam', mark_as_spam_project_snippet_path(@project, @snippet), method: :post, class: 'btn btn-grouped btn-spam', title: 'Submit as spam'
|
||||||
- if can?(current_user, :create_project_snippet, @project) || can?(current_user, :update_project_snippet, @snippet)
|
- if can?(current_user, :create_project_snippet, @project) || can?(current_user, :update_project_snippet, @snippet)
|
||||||
.visible-xs-block.dropdown
|
.visible-xs-block.dropdown
|
||||||
%button.btn.btn-default.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } }
|
%button.btn.btn-secondary.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } }
|
||||||
Options
|
Options
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.dropdown-menu.dropdown-menu-full-width
|
.dropdown-menu.dropdown-menu-full-width
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
= render 'projects/find_file_link'
|
= render 'projects/find_file_link'
|
||||||
|
|
||||||
= succeed " " do
|
= succeed " " do
|
||||||
= link_to ide_edit_path(@project, @id, ""), class: 'btn btn-default' do
|
= link_to ide_edit_path(@project, @id, ""), class: 'btn btn-secondary' do
|
||||||
= _('Web IDE')
|
= _('Web IDE')
|
||||||
|
|
||||||
= render 'projects/buttons/download', project: @project, ref: @ref
|
= render 'projects/buttons/download', project: @project, ref: @ref
|
||||||
|
|
|
@ -33,10 +33,10 @@
|
||||||
- take_ownership_confirmation = "By taking ownership you will bind this trigger to your user account. With this the trigger will have access to all your projects as if it was you. Are you sure?"
|
- take_ownership_confirmation = "By taking ownership you will bind this trigger to your user account. With this the trigger will have access to all your projects as if it was you. Are you sure?"
|
||||||
- revoke_trigger_confirmation = "By revoking a trigger you will break any processes making use of it. Are you sure?"
|
- revoke_trigger_confirmation = "By revoking a trigger you will break any processes making use of it. Are you sure?"
|
||||||
- if trigger.owner != current_user && can?(current_user, :manage_trigger, trigger)
|
- if trigger.owner != current_user && can?(current_user, :manage_trigger, trigger)
|
||||||
= link_to 'Take ownership', take_ownership_project_trigger_path(@project, trigger), data: { confirm: take_ownership_confirmation }, method: :post, class: "btn btn-default btn-sm btn-trigger-take-ownership"
|
= link_to 'Take ownership', take_ownership_project_trigger_path(@project, trigger), data: { confirm: take_ownership_confirmation }, method: :post, class: "btn btn-secondary btn-sm btn-trigger-take-ownership"
|
||||||
- if can?(current_user, :admin_trigger, trigger)
|
- if can?(current_user, :admin_trigger, trigger)
|
||||||
= link_to edit_project_trigger_path(@project, trigger), method: :get, title: "Edit", class: "btn btn-default btn-sm" do
|
= link_to edit_project_trigger_path(@project, trigger), method: :get, title: "Edit", class: "btn btn-secondary btn-sm" do
|
||||||
%i.fa.fa-pencil
|
%i.fa.fa-pencil
|
||||||
- if can?(current_user, :manage_trigger, trigger)
|
- if can?(current_user, :manage_trigger, trigger)
|
||||||
= link_to project_trigger_path(@project, trigger), data: { confirm: revoke_trigger_confirmation }, method: :delete, title: "Revoke", class: "btn btn-default btn-warning btn-sm btn-trigger-revoke" do
|
= link_to project_trigger_path(@project, trigger), data: { confirm: revoke_trigger_confirmation }, method: :delete, title: "Revoke", class: "btn btn-secondary btn-warning btn-sm btn-trigger-revoke" do
|
||||||
%i.fa.fa-trash
|
%i.fa.fa-trash
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
= wiki_page_errors(@error)
|
= wiki_page_errors(@error)
|
||||||
|
|
||||||
.wiki-page-header.has-sidebar-toggle
|
.wiki-page-header.has-sidebar-toggle
|
||||||
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
%button.btn.btn-secondary.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
||||||
= icon('angle-double-left')
|
= icon('angle-double-left')
|
||||||
|
|
||||||
.nav-text
|
.nav-text
|
||||||
|
|
|
@ -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-default.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
%button.btn.btn-secondary.visible-xs.visible-sm.pull-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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- page_title _("History"), @page.title.capitalize, _("Wiki")
|
- page_title _("History"), @page.title.capitalize, _("Wiki")
|
||||||
|
|
||||||
.wiki-page-header.has-sidebar-toggle
|
.wiki-page-header.has-sidebar-toggle
|
||||||
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
%button.btn.btn-secondary.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
||||||
= icon('angle-double-left')
|
= icon('angle-double-left')
|
||||||
|
|
||||||
.nav-text
|
.nav-text
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- add_to_breadcrumbs _("Wiki"), get_project_wiki_path(@project)
|
- add_to_breadcrumbs _("Wiki"), get_project_wiki_path(@project)
|
||||||
|
|
||||||
.wiki-page-header.has-sidebar-toggle
|
.wiki-page-header.has-sidebar-toggle
|
||||||
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
%button.btn.btn-secondary.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
||||||
= icon('angle-double-left')
|
= icon('angle-double-left')
|
||||||
|
|
||||||
.nav-text
|
.nav-text
|
||||||
|
|
|
@ -19,4 +19,4 @@
|
||||||
|
|
||||||
= text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true, aria: { label: 'Project clone URL' }
|
= text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true, aria: { label: 'Project clone URL' }
|
||||||
.input-group-btn
|
.input-group-btn
|
||||||
= clipboard_button(target: '#project_clone', title: _("Copy URL to clipboard"), class: "btn-default btn-clipboard")
|
= clipboard_button(target: '#project_clone', title: _("Copy URL to clipboard"), class: "btn-secondary btn-clipboard")
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
%span will be permanently deleted from #{label.is_a?(ProjectLabel)? label.project.name : label.group.name}. This cannot be undone.
|
%span will be permanently deleted from #{label.is_a?(ProjectLabel)? label.project.name : label.group.name}. This cannot be undone.
|
||||||
|
|
||||||
.modal-footer
|
.modal-footer
|
||||||
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' } Cancel
|
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-secondary' } Cancel
|
||||||
|
|
||||||
= link_to 'Delete label',
|
= link_to 'Delete label',
|
||||||
destroy_label_path(label),
|
destroy_label_path(label),
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
= render "shared/label_row", label: label
|
= render "shared/label_row", label: label
|
||||||
|
|
||||||
.visible-xs.visible-sm-inline-block.dropdown
|
.visible-xs.visible-sm-inline-block.dropdown
|
||||||
%button.btn.btn-default.label-options-toggle{ type: 'button', data: { toggle: "dropdown" } }
|
%button.btn.btn-secondary.label-options-toggle{ type: 'button', data: { toggle: "dropdown" } }
|
||||||
Options
|
Options
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.dropdown-menu.dropdown-menu-align-right
|
.dropdown-menu.dropdown-menu-align-right
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
- if current_user
|
- if current_user
|
||||||
.label-subscription.inline
|
.label-subscription.inline
|
||||||
- if can_subscribe_to_label_in_different_levels?(label)
|
- if can_subscribe_to_label_in_different_levels?(label)
|
||||||
%button.js-unsubscribe-button.label-subscribe-button.btn.btn-default{ type: 'button', class: ('hidden' if status.unsubscribed?), data: { url: toggle_subscription_path } }
|
%button.js-unsubscribe-button.label-subscribe-button.btn.btn-secondary{ type: 'button', class: ('hidden' if status.unsubscribed?), data: { url: toggle_subscription_path } }
|
||||||
%span Unsubscribe
|
%span Unsubscribe
|
||||||
= icon('spinner spin', class: 'label-subscribe-button-loading')
|
= icon('spinner spin', class: 'label-subscribe-button-loading')
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
%a.js-subscribe-button{ class: ('hidden' unless status.unsubscribed?), data: { url: toggle_subscription_group_label_path(label.group, label) } }
|
%a.js-subscribe-button{ class: ('hidden' unless status.unsubscribed?), data: { url: toggle_subscription_group_label_path(label.group, label) } }
|
||||||
Group level
|
Group level
|
||||||
- else
|
- else
|
||||||
%button.js-subscribe-button.label-subscribe-button.btn.btn-default{ type: 'button', data: { status: status, url: toggle_subscription_path } }
|
%button.js-subscribe-button.label-subscribe-button.btn.btn-secondary{ type: 'button', data: { status: status, url: toggle_subscription_path } }
|
||||||
%span= label_subscription_toggle_button_text(label, @project)
|
%span= label_subscription_toggle_button_text(label, @project)
|
||||||
= icon('spinner spin', class: 'label-subscribe-button-loading')
|
= icon('spinner spin', class: 'label-subscribe-button-loading')
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%span.issue-count-badge-count.pull-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
|
%span.issue-count-badge-count.pull-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
|
||||||
{{ list.issuesSize }}
|
{{ list.issuesSize }}
|
||||||
- if can?(current_user, :admin_list, current_board_parent)
|
- if can?(current_user, :admin_list, current_board_parent)
|
||||||
%button.issue-count-badge-add-button.btn.btn-sm.btn-default.has-tooltip.js-no-trigger-collapse{ type: "button",
|
%button.issue-count-badge-add-button.btn.btn-sm.btn-secondary.has-tooltip.js-no-trigger-collapse{ type: "button",
|
||||||
"@click" => "showNewIssueForm",
|
"@click" => "showNewIssueForm",
|
||||||
"v-if" => 'list.type !== "closed"',
|
"v-if" => 'list.type !== "closed"',
|
||||||
"aria-label" => "New issue",
|
"aria-label" => "New issue",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.block.issuable-sidebar-header
|
.block.issuable-sidebar-header
|
||||||
.filter-item.inline.update-issues-btn.pull-left
|
.filter-item.inline.update-issues-btn.pull-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-default js-bulk-update-menu-hide pull-right"
|
= button_tag "Cancel", class: "btn btn-secondary js-bulk-update-menu-hide pull-right"
|
||||||
.block
|
.block
|
||||||
.title
|
.title
|
||||||
Status
|
Status
|
||||||
|
|
|
@ -14,5 +14,5 @@
|
||||||
.clearfix
|
.clearfix
|
||||||
%button.btn.btn-primary.pull-left.js-new-label-btn{ type: "button" }
|
%button.btn.btn-primary.pull-left.js-new-label-btn{ type: "button" }
|
||||||
= _('Create')
|
= _('Create')
|
||||||
%button.btn.btn-default.pull-right.js-cancel-label-btn{ type: "button" }
|
%button.btn.btn-secondary.pull-right.js-cancel-label-btn{ type: "button" }
|
||||||
= _('Cancel')
|
= _('Cancel')
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
.sidebar-collapsed-icon{ data: { toggle: 'tooltip', placement: 'left', container: 'body' }, title: _('Move issue') }
|
.sidebar-collapsed-icon{ data: { toggle: 'tooltip', placement: 'left', container: 'body' }, title: _('Move issue') }
|
||||||
= custom_icon('icon_arrow_right')
|
= custom_icon('icon_arrow_right')
|
||||||
.dropdown.sidebar-move-issue-dropdown.hide-collapsed
|
.dropdown.sidebar-move-issue-dropdown.hide-collapsed
|
||||||
%button.btn.btn-default.btn-block.js-sidebar-dropdown-toggle.js-move-issue{ type: 'button',
|
%button.btn.btn-secondary.btn-block.js-sidebar-dropdown-toggle.js-move-issue{ type: 'button',
|
||||||
data: { toggle: 'dropdown' } }
|
data: { toggle: 'dropdown' } }
|
||||||
= _('Move issue')
|
= _('Move issue')
|
||||||
.dropdown-menu.dropdown-menu-selectable
|
.dropdown-menu.dropdown-menu-selectable
|
||||||
|
|
|
@ -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-default issuable-header-btn pull-right'),
|
class: (is_collapsed ? 'btn-blank sidebar-collapsed-icon dont-change-state has-tooltip' : 'btn btn-secondary issuable-header-btn pull-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) }
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
- if member.can_resend_invite?
|
- if member.can_resend_invite?
|
||||||
= link_to icon('paper-plane'), polymorphic_path([:resend_invite, member]),
|
= link_to icon('paper-plane'), polymorphic_path([:resend_invite, member]),
|
||||||
method: :post,
|
method: :post,
|
||||||
class: 'btn btn-default prepend-left-10 hidden-xs',
|
class: 'btn btn-secondary prepend-left-10 hidden-xs',
|
||||||
title: 'Resend invite'
|
title: 'Resend invite'
|
||||||
|
|
||||||
- if user != current_user && member.can_update?
|
- if user != current_user && member.can_update?
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
- group = local_assigns[:group]
|
- group = local_assigns[:group]
|
||||||
|
|
||||||
.detail-page-header
|
.detail-page-header
|
||||||
%a.btn.btn-default.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle{ href: "#" }
|
%a.btn.btn-secondary.btn-grouped.pull-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'}" }
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
= icon('file-image-o', class: 'toolbar-button-icon')
|
= icon('file-image-o', class: 'toolbar-button-icon')
|
||||||
Attach a file
|
Attach a file
|
||||||
|
|
||||||
%button.btn.btn-default.btn-xs.hide.button-cancel-uploading-files{ type: 'button' } Cancel
|
%button.btn.btn-secondary.btn-xs.hide.button-cancel-uploading-files{ type: 'button' } Cancel
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
.js-notification-toggle-btns
|
.js-notification-toggle-btns
|
||||||
%div{ class: ("btn-group" if notification_setting.custom?) }
|
%div{ class: ("btn-group" if notification_setting.custom?) }
|
||||||
- if notification_setting.custom?
|
- if notification_setting.custom?
|
||||||
%button.dropdown-new.btn.btn-default.has-tooltip.notifications-btn#notifications-button{ type: "button", title: "Notification setting", "aria-label" => "Notification setting: #{notification_title(notification_setting.level)}", data: { container: "body", toggle: "modal", target: "#" + notifications_menu_identifier("modal", notification_setting) } }
|
%button.dropdown-new.btn.btn-secondary.has-tooltip.notifications-btn#notifications-button{ type: "button", title: "Notification setting", "aria-label" => "Notification setting: #{notification_title(notification_setting.level)}", data: { container: "body", toggle: "modal", target: "#" + notifications_menu_identifier("modal", notification_setting) } }
|
||||||
= icon("bell", class: "js-notification-loading")
|
= icon("bell", class: "js-notification-loading")
|
||||||
= notification_title(notification_setting.level)
|
= notification_title(notification_setting.level)
|
||||||
%button.btn.dropdown-toggle{ data: { toggle: "dropdown", target: notifications_menu_identifier("dropdown", notification_setting) } }
|
%button.btn.dropdown-toggle{ data: { toggle: "dropdown", target: notifications_menu_identifier("dropdown", notification_setting) } }
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.sr-only Toggle dropdown
|
.sr-only Toggle dropdown
|
||||||
- else
|
- else
|
||||||
%button.dropdown-new.btn.btn-default.has-tooltip.notifications-btn#notifications-button{ type: "button", title: "Notification setting", "aria-label" => "Notification setting: #{notification_title(notification_setting.level)}", data: { container: "body", toggle: "dropdown", target: notifications_menu_identifier("dropdown", notification_setting) } }
|
%button.dropdown-new.btn.btn-secondary.has-tooltip.notifications-btn#notifications-button{ type: "button", title: "Notification setting", "aria-label" => "Notification setting: #{notification_title(notification_setting.level)}", data: { container: "body", toggle: "dropdown", target: notifications_menu_identifier("dropdown", notification_setting) } }
|
||||||
= icon("bell", class: "js-notification-loading")
|
= icon("bell", class: "js-notification-loading")
|
||||||
= notification_title(notification_setting.level)
|
= notification_title(notification_setting.level)
|
||||||
= icon("caret-down")
|
= icon("caret-down")
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
- if @snippet.submittable_as_spam_by?(current_user)
|
- if @snippet.submittable_as_spam_by?(current_user)
|
||||||
= link_to 'Submit as spam', mark_as_spam_snippet_path(@snippet), method: :post, class: 'btn btn-grouped btn-spam', title: 'Submit as spam'
|
= link_to 'Submit as spam', mark_as_spam_snippet_path(@snippet), method: :post, class: 'btn btn-grouped btn-spam', title: 'Submit as spam'
|
||||||
.visible-xs-block.dropdown
|
.visible-xs-block.dropdown
|
||||||
%button.btn.btn-default.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } }
|
%button.btn.btn-secondary.btn-block.append-bottom-0.prepend-top-5{ data: { toggle: "dropdown" } }
|
||||||
Options
|
Options
|
||||||
= icon('caret-down')
|
= icon('caret-down')
|
||||||
.dropdown-menu.dropdown-menu-full-width
|
.dropdown-menu.dropdown-menu-full-width
|
||||||
|
|
Loading…
Reference in New Issue