Skip to content

Commit 32e1b52

Browse files
rnijvelddavidv1992
authored andcommitted
Add experimental info message
1 parent a6802fc commit 32e1b52

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

nts-pool-management/assets/components.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ a.btn {
5757

5858
highlight-actions {
5959
display: flex;
60-
justify-content: center;
60+
justify-content: start;
61+
margin-bottom: var(--space-md);
6162

6263
& > * {
6364
margin: var(--space-sm) var(--space-sm) var(--space-sm) 0;
@@ -113,7 +114,7 @@ section > p {
113114
margin-bottom: var(--space-sm);
114115
}
115116

116-
section.contained {
117+
.contained {
117118
max-width: 80ch;
118119
}
119120

@@ -253,6 +254,12 @@ dialog .dialog-actions {
253254
border-color: var(--error)
254255
}
255256

257+
.info {
258+
color: color-mix(in lab, var(--info), var(--black) 50%);
259+
background-color: color-mix(in lab, var(--info), var(--white) 70%);
260+
border-color: var(--info)
261+
}
262+
256263
details.toast > summary,
257264
aside {
258265
padding: var(--space-sm) var(--space-md);
@@ -321,3 +328,7 @@ table {
321328
background-color: var(--white);
322329
}
323330
}
331+
332+
.nowrap {
333+
white-space: nowrap;
334+
}

nts-pool-management/assets/main.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ header {
1515
background-color: var(--background-alt);
1616
padding: var(--space-md) var(--space-md);
1717
display: flex;
18+
flex-wrap: wrap;
1819
width: 100vw;
1920
flex: 0;
2021
}
@@ -67,7 +68,7 @@ nav {
6768
border-bottom: 4px solid var(--primary);
6869
}
6970
}
70-
71+
7172
li {
7273
list-style: none;
7374
}

nts-pool-management/assets/variables.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
--black: #000000;
1414
--error: #ce4242;
1515
--success: #74ce42;
16+
--info: #99b6d5;
1617
--link: #0a57f0;
1718

1819
/* spacing */

nts-pool-management/templates/layout.html.j2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
</div>
4848
</nav>
4949
<header>
50+
5051
{% block header %}{% endblock %}
52+
5153
</header>
5254
{% if let Some((msg_type, msg)) = app.flash_message %}
5355
<details class="toast {{ msg_type }}" open>
@@ -57,6 +59,12 @@
5759
</details>
5860
{% endif %}
5961
<main>
62+
<aside class="info experimental contained">
63+
The NTS pool is experimental. Please help us by leaving your feedback and reporting problems
64+
at <a href="https://github.com/pendulum-project/nts-pool/discussions">our discussion forum</a>,
65+
<a href="https://github.com/pendulum-project/nts-pool/issues">our issue tracker</a>, or via
66+
<a href="mailto:[email protected]" class="nowrap">[email protected]</a>.
67+
</aside>
6068
{% block content %}{% endblock %}
6169
</main>
6270
<footer>

0 commit comments

Comments
 (0)