Skip to content

Commit

Permalink
hid the server stat panel which is under construction.
Browse files Browse the repository at this point in the history
  • Loading branch information
yghokim committed Dec 1, 2018
1 parent c4cd7e7 commit 58fc6fa
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 37 deletions.
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>
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<div>
<div class="alert alert-info">
The status analytics dashboard is under construction. Will be updated soon.
</div>

<!--<div>
<mat-grid-list cols="4" rowHeight="6:1">
<mat-grid-tile class="title">Active Users/Day</mat-grid-tile>
<mat-grid-tile class="title">Session/Day</mat-grid-tile>
Expand Down Expand Up @@ -33,4 +37,5 @@
<div class="card-body">
<app-devices-per-day [logs]="logs" [dates]="engagementService.engagementDates"></app-devices-per-day>
</div>
</div>
</div>
-->

0 comments on commit 58fc6fa

Please sign in to comment.