powerb ar
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 7s
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 7s
This commit is contained in:
parent
26d679e062
commit
8750f1385e
1 changed files with 5 additions and 4 deletions
|
@ -105,7 +105,7 @@ input:checked + .slider:before {
|
|||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h1 class="mt-3">powerbar.ti (0.0.5)</h1>
|
||||
<h1 class="mt-3">powerbar.ti (0.0.7)</h1>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
|
@ -168,20 +168,21 @@ input:checked + .slider:before {
|
|||
<div class="col-md-12">
|
||||
<div class="card" style="margin:10px 0">
|
||||
<div class="card-header"><h2>Groups</h2></div>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% for group in all_groups %}
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-7">{{group.name}}</div>
|
||||
<div class="col-md-5">
|
||||
<div class="col-md-6">{{group.name}}</div>
|
||||
<div class="col-md-6">
|
||||
<div class="btn-group" role="group" aria-label="Powerbar Controls">
|
||||
<button class="btn btn-success" onclick="getUrl('/{{group.powerbar}}/groups/{{group.name}}/off')">Off</button>
|
||||
<button class="btn btn-primary" onclick="getUrl('/{{group.powerbar}}/groups/{{group.name}}/on')">On</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue