display commit at recipe

This commit is contained in:
pakintada@gmail.com 2023-12-06 10:05:16 +07:00
parent 820557a268
commit f2ec0ed5fa
6 changed files with 640 additions and 555 deletions

View file

@ -112,17 +112,20 @@
</button>
<!-- todo: add modal -->
<dialog id="select_savefile_modal" class="modal">
<div class="modal-box max-w-[600px] overflow-visible">
<div class="modal-box max-w-[1000px] overflow-visible">
<p class="font-bold text-lg m-2">Saved Files</p>
<table class="table">
<tr class="bg-primary ">
<th>Name</th>
<th>Commit ID</th>
<th>Comment</th>
<!-- <th></th> -->
<th>Editor</th>
<th>Date</th>
</tr>
<tr class="row hover:bg-secondary" *ngFor="let file of savedTmpfiles">
<td>{{ file }}</td>
<td>"-"</td>
<td>{{ file.Id }}</td>
<td>{{ file.Msg }}</td>
<td>{{ file.Editor }}</td>
<td>{{ file.Created_at }}</td>
<button class="btn bg-blue-400">Select</button>
</tr>
</table>