|
|
|
@ -3,71 +3,73 @@
|
|
|
|
|
<div *ngIf="form" class="small-middle-container">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>Legacy 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 class="lmobile-container">
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr *ngFor="let user of userList">
|
|
|
|
|
<td>
|
|
|
|
|
{{user.username}}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{user.devices}}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr *ngFor="let user of userList">
|
|
|
|
|
<td>
|
|
|
|
|
{{user.username}}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{user.devices}}
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="select" class="control-label">Users</label>
|
|
|
|
|
<div>
|
|
|
|
|
<select class="form-control form-control-custom" id="select" [(ngModel)]="testUserId" [ngModelOptions]="{standalone: true}">
|
|
|
|
|
<option value="">Please select</option>
|
|
|
|
|
<option *ngFor="let x of userList" [value]="x.userId">{{x.username}}</option>
|
|
|
|
|
</select>
|
|
|
|
|
<div class="row lmobile-actions">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="select" class="control-label">Users</label>
|
|
|
|
|
<div>
|
|
|
|
|
<select class="form-control form-control-custom" id="select" [(ngModel)]="testUserId" [ngModelOptions]="{standalone: true}">
|
|
|
|
|
<option value="">Please select</option>
|
|
|
|
|
<option *ngFor="let x of userList" [value]="x.userId">{{x.username}}</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div>
|
|
|
|
|
<button [disabled]="form.invalid" type="button" (click)="test(form)" class="btn btn-danger-outline">Send Test Notification</button>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div>
|
|
|
|
|
<button [disabled]="form.invalid" mat-raised-button type="button" (click)="test(form)" class="btn btn-danger-outline">Send Test Notification</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div>
|
|
|
|
|
<button [disabled]="form.invalid" type="button" (click)="remove(form)" class="btn btn-danger-outline">Remove User</button>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div>
|
|
|
|
|
<button [disabled]="form.invalid" mat-raised-button type="button" (click)="remove(form)" class="btn btn-danger-outline">Remove User</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" mat-raised-button type="submit" id="save" class="btn btn-primary-outline">Submit</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<notification-templates [templates]="templates" [showSubject]="false"></notification-templates>
|
|
|
|
|
<div class="col-md-6 issue-content">
|
|
|
|
|
<notification-templates [templates]="templates" [showSubject]="false"></notification-templates>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</div>
|