Sengi-Windows-MacOS-Linux/src/app/components/floating-column/settings/settings.component.html

60 lines
2.9 KiB
HTML
Raw Normal View History

<div class="panel">
<h3 class="panel__title">settings</h3>
<!-- <select name="notification-sound" class="form-control" [(ngModel)]="branch.PhysicalProvince">
<option *ngFor="let p of branchService.provinces" [value]="p">{{p}}</option>
</select> -->
2019-11-15 04:58:09 +01:00
<div class="content flexcroll">
<h4 class="panel__subtitle">Notifications</h4>
<div class="sub-section">
<input class="sub-section__checkbox" [(ngModel)]="disableAutofocusEnabled"
2019-12-01 03:42:50 +01:00
(change)="onDisableAutofocusChanged()" type="checkbox" name="disableAutofocus" value="disableAutofocus"
id="disableAutofocus">
2019-11-15 04:58:09 +01:00
<label class="noselect sub-section__label" for="disableAutofocus">disable account's panel autofocus</label>
<br>
<input class="sub-section__checkbox" [(ngModel)]="disableAvatarNotificationsEnabled"
(change)="onDisableAvatarNotificationsChanged()" type="checkbox" name="disableAvatarNotifications"
value="disableAvatarNotifications" id="disableAvatarNotifications">
2019-12-01 03:42:50 +01:00
<label class="noselect sub-section__label" for="disableAvatarNotifications">disable all avatar(s)
notifications</label>
2019-11-15 04:58:09 +01:00
<br>
<input class="sub-section__checkbox" [(ngModel)]="disableSoundsEnabled"
2019-12-01 03:42:50 +01:00
(change)="onDisableSoundsEnabledChanged()" type="checkbox" name="disableSounds" value="disableSounds"
id="disableSounds">
2019-11-15 04:58:09 +01:00
<label class="noselect sub-section__label" for="disableSounds">disable sounds</label>
<br>
2019-12-01 03:42:50 +01:00
<span class="sound__title">notification sound:</span><br />
2019-11-15 04:58:09 +01:00
<form [formGroup]="notificationForm">
<select formControlName="countryControl" (change)="onChange($event.target.value)" class="sound__select">
<option [value]="s.id" *ngFor="let s of notificationSounds"> {{s.name}}</option>
</select>
</form>
<a href class="form-button sound__play" type="submit" (click)="playNotificationSound()">play</a>
</div>
<h4 class="panel__subtitle">About</h4>
<p class="version">Sengi version: {{version}}</p>
2019-12-01 03:42:50 +01:00
<h4 class="panel__subtitle">RESET</h4>
<div class="sub-section">
<p>
If you run into bugs or want to clear all stored Sengi data, please procede:
</p>
<a *ngIf="!isCleanningAll" class="sengi-btn sengi-btn__red" href (click)="startClearAllLocalData()">
Clear all local data
</a>
<a *ngIf="isCleanningAll" class="sengi-btn sengi-btn__red sengi-btn__medium" href (click)="confirmClearAll()">
Confirm Clear All
</a>
<a *ngIf="isCleanningAll" class="sengi-btn sengi-btn__blue sengi-btn__medium" href (click)="cancelClearAll()">
Cancel
</a>
</div>
2019-11-15 04:58:09 +01:00
</div>
</div>