Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Purik committed Aug 2, 2021
1 parent 1fe0279 commit 590c442
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
28 changes: 28 additions & 0 deletions app/templates/forms/healths.redis.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">#</th>
<th scope="col">Message delivery</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
{% for redis in health.redis %}
<tr>
<th scope="row">{{redis.id}}</th>
<td>{{ redis.address }}</td>
<td>
{% if redis.success %}
<div class="ring-container">
<div class="ringring pingable"></div>
</div>
{% else %}
<div class="ring-container">
<div class="ringring non-pingable"></div>
</div>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">#</th>
<th scope="col">Message delivery</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
{% for redis in health.redis %}
<tr>
<th scope="row">{{redis.id}}</th>
<td>{{ redis.address }}</td>
<td>
{% if redis.success %}
<div class="ring-container">
<div class="ringring pingable"></div>
</div>
{% else %}
<div class="ring-container">
<div class="ringring non-pingable"></div>
</div>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>

<table class="table">
<thead class="thead-dark">
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ services:
- WEBROOT=http://didcomm.server.com
- SEED=000000000000000000000000000RELAY
- LOGLEVEL=DEBUG
#- FCM_API_KEY=fake-key
#- FCM_SENDER_ID=fake-id
- FCM_API_KEY=fake-key
- FCM_SENDER_ID=fake-id
- ACME_DIR=/certs
volumes:
- ./app:/app
Expand Down

0 comments on commit 590c442

Please sign in to comment.