-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hid the server stat panel which is under construction.
- Loading branch information
Showing
2 changed files
with
45 additions
and
37 deletions.
There are no files selected for viewing
73 changes: 38 additions & 35 deletions
73
client/app/server-status-overview/client-crash-logs/client-crash-logs.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,39 @@ | ||
<div class="card error-log" *ngFor="let log of logs"> | ||
<div class="card-header"> | ||
<table class="table table-data"> | ||
<tr> | ||
<th>Message</th> | ||
<th>Thread</th> | ||
<th>Version Code</th> | ||
<th>User</th> | ||
<th>Occurred At</th> | ||
</tr> | ||
<tr> | ||
<td> | ||
{{getErrorMessage(log)}} | ||
</td> | ||
<td> | ||
{{getErrorThread(log)}} | ||
</td> | ||
<td> | ||
{{getErrorVersionCode(log)}} | ||
</td> | ||
<td> | ||
{{log.user.email}} | ||
</td> | ||
<td> | ||
{{log.timestamp | date:'long'}} | ||
</td> | ||
</tr> | ||
</table> | ||
<div class="alert alert-success" *ngIf="!logs || logs.length === 0">No client error logs reported.</div> | ||
<ng-container *ngIf="logs && logs.length > 0"> | ||
<div class="card error-log" *ngFor="let log of logs"> | ||
<div class="card-header"> | ||
<table class="table table-data"> | ||
<tr> | ||
<th>Message</th> | ||
<th>Thread</th> | ||
<th>Version Code</th> | ||
<th>User</th> | ||
<th>Occurred At</th> | ||
</tr> | ||
<tr> | ||
<td> | ||
{{getErrorMessage(log)}} | ||
</td> | ||
<td> | ||
{{getErrorThread(log)}} | ||
</td> | ||
<td> | ||
{{getErrorVersionCode(log)}} | ||
</td> | ||
<td> | ||
{{log.user.email}} | ||
</td> | ||
<td> | ||
{{log.timestamp | date:'long'}} | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div class="card-body small"> | ||
<h6>StackTrace</h6> | ||
<span class="stacktrace"> | ||
{{getStackTrace(log)}} | ||
</span> | ||
</div> | ||
</div> | ||
<div class="card-body small"> | ||
<h6>StackTrace</h6> | ||
<span class="stacktrace"> | ||
{{getStackTrace(log)}} | ||
</span> | ||
</div> | ||
</div> | ||
</ng-container> |
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