2018-09-22 07:16:21 +02:00
< div class = "panel" >
< h3 class = "panel__title" > settings< / h3 >
2019-11-14 05:12:00 +01:00
<!-- <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 >
2020-02-20 05:40:11 +01:00
< span class = "sub-section__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 >
2020-02-20 05:40:11 +01:00
< h4 class = "panel__subtitle" > Shortcuts< / h4 >
< div class = "sub-section" >
< span class = "sub-section__title" > switch column:< / span > < br / >
2020-03-27 06:06:06 +01:00
< input class = "sub-section__checkbox" [ checked ] = " columnShortcutEnabled = == 1 " ( change ) = " onShortcutChange ( 1 ) "
type="radio" name="column-ctrl" value="column-ctrl" id="column-ctrl">
2020-02-20 05:40:11 +01:00
< label class = "noselect sub-section__label" for = "column-ctrl" > Ctrl + Left | Ctrl + Right< / label >
< br >
2020-03-27 06:06:06 +01:00
< input class = "sub-section__checkbox" [ checked ] = " columnShortcutEnabled = == 2 " ( change ) = " onShortcutChange ( 2 ) "
type="radio" name="colmun-win" value="colmun-win" id="colmun-win">
2020-02-20 05:40:11 +01:00
< label class = "noselect sub-section__label" for = "colmun-win" > Win + Alt + Left | Win + Alt + Right< / label >
< br >
2020-03-27 06:06:06 +01:00
< span class = "sub-section__title" * ngIf = "columnShortcutChanged" > this settings needs a < a href
(click)="reload()">reload< / a > to be effective.< / span >
< / div >
< h4 class = "panel__subtitle" > Content-Warning Policies< / h4 >
< div class = "sub-section" >
< span class = "sub-section__title" > global behavior:< / span > < br / >
2020-03-28 22:04:36 +01:00
< input class = "sub-section__checkbox" [ checked ] = " contentWarningPolicy = == 1 " ( change ) = " onCwPolicyChange ( 1 ) "
2020-03-27 06:06:06 +01:00
type="radio" name="cw-none" value="cw-none" id="cw-none">
< label class = "noselect sub-section__label" for = "cw-none" > None< / label >
< br >
2020-03-28 22:04:36 +01:00
< input class = "sub-section__checkbox" [ checked ] = " contentWarningPolicy = == 2 " ( change ) = " onCwPolicyChange ( 2 ) "
2020-03-27 06:06:06 +01:00
type="radio" name="cw-hide-all" value="cw-hide-all" id="cw-hide-all">
< label class = "noselect sub-section__label" for = "cw-hide-all" > Hide all CWs< / label >
< br >
2020-03-28 22:04:36 +01:00
< div class = "sub-section__cw-settings" * ngIf = "contentWarningPolicy === 2" >
2020-03-27 06:06:06 +01:00
< span class = "sub-section__title" > but add CW on content containing:< / span > < br / >
< div class = "sub-text-input" >
< input type = "text" class = "form-control form-control-sm sub_section__text-input"
[(ngModel)]="setAddCwOnContent" placeholder="example;other example" />
< / div >
< / div >
2020-03-28 22:04:36 +01:00
< input class = "sub-section__checkbox" [ checked ] = " contentWarningPolicy = == 3 " ( change ) = " onCwPolicyChange ( 3 ) "
2020-03-27 06:06:06 +01:00
type="radio" name="cw-add-on-all" value="cw-add-on-all" id="cw-add-on-all">
< label class = "noselect sub-section__label" for = "cw-add-on-all" > Add CW on all content< / label >
< br >
2020-03-28 22:04:36 +01:00
< div class = "sub-section__cw-settings" * ngIf = "contentWarningPolicy === 3" >
2020-03-27 06:06:06 +01:00
< span class = "sub-section__title" > unless content is containing:< / span > < br / >
< div class = "sub-text-input" >
< input type = "text" class = "form-control form-control-sm sub_section__text-input"
[(ngModel)]="setRemoveCwOnContent" placeholder="example;other example" />
< / div >
< / div >
< span class = "sub-section__title" > hide completely content containing:< / span > < br / >
< div class = "sub-text-input" >
< input type = "text" class = "form-control form-control-sm sub_section__text-input"
[(ngModel)]="setContentHidedCompletely" placeholder="example;other example" />
< / div >
2020-03-28 23:58:40 +01:00
< span class = "sub-section__title" * ngIf = "contentWarningPolicyChanged" > < br / > this settings needs a < a href ( click ) = " reload ( ) " > reload< / a > to be effective.< / span >
2020-02-20 05:40:11 +01:00
< / div >
2019-11-15 04:58:09 +01:00
< h4 class = "panel__subtitle" > About< / h4 >
2020-03-07 06:31:14 +01:00
< p class = "version" >
2020-03-27 06:06:06 +01:00
Sengi version: {{version}}< br / >
2020-03-07 06:31:14 +01:00
< a href class = "version__link" ( click ) = " checkForUpdates ( ) " > check for updates< / a >
2020-03-07 17:01:20 +01:00
< app-waiting-animation * ngIf = "isCheckingUpdates" class = "waiting-icon" > < / app-waiting-animation >
2020-03-07 06:31:14 +01:00
< / p >
2020-03-27 06:06:06 +01:00
2019-11-15 04:58:09 +01:00
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 >
2020-02-20 05:40:11 +01:00
< a * ngIf = "isCleanningAll" class = "sengi-btn sengi-btn__red sengi-btn__medium" href
(click)="confirmClearAll()">
2019-12-01 03:42:50 +01:00
Confirm Clear All
< / a >
2020-02-20 05:40:11 +01:00
< a * ngIf = "isCleanningAll" class = "sengi-btn sengi-btn__blue sengi-btn__medium" href
(click)="cancelClearAll()">
2019-12-01 03:42:50 +01:00
Cancel
< / a >
2020-03-27 06:06:06 +01:00
< br / >
2019-12-01 03:42:50 +01:00
< / div >
2019-11-15 04:58:09 +01:00
< / div >
2019-11-14 05:12:00 +01:00
< / div >