mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
|
<div class="dialog">
|
||
|
<div class="dialog-header">
|
||
|
<h4>Google Configuration</h4>
|
||
|
</div>
|
||
|
<div class="dialog-content" *ngIf="isLoading">
|
||
|
<my-spinner></my-spinner>
|
||
|
</div>
|
||
|
<div class="dialog-content" *ngIf="!isLoading">
|
||
|
<label class="label-block">
|
||
|
Api Key
|
||
|
<span class="text-muted ">The API key for your Google Application.</span>
|
||
|
<input type="text" class="form-control"
|
||
|
placeholder="your_api_key_here"
|
||
|
[(ngModel)]="config.api_key" [disabled]="isUpdating"/>
|
||
|
</label>
|
||
|
<label class="label-block">
|
||
|
Search Engine ID
|
||
|
<span class="text-muted ">The search engine ID</span>
|
||
|
<input type="text" class="form-control"
|
||
|
placeholder="your_cx_id_here"
|
||
|
[(ngModel)]="config.cx" [disabled]="isUpdating"/>
|
||
|
</label>
|
||
|
</div>
|
||
|
<div class="dialog-footer" *ngIf="!isLoading">
|
||
|
<button type="button" (click)="save()" title="save" class="btn btn-primary btn-sm">
|
||
|
<i class="far fa-save"></i> Save
|
||
|
</button>
|
||
|
<button type="button" (click)="dialog.close()" title="close" class="btn btn-secondary btn-sm">
|
||
|
<i class="far fa-times-circle"></i> Cancel
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|