-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added newtasks tab and removed some functions from autocomplete (PoC)
- Loading branch information
1 parent
41bac16
commit 2dc6e04
Showing
5 changed files
with
87 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% include "header.html" %} | ||
<div class="col-11" id="content" style="border-left:1px solid #b1b1b1;"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<br/> | ||
<button type="button" class="btn btn-success">Tasks in queue</button> | ||
<div class="row"> | ||
<div id="newtasks" class="implants col-10"> | ||
<table class="table table-sm align-middle mb-0 bg-dark table-hover"> | ||
<thead class="bg-lighdt" style="background-color:#009620;"> | ||
<tr> | ||
<th>#</th> | ||
<th>Implant ID</th> | ||
<th>Command</th> | ||
<th>User</th> | ||
<th style="text-align:center">ACTION</th> | ||
</tr> | ||
</thead> | ||
{% for task in new_tasks %} | ||
<tr | ||
{% if loop.index0 % 2 == 0 %} | ||
class="table-secondary" | ||
{% else %} | ||
class="table-success" | ||
{% endif %} | ||
> | ||
<td>{{task.id}}</td> | ||
<td>{{task.implant_id}}</td> | ||
<td>{{task.command}}</td> | ||
<td>{{task.user}}</td> | ||
<td style="text-align:center"><a href="/newtasksview/del/{{task.id}}" class="badge badge-danger rounded-pill d-inline">DEL</a></td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
<!-- newtasks --> | ||
|
||
</div> | ||
<!-- /row --> | ||
</div> | ||
<!--/ title --> | ||
</div> | ||
<!-- /row --> | ||
<br/> | ||
</div> | ||
<!-- /content --> | ||
{% include "footer.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters