Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bd4b1fb7
Commit
bd4b1fb7
authored
Nov 23, 2020
by
Gilang Gumilar
Committed by
Mark Florian
Nov 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update alert styling in runners admin
parent
e1d7aca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
app/views/admin/runners/show.html.haml
app/views/admin/runners/show.html.haml
+8
-7
changelogs/unreleased/233648-replace-bootstrap-alerts-in-app-views-admin-runners-show-html-haml.yml
...trap-alerts-in-app-views-admin-runners-show-html-haml.yml
+5
-0
No files found.
app/views/admin/runners/show.html.haml
View file @
bd4b1fb7
...
...
@@ -39,17 +39,18 @@
%thead
%tr
%th
Assigned projects
%th
-
@runner
.
runner_projects
.
each
do
|
runner_project
|
-
project
=
runner_project
.
project
-
if
project
%tr
.alert-info
%tr
%td
%strong
=
project
.
full_name
%td
.float-right
=
link_to
'Disable'
,
admin_namespace_project_runner_project_path
(
project
.
namespace
,
project
,
runner_project
),
method: :delete
,
class:
'gl-button btn btn-danger btn-sm'
.gl-alert.gl-alert-danger
=
sprite_icon
(
'error'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-body
%strong
=
project
.
full_name
.gl-alert-actions
=
link_to
s_
(
'Disable'
),
admin_namespace_project_runner_project_path
(
project
.
namespace
,
project
,
runner_project
),
method: :delete
,
class:
'btn gl-alert-action btn-info btn-md gl-button'
%table
.table.unassigned-projects
%thead
...
...
changelogs/unreleased/233648-replace-bootstrap-alerts-in-app-views-admin-runners-show-html-haml.yml
0 → 100644
View file @
bd4b1fb7
---
title
:
Replace bootstrap alerts in app/views/admin/runners/show.html.haml
merge_request
:
41378
author
:
Gilang Gumilar
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment