Skip to content

Commit fbd0d34

Browse files
feat: add warning message on profile management screens (#12)
Signed-off-by: Mathew Wicks <[email protected]>
1 parent 8a6ccf3 commit fbd0d34

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

dashboard/public/components/registration-page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ h2+aside {
5252
}
5353

5454
#MainCard .Main-Content {
55-
height: 275px;
55+
height: 350px;
5656
}
5757

5858
neon-animatable {

dashboard/public/components/resources/md2-input/md2-input.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,18 @@ input {
5252
color: var(--action-color);
5353
@apply --paper-input-error;
5454
@apply --md2-error;
55+
}
56+
.paper-material {
57+
display: inline-block;
58+
box-sizing: border-box;
59+
padding: 1rem;
60+
color: var(--paper-grey-800);
61+
background-color: var(--paper-grey-50);
62+
@apply --shadow-elevation-2dp;
63+
@apply --paper-material;
64+
}
65+
.paper-material h3 {
66+
margin: 0;
67+
font-size: 1.2rem;
68+
color: var(--paper-red-500);
5569
}

dashboard/public/components/resources/md2-input/md2-input.pug

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,19 @@
66
on-focus='inputFocused', on-blur='inputBlurred', on-keydown='validateRange')
77
slot(name='suffix', slot='suffix')
88
iron-a11y-keys#keys(target='[[inputElement]]', keys='enter', on-keys-pressed='fireEnter')
9-
aside.Error [[error]]
9+
aside.Error [[error]]
10+
11+
div(class="paper-material")
12+
h3 WARNING
13+
p
14+
| deployKF does
15+
|
16+
strong NOT
17+
|
18+
| support managing profiles through this interface.
19+
br
20+
| Please see the
21+
|
22+
a(href='https://www.deploykf.org/guides/platform/deploykf-profiles/') profile management
23+
|
24+
| guide.

0 commit comments

Comments
 (0)