dnet-applications/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/parts/org_journal.html

25 lines
839 B
HTML

<p ng-show="logs.length > 0">
<input type="text" class="form-control form-control-sm" ng-model="journalFilter" placeholder="Filter..." />
</p>
<table class="table table-sm table-striped">
<thead>
<tr class="d-flex">
<th class="col-2">date</th>
<th class="col-1">operation</th>
<th class="col-7">description</th>
<th class="col-2">performed by</th>
</tr>
</thead>
<tbody>
<tr ng-if="logs.length == 0" class="d-flex">
<td colspan="4" class="col-12">No registered events !!!</td>
</tr>
<tr ng-repeat="l in logs | filter:journalFilter" class="d-flex">
<th class="text-monospace col-2">{{l.date| date:'yyyy-MM-dd @ HH:mm:ss'}}</th>
<td class="col-1"><span class="small">{{l.operation}}</span></td>
<td class="col-7">{{l.description}}</td>
<td class="col-2">{{l.email}}</td>
</tr>
</tbody>
</table>