This commit is contained in:
2020-10-06 00:03:52 +00:00
parent e0b3222507
commit 1c65a89d4a
21 changed files with 148 additions and 52 deletions

View File

@@ -2,7 +2,7 @@
<div class="mt-6">
<div>
<v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</div>
<template v-if="reveal">
@@ -13,7 +13,7 @@
:outlined="currentView == view.WIKI_VIEW"
@click="currentView = view.WIKI_VIEW"
>
<v-icon>fa-eye</v-icon>
<v-icon>$ayiEye</v-icon>
</v-btn>
<v-btn
text
@@ -316,7 +316,7 @@
</v-col>
</v-row>
<v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</v-sheet>
</template>
@@ -551,22 +551,22 @@ export default {
if (this.readonly) {
if (this.currentView == this.view.HIDDEN_VIEW) {
return "fa-eye";
return "$ayiEye";
} else {
return "fa-eye-slash";
return "$ayiEyeSlash";
}
return;
}
switch (this.currentView) {
case this.view.HIDDEN_VIEW:
return "fa-eye";
return "$ayiEye";
case this.view.WIKI_VIEW:
return "fa-columns";
case this.view.SPLIT_VIEW:
return "fa-feather";
case this.view.DESIGN_VIEW:
return "fa-eye";
return "$ayiEye";
}
},
showWiki() {
@@ -610,7 +610,7 @@ export default {
}
},
visibleIcon() {
return this.wikiVisible ? "fa-eye-slash" : "fa-eye";
return this.wikiVisible ? "$ayiEyeSlash" : "$ayiEye";
},
//EDITING
editClick(editType, ex) {