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
ac01121e
Commit
ac01121e
authored
Nov 23, 2020
by
Taurie Davis
Committed by
Phil Hughes
Nov 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert Knative failed update alert to use gitlab-ui
parent
91daa6a8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
19 deletions
+11
-19
app/assets/javascripts/clusters/components/knative_domain_editor.vue
...javascripts/clusters/components/knative_domain_editor.vue
+6
-3
app/assets/stylesheets/pages/clusters.scss
app/assets/stylesheets/pages/clusters.scss
+0
-16
changelogs/unreleased/242023-knative-alert.yml
changelogs/unreleased/242023-knative-alert.yml
+5
-0
No files found.
app/assets/javascripts/clusters/components/knative_domain_editor.vue
View file @
ac01121e
...
...
@@ -7,6 +7,7 @@ import {
GlSearchBoxByType
,
GlSprintf
,
GlButton
,
GlAlert
,
}
from
'
@gitlab/ui
'
;
import
ClipboardButton
from
'
../../vue_shared/components/clipboard_button.vue
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
...
...
@@ -25,6 +26,7 @@ export default {
GlDropdownItem
,
GlSearchBoxByType
,
GlSprintf
,
GlAlert
,
},
props
:
{
knative
:
{
...
...
@@ -106,12 +108,13 @@ export default {
<
template
>
<div
class=
"row"
>
<
div
<
gl-alert
v-if=
"knative.updateFailed"
class=
"bs-callout bs-callout-danger cluster-application-banner col-12 mt-2 mb-2 js-cluster-knative-domain-name-failure-message"
class=
"gl-mb-5 col-12 js-cluster-knative-domain-name-failure-message"
variant=
"danger"
>
{{
s__
(
'
ClusterIntegration|Something went wrong while updating Knative domain name.
'
)
}}
</
div
>
</
gl-alert
>
<div
:class=
"
{ 'col-md-6': knativeInstalled, 'col-12': !knativeInstalled }"
...
...
app/assets/stylesheets/pages/clusters.scss
View file @
ac01121e
...
...
@@ -58,22 +58,6 @@
}
}
.cluster-application-banner
{
height
:
45px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.cluster-application-banner-close
{
align-self
:
flex-start
;
font-weight
:
500
;
font-size
:
20px
;
color
:
$orange-500
;
opacity
:
1
;
margin
:
$gl-padding-8
14px
0
0
;
}
.cluster-application-description
{
flex
:
1
;
}
...
...
changelogs/unreleased/242023-knative-alert.yml
0 → 100644
View file @
ac01121e
---
title
:
Convert knative error alert to glalert
merge_request
:
47840
author
:
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