mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-28 11:20: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-internal'" :path="mdiLockOpenOutline" size="24" />
|
||||
|
||||
<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" />
|
||||
<!-- <i v-else-if="name === 'forgejo'" class="devicon-forgejo-plain" />
|
||||
<i v-else-if="name === 'github'" class="devicon-github-plain" />
|
||||
<i v-else-if="name === 'gitlab'" class="devicon-gitlab-plain" /> -->
|
||||
<SvgIcon v-else-if="name === 'gitea'" :path="siGitea.path" size="32" color="#609926" />
|
||||
<iconify-icon v-else-if="name === 'forgejo'" icon="devicon:forgejo" width="32" height="32" />
|
||||
<iconify-icon v-else-if="name === 'gitlab'" icon="devicon:gitlab" width="32" height="32" />
|
||||
<iconify-icon v-else-if="name === 'github'" icon="devicon:github" width="32" height="32" />
|
||||
<iconify-icon
|
||||
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">
|
||||
<path
|
||||
|
@ -83,7 +89,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import "iconify-icon";
|
||||
import 'iconify-icon';
|
||||
|
||||
import {
|
||||
mdiAlarm,
|
||||
mdiAlertCircle,
|
||||
|
@ -125,7 +132,6 @@ import {
|
|||
mdiTimerOutline,
|
||||
mdiTrashCanOutline,
|
||||
} from '@mdi/js';
|
||||
import { siGitea } from 'simple-icons';
|
||||
|
||||
import SvgIcon from './SvgIcon.vue';
|
||||
|
||||
|
|
Loading…
Reference in a new issue