Skip to content

Commit b61e2e5

Browse files
committed
Portal alert banner for USDF outage
1 parent 96ac891 commit b61e2e5

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

applications/portal/values-idfdev.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,28 @@ replicaCount: 2
22

33
config:
44
alertMessage: |
5-
This is a test alert message.
6-
It should be shown to all users.
5+
<style>
6+
.myWarning{
7+
background-color: var(--joy-palette-primary-softBg);
8+
text-align: center;
9+
font-size:var(--joy-fontSize-lg);
10+
margin-top: 5px
11+
a:any-link {
12+
color: var(--joy-palette-primary-400);
13+
text-decoration-line: underline;
14+
cursor: auto;
15+
}
16+
}
17+
div div:has(.myWarning) {
18+
padding:0;
19+
}
20+
div:has(.myWarning) {
21+
width: 100%;
22+
}
23+
</style>
24+
<div class= 'myWarning'>
25+
keep calm and <a href="https://rsp.lsst.io">read the docs</a>
26+
</div>
727
volumes:
828
cleanupInterval: "1h"
929
sharedWorkarea:

applications/portal/values-idfprod.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
replicaCount: 4
22

33
config:
4+
alertMessage: |
5+
<style>
6+
.myWarning{
7+
background-color: var(--joy-palette-primary-softBg);
8+
text-align: center;
9+
font-size:var(--joy-fontSize-lg);
10+
margin-top: 5px
11+
a:any-link {
12+
color: var(--joy-palette-primary-400);
13+
text-decoration-line: underline;
14+
cursor: auto;
15+
}
16+
}
17+
div div:has(.myWarning) {
18+
padding:0;
19+
}
20+
div:has(.myWarning) {
21+
width: 100%;
22+
}
23+
</style>
24+
<div class= 'myWarning'>
25+
Service disruption see alert on <a href="https://data.lsst.cloud">data.lsst.cloud</a>
26+
</div>
427
cleanupInterval: "1h"
528
volumes:
629
sharedWorkarea:

0 commit comments

Comments
 (0)