mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Fixed up the whatsapp notifications page
This commit is contained in:
parent
b07514c668
commit
124c9d8c9d
4 changed files with 36 additions and 33 deletions
|
@ -1,3 +1,3 @@
|
||||||
<div *ngIf="movie && radarrEnabled">
|
<div *ngIf="movie && radarrEnabled" class="text-center">
|
||||||
<button mat-raised-button color="warn" class="text-center" (click)="openAdvancedOptions();">Advanced Options</button>
|
<button mat-raised-button color="warn" class="text-center" (click)="openAdvancedOptions();">Advanced Options</button>
|
||||||
</div>
|
</div>
|
|
@ -3,6 +3,7 @@
|
||||||
<div *ngIf="form" class="container">
|
<div *ngIf="form" class="container">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Twilio</legend>
|
<legend>Twilio</legend>
|
||||||
|
<span>Below are the supported integrations with Twilio</span>
|
||||||
<form novalidate [formGroup]="form" (ngSubmit)="onSubmit(form)">
|
<form novalidate [formGroup]="form" (ngSubmit)="onSubmit(form)">
|
||||||
|
|
||||||
<mat-tab-group>
|
<mat-tab-group>
|
||||||
|
|
|
@ -1,35 +1,37 @@
|
||||||
<div [formGroup]="form" class="col">
|
<div class="container" style="padding-top: 3%;">
|
||||||
<div formGroupName="whatsAppSettings">
|
<div [formGroup]="form" class="col">
|
||||||
<div class="col">
|
<div formGroupName="whatsAppSettings" class="row">
|
||||||
<div>
|
<div class="col">
|
||||||
<mat-slide-toggle formControlName="enabled">Enable</mat-slide-toggle>
|
<div>
|
||||||
|
<mat-slide-toggle formControlName="enabled">Enable</mat-slide-toggle>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="md-form-field">
|
||||||
|
<mat-form-field>
|
||||||
|
<input matInput placeholder="From Number" formControlName="from" matTooltip="The mobile number that the WhatsApp message is from, with the international prefix">
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
<div class="md-form-field">
|
||||||
|
<mat-form-field>
|
||||||
|
<input matInput placeholder="Account SID" formControlName="accountSid" matTooltip="The Account SID that you can find from the Programmable SMS Dashboard">
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
<div class="md-form-field">
|
||||||
|
<mat-form-field>
|
||||||
|
<input matInput placeholder="Authentication Token" formControlName="authToken" matTooltip="The Auth Token that you can find from the Programmable SMS Dashboard">
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
<div class="md-form-field">
|
||||||
|
<div>
|
||||||
|
<button mat-raised-button type="button" color="accent" (click)="test(form)">Test</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col">
|
||||||
<div class="md-form-field">
|
<notification-templates [templates]="templates" [showSubject]="false"></notification-templates>
|
||||||
<mat-form-field>
|
|
||||||
<input matInput placeholder="From Number" formControlName="from">
|
|
||||||
</mat-form-field>
|
|
||||||
</div>
|
|
||||||
<div class="md-form-field">
|
|
||||||
<mat-form-field>
|
|
||||||
<input matInput placeholder="Account SID" formControlName="accountSid">
|
|
||||||
</mat-form-field>
|
|
||||||
</div>
|
|
||||||
<div class="md-form-field">
|
|
||||||
<mat-form-field>
|
|
||||||
<input matInput placeholder="Authentication Token" formControlName="authToken">
|
|
||||||
</mat-form-field>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col">
|
|
||||||
<notification-templates [templates]="templates" [showSubject]="false"></notification-templates>
|
|
||||||
</div>
|
|
||||||
<div class="md-form-field">
|
|
||||||
<div>
|
|
||||||
<button mat-raised-button type="button" color="primary" (click)="test(form)">Test</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="col-md-12">
|
<div class="col">
|
||||||
<div *ngIf="!text" class="col-md-1 offset-md-11">
|
<div *ngIf="!text" class="col-md-4 ml-auto ">
|
||||||
<a href="{{url}}" target="_blank">
|
<a href="{{url}}" target="_blank">
|
||||||
<button mat-raised-button color="accent">
|
<button mat-raised-button color="accent">
|
||||||
<span>Wiki</span>
|
<span>Wiki</span>
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="text" class="col-md-1 offset-md-9">
|
<div *ngIf="text" class="col-md-4 ml-auto ">
|
||||||
<a href="{{url}}" target="_blank">
|
<a href="{{url}}" target="_blank">
|
||||||
<button mat-raised-button color="accent">
|
<button mat-raised-button color="accent">
|
||||||
<span>{{text}}</span>
|
<span>{{text}}</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue