Replaced svg with icon font

This commit is contained in:
Liyas Thomas
2020-12-07 20:37:13 +05:30
parent ebae9880dc
commit 66077ea6d7
31 changed files with 42 additions and 139 deletions

View File

@@ -7,7 +7,7 @@
<h3 class="title">{{ $t("new_environment") }}</h3>
<div>
<button class="icon" @click="hideModal">
<closeIcon class="material-icons" />
<i class="material-icons">close</i>
</button>
</div>
</div>
@@ -44,12 +44,8 @@
<script>
import { fb } from "~/helpers/fb"
import closeIcon from "~/static/icons/close-24px.svg?inline"
export default {
components: {
closeIcon,
},
props: {
show: Boolean,
},

View File

@@ -7,7 +7,7 @@
<h3 class="title">{{ $t("edit_environment") }}</h3>
<div>
<button class="icon" @click="hideModal">
<closeIcon class="material-icons" />
<i class="material-icons">close</i>
</button>
</div>
</div>
@@ -75,7 +75,7 @@
v-tooltip.bottom="$t('delete')"
id="variable"
>
<deleteIcon class="material-icons" />
<i class="material-icons">delete</i>
</button>
</li>
</div>
@@ -107,14 +107,8 @@
<script>
import { fb } from "~/helpers/fb"
import closeIcon from "~/static/icons/close-24px.svg?inline"
import deleteIcon from "~/static/icons/delete-24px.svg?inline"
export default {
components: {
closeIcon,
deleteIcon,
},
props: {
show: Boolean,
editingEnvironment: Object,

View File

@@ -19,7 +19,7 @@
</div>
<div>
<button class="icon" @click="removeEnvironment" v-close-popover>
<deleteIcon class="material-icons" />
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
@@ -30,10 +30,8 @@
<script>
import { fb } from "~/helpers/fb"
import deleteIcon from "~/static/icons/delete-24px.svg?inline"
export default {
components: { deleteIcon },
props: {
environment: Object,
environmentIndex: Number,

View File

@@ -7,7 +7,7 @@
<h3 class="title">{{ $t("import_export") }} {{ $t("environments") }}</h3>
<div>
<button class="icon" @click="hideModal">
<closeIcon class="material-icons" />
<i class="material-icons">close</i>
</button>
</div>
</div>
@@ -77,12 +77,8 @@
<script>
import { fb } from "~/helpers/fb"
import closeIcon from "~/static/icons/close-24px.svg?inline"
export default {
components: {
closeIcon,
},
data() {
return {
fb,