Task: reverted everything to start from scratch
Some checks failed
Quality Check / Linting (push) Failing after 21s
Some checks failed
Quality Check / Linting (push) Failing after 21s
This commit is contained in:
parent
e6ba4b54f4
commit
9d3c2d8a47
4 changed files with 9 additions and 40 deletions
|
@ -1,37 +1 @@
|
||||||
<p>admin-overview works!</p>
|
<body></body>
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h1>Admin Overview</h1>
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Username</th>
|
|
||||||
<th>Ban</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>user123</td>
|
|
||||||
<td>
|
|
||||||
<button class="ban-button"><span class="ban-icon"></span></button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>anotherUser</td>
|
|
||||||
<td>
|
|
||||||
<button class="ban-button"><span class="ban-icon"></span></button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>testUser</td>
|
|
||||||
<td>
|
|
||||||
<button class="ban-button"><span class="ban-icon"></span></button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {MatButton} from '@angular/material/button';
|
||||||
import {MatFormField} from '@angular/material/form-field';
|
import {MatFormField} from '@angular/material/form-field';
|
||||||
|
import {MatHeaderCell, MatHeaderCellDef, MatTable} from '@angular/material/table';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-admin-overview',
|
selector: 'app-admin-overview',
|
||||||
imports: [MatFormField],
|
imports: [MatFormField, MatButton, MatTable, MatHeaderCell, MatHeaderCellDef],
|
||||||
templateUrl: './admin-overview.component.html',
|
templateUrl: './admin-overview.component.html',
|
||||||
styleUrl: './admin-overview.component.scss'
|
styleUrl: './admin-overview.component.scss'
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<div class="dashboard">
|
<div class="dashboard">
|
||||||
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Facere illo animi quidem repellat perspiciatis, excepturi amet corrupti ipsa sit consequuntur placeat ratione saepe velit asperiores suscipit esse quod minima exercitationem minus, alias laudantium inventore! Beatae cum nobis error suscipit cupiditate, praesentium itaque ut ipsa iusto in doloribus unde quisquam consequuntur.</p>
|
<app-admin-overview></app-admin-overview>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
import {AdminOverviewComponent} from "@app/views/admin-overview/admin-overview.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-dashboard',
|
selector: 'app-dashboard',
|
||||||
imports: [],
|
imports: [
|
||||||
|
AdminOverviewComponent
|
||||||
|
],
|
||||||
templateUrl: './dashboard.component.html',
|
templateUrl: './dashboard.component.html',
|
||||||
styleUrl: './dashboard.component.scss'
|
styleUrl: './dashboard.component.scss'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue