mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-28 19:30:30 +00:00
add all icons via iconfiy
This commit is contained in:
parent
3f05656165
commit
724054767d
1 changed files with 13 additions and 7 deletions
|
@ -53,11 +53,17 @@
|
||||||
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="24" />
|
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="24" />
|
||||||
<SvgIcon v-else-if="name === 'visibility-internal'" :path="mdiLockOpenOutline" size="24" />
|
<SvgIcon v-else-if="name === 'visibility-internal'" :path="mdiLockOpenOutline" size="24" />
|
||||||
|
|
||||||
<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" />
|
<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" width="32" height="32" />
|
||||||
<!-- <i v-else-if="name === 'forgejo'" class="devicon-forgejo-plain" />
|
<iconify-icon v-else-if="name === 'gitlab'" icon="devicon:gitlab" width="32" height="32" />
|
||||||
<i v-else-if="name === 'github'" class="devicon-github-plain" />
|
<iconify-icon v-else-if="name === 'github'" icon="devicon:github" width="32" height="32" />
|
||||||
<i v-else-if="name === 'gitlab'" class="devicon-gitlab-plain" /> -->
|
<iconify-icon
|
||||||
<SvgIcon v-else-if="name === 'gitea'" :path="siGitea.path" size="32" color="#609926" />
|
v-else-if="name === 'gitea'"
|
||||||
|
icon="simple-icons:gitea"
|
||||||
|
width="32"
|
||||||
|
height="32"
|
||||||
|
style="color: #609926"
|
||||||
|
;
|
||||||
|
/>
|
||||||
|
|
||||||
<svg v-else-if="name === 'spinner'" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
<svg v-else-if="name === 'spinner'" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path
|
<path
|
||||||
|
@ -83,7 +89,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import "iconify-icon";
|
import 'iconify-icon';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
mdiAlarm,
|
mdiAlarm,
|
||||||
mdiAlertCircle,
|
mdiAlertCircle,
|
||||||
|
@ -125,7 +132,6 @@ import {
|
||||||
mdiTimerOutline,
|
mdiTimerOutline,
|
||||||
mdiTrashCanOutline,
|
mdiTrashCanOutline,
|
||||||
} from '@mdi/js';
|
} from '@mdi/js';
|
||||||
import { siGitea } from 'simple-icons';
|
|
||||||
|
|
||||||
import SvgIcon from './SvgIcon.vue';
|
import SvgIcon from './SvgIcon.vue';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue