Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
fc30a001
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fc30a001
编写于
5月 16, 2020
作者:
G
GitLab Bot
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add latest changes from gitlab-org/gitlab@master
上级
00791a1b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
5 deletion
+16
-5
app/assets/javascripts/alert_management/components/alert_details.vue
...javascripts/alert_management/components/alert_details.vue
+9
-5
app/assets/stylesheets/pages/alerts_list.scss
app/assets/stylesheets/pages/alerts_list.scss
+7
-0
未找到文件。
app/assets/javascripts/alert_management/components/alert_details.vue
浏览文件 @
fc30a001
...
...
@@ -133,30 +133,34 @@ export default {
<div
v-if=
"loading"
><gl-loading-icon
size=
"lg"
class=
"gl-mt-5"
/></div>
<div
v-if=
"alert"
class=
"alert-management-details gl-relative"
>
<div
class=
"gl-display-flex gl-justify-content-space-between gl-align-items-
center gl-px-1 gl-py-6 gl-border-b-1 gl-border-b-gray-200 gl-border-b-solid
"
class=
"gl-display-flex gl-justify-content-space-between gl-align-items-
baseline gl-px-1 py-3 py-md-4 gl-border-b-1 gl-border-b-gray-200 gl-border-b-solid flex-column flex-sm-row
"
>
<div
data-testid=
"alert-header"
>
<div
data-testid=
"alert-header"
class=
"gl-display-flex gl-align-items-center gl-justify-content-center"
>
<div
class=
"gl-display-inline-flex gl-align-items-center gl-justify-content-space-between"
>
<gl-icon
class=
"gl-mr-3"
class=
"gl-mr-3
align-middle
"
:size=
"12"
:name=
"`severity-$
{alert.severity.toLowerCase()}`"
:class="`icon-${alert.severity.toLowerCase()}`"
/>
<strong>
{{
$options
.
severityLabels
[
alert
.
severity
]
}}
</strong>
</div>
<span
class=
"
gl-shim-
mx-2"
>
•
</span>
<span
class=
"mx-2"
>
•
</span>
<gl-sprintf
:message=
"reportedAtMessage"
>
<template
#when
>
<time-ago-tooltip
:time=
"alert.createdAt"
/>
<time-ago-tooltip
:time=
"alert.createdAt"
class=
"gl-ml-3"
/>
</
template
>
<
template
#tool
>
{{
alert
.
monitoringTool
}}
</
template
>
</gl-sprintf>
</div>
<gl-button
v-if=
"glFeatures.createIssueFromAlertEnabled"
class=
"gl-mt-3 mt-sm-0 align-self-center align-self-sm-baseline"
data-testid=
"createIssueBtn"
:href=
"newIssuePath"
category=
"primary"
...
...
app/assets/stylesheets/pages/alerts_list.scss
浏览文件 @
fc30a001
...
...
@@ -97,6 +97,13 @@
}
}
@include
media-breakpoint-down
(
xs
)
{
// TODO Remove in favour of a details CSS page
[
data-testid
=
'createIssueBtn'
]
{
width
:
100%
;
}
}
.gl-tab-nav-item
{
color
:
$gl-gray-600
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录