Created
March 15, 2020 14:07
-
-
Save balvinder294/6aab01fe0e99021a25080eeb7ba02695 to your computer and use it in GitHub Desktop.
Sample Tracker COmponent from Jhipster for Tracking users logged in --- Tekraze.com
This file contains hidden or 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
<div> | |
<h2 id="tracker-page-heading">Real-time user activities</h2> | |
<div class="table-responsive"> | |
<table class="table table-striped"> | |
<thead> | |
<tr> | |
<th>User</th> | |
<th>IP Address</th> | |
<th>Current page</th> | |
<th>Time</th> | |
<th></th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr *ngFor="let activity of activities"> | |
<td>{{activity.userLogin}}</td> | |
<td>{{activity.ipAddress}}</td> | |
<td>{{activity.page}}</td> | |
<td>{{activity.time | date:'yyyy-MM-dd HH:mm:ss'}}</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment