Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsumi-sama committed Jul 7, 2021
1 parent 5510d57 commit 8f443c5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions html/src/app.dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ button {
.el-button.is-disabled,
.el-button.is-disabled:focus,
.el-button.is-disabled:hover {
color: #c0c4cc;
background-color: #292929;
border-color: #3d3d3d;
}
Expand Down
16 changes: 9 additions & 7 deletions html/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,15 +1114,17 @@ speechSynthesis.getVoices();
ref.$trustNum = 1;
}
ref.$trustColor = ref.$trustClass;
if (ref.$isModerator) {
ref.$trustColor = 'x-tag-vip';
ref.$trustNum = 8;
} else if (ref.$isTroll) {
if (ref.$isTroll) {
ref.$trustColor = 'x-tag-troll';
ref.$trustNum = 0;
} else if (ref.$isLegend) {
ref.$trustNum += 0.1;
}
if (ref.$isLegend) {
ref.$trustColor = 'x-tag-legendary';
ref.$trustNum = 7;
ref.$trustNum += 0.2;
}
if (ref.$isModerator) {
ref.$trustColor = 'x-tag-vip';
ref.$trustNum += 0.3;
}
};

Expand Down
8 changes: 4 additions & 4 deletions html/src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -705,16 +705,16 @@ html
el-switch(v-model="orderFriendsGroupGPS")
div.options-container-item
span.name VIP
el-switch(v-model="orderFriendsGroup0" inactive-text="by name" active-text="by state")
el-switch(v-model="orderFriendsGroup0" inactive-text="alphabetical" active-text="online for")
div.options-container-item
span.name Online
el-switch(v-model="orderFriendsGroup1" inactive-text="by name" active-text="by state")
el-switch(v-model="orderFriendsGroup1" inactive-text="alphabetical" active-text="online for")
div.options-container-item
span.name Active
el-switch(v-model="orderFriendsGroup2" inactive-text="by name" active-text="by state")
el-switch(v-model="orderFriendsGroup2" inactive-text="alphabetical" active-text="online for")
div.options-container-item
span.name Offline
el-switch(v-model="orderFriendsGroup3" inactive-text="by name" active-text="by state")
el-switch(v-model="orderFriendsGroup3" inactive-text="alphabetical" active-text="online for")
div.options-container
span.header Trust Rank Colors
div.options-container-item
Expand Down

0 comments on commit 8f443c5

Please sign in to comment.