Compare commits

...

2 commits

3 changed files with 9 additions and 15 deletions

View file

@ -1 +1,2 @@
target/
config/endstat_conf.ron

View file

@ -20,6 +20,7 @@ WORKDIR /app
COPY --from=builder /app/target/release/endstat /app
COPY ./config /app/config
RUN mv /app/config/endstat_conf.example.ron /app/config/endstat_conf.ron
EXPOSE 8080
CMD ["/app/endstat"]

View file

@ -35,21 +35,13 @@
}
p { margin: 0; }
a {
color: #fff;
text-decoration: none;
}
a { color: #fff; text-decoration: none; }
h1 { margin: 0; }
h3 { margin: 0; text-align: justify; }
.info {
display: flex;
align-items: baseline;
}
.spacer {
flex: 1 0 1rem;
}
h3 { margin: 0; text-align: justify; flex-shrink: 0; }
.info { display: flex; align-items: baseline; }
.info a { text-align: right; }
.spacer { flex: 1 0 1rem; }
.indicator {
width: 1rem;
@ -76,7 +68,7 @@
<div class="info">
<h3>{{ status.endpoint }}</h3>
<div class="spacer"></div>
<a href="{{ status.location }}">{{ status.location }}</a>
<a href="{{ status.location }}" target="_blank">{{ status.location }}</a>
</div>
{% if status.error %}<p class="error-msg">{{ status.error }}</p>{% endif %}
</main>