Improved code

This commit is contained in:
2019-09-08 18:57:30 +02:00
parent df3f1f409d
commit 3c801987bb
10 changed files with 452 additions and 270 deletions
@@ -71,6 +71,17 @@
[(checked)]="account.ignoreNonFriendWhispers"
help="Don't show any whispers from players who are not on your friends list")
| Only allow whispers from friends
.form-group
.form-group
label#chatlog-opacity-label Message timestamp
div
.btn-group.ml-2(btnCheckbox)
button.btn.btn-outline-secondary.d-none.d-sm-block([class.active]='off' (click)='switchTimestamp()') Off
button.btn.btn-outline-secondary.d-none.d-sm-block([class.active]='twelve' (click)='switchTimestamp("12")') 12
button.btn.btn-outline-secondary.d-none.d-sm-block([class.active]='twentyFour' (click)='switchTimestamp("24")') 24
span.ml-2 {{timestampText}}
//small.form-text.text-muted.mt-0 Shows message time
.form-group
label#chatlog-opacity-label Chatlog background opacity
div
@@ -78,7 +89,6 @@
[(value)]="account.chatlogOpacity" style="max-width: 300px" labelledBy="chatlog-opacity-label")
| {{(account.chatlogOpacity / 100) | percent}}
small.form-text.text-muted.mt-0 Changes chatlog background to make it more readable or less obtrusive.
.form-group
label#chatlog-range-label Chatlog range
div
slider-bar.mr-2(