mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
MOre !wip
This commit is contained in:
parent
59173b8bc4
commit
e840f828e7
2 changed files with 40 additions and 16 deletions
|
@ -44,6 +44,7 @@ export enum NotificationType {
|
|||
RequestDeclined,
|
||||
ItemAddedToFaultQueue,
|
||||
WelcomeEmail,
|
||||
IssueResolved,
|
||||
}
|
||||
|
||||
export interface IDiscordNotifcationSettings extends INotificationSettings {
|
||||
|
|
|
@ -1,17 +1,39 @@
|
|||
|
||||
<settings-menu></settings-menu>
|
||||
<settings-menu>
|
||||
</settings-menu>
|
||||
<div *ngIf="form">
|
||||
<fieldset>
|
||||
<legend>Mobile Notifications</legend>
|
||||
<div class="col-md-6">
|
||||
<form novalidate [formGroup]="form" (ngSubmit)="onSubmit(form)">
|
||||
<div class="row">
|
||||
<div *ngIf="userList" class="col-md-8">
|
||||
<table class="table table-striped table-hover table-responsive table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<a>Username/Alias</a>
|
||||
</th>
|
||||
<th>
|
||||
<a>Mobile Devices Registered</a>
|
||||
</th>
|
||||
|
||||
<div *ngFor="let user of userList">
|
||||
<span>{{user.username}} - {{user.devices}}</span>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let user of userList">
|
||||
<td>
|
||||
{{user.username}}
|
||||
</td>
|
||||
<td>
|
||||
{{user.devices}}
|
||||
</td>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<button [disabled]="form.invalid" type="button" (click)="test(form)" class="btn btn-primary-outline">
|
||||
|
@ -28,6 +50,7 @@
|
|||
<button [disabled]="form.invalid" type="submit" id="save" class="btn btn-primary-outline">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue