Punishment page styling
This commit is contained in:
@@ -3,25 +3,29 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="history.length > 0">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Player</th>
|
||||
<th>Banned By</th>
|
||||
<th>Reason</th>
|
||||
<th>Date</th>
|
||||
<th>Expires</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let entry of history">
|
||||
<td>{{ entry.username }}</td>
|
||||
<td>{{ entry.punishedBy }}</td>
|
||||
<td>{{ entry.reason }}</td>
|
||||
<td>{{ getPunishmentTime(entry) }}</td>
|
||||
<td>{{ getExpiredTime(entry) }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<table [cellSpacing]="0">
|
||||
<div style="width: 1300px; background-color: #dadada;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="historyPlayer">Player</th>
|
||||
<th class="historyPlayer">Banned By</th>
|
||||
<th class="historyReason">Reason</th>
|
||||
<th class="historyDate">Date</th>
|
||||
<th class="historyDate">Expires</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</div>
|
||||
<div>
|
||||
<tbody>
|
||||
<tr *ngFor="let entry of history">
|
||||
<td class="historyPlayer">{{ entry.username }}</td>
|
||||
<td class="historyPlayer">{{ entry.punishedBy }}</td>
|
||||
<td class="historyReason">{{ entry.reason }}</td>
|
||||
<td class="historyDate">{{ getPunishmentTime(entry) }}</td>
|
||||
<td class="historyDate">{{ getExpiredTime(entry) }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</div>
|
||||
</table>
|
||||
</ng-container>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user