pull/1941/head
Jamie 7 years ago
parent 59173b8bc4
commit e840f828e7

@ -44,6 +44,7 @@ export enum NotificationType {
RequestDeclined,
ItemAddedToFaultQueue,
WelcomeEmail,
IssueResolved,
}
export interface IDiscordNotifcationSettings extends INotificationSettings {

@ -1,31 +1,54 @@

<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 *ngFor="let user of userList">
<span>{{user.username}} - {{user.devices}}</span>
<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>
</tr>
</thead>
<tbody>
<tr *ngFor="let user of userList">
<td>
{{user.username}}
</td>
<td>
{{user.devices}}
</td>
</tbody>
</table>
</div>
</div>
<div class="form-group">
<div>
<button [disabled]="form.invalid" type="button" (click)="test(form)" class="btn btn-primary-outline">
Test
<div id="spinner"></div>
</button>
<div class="row">
<div class="form-group">
<div>
<button [disabled]="form.invalid" type="button" (click)="test(form)" class="btn btn-primary-outline">
Test
<div id="spinner"></div>
</button>
</div>
</div>
</div>
<div class="form-group">
<div>
<button [disabled]="form.invalid" type="submit" id="save" class="btn btn-primary-outline">Submit</button>
<div class="form-group">
<div>
<button [disabled]="form.invalid" type="submit" id="save" class="btn btn-primary-outline">Submit</button>
</div>
</div>
</div>
</form>

Loading…
Cancel
Save