Task: Admin Overview essential files
This commit is contained in:
parent
a4f27ed881
commit
e6ba4b54f4
3 changed files with 50 additions and 0 deletions
37
src/app/views/admin-overview/admin-overview.component.html
Normal file
37
src/app/views/admin-overview/admin-overview.component.html
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<p>admin-overview works!</p>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
13
src/app/views/admin-overview/admin-overview.component.ts
Normal file
13
src/app/views/admin-overview/admin-overview.component.ts
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
import {Component} from '@angular/core';
|
||||||
|
import {MatFormField} from '@angular/material/form-field';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-admin-overview',
|
||||||
|
imports: [MatFormField],
|
||||||
|
templateUrl: './admin-overview.component.html',
|
||||||
|
styleUrl: './admin-overview.component.scss'
|
||||||
|
})
|
||||||
|
export class AdminOverviewComponent {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue