feat: improve icons (#903)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/903 Reviewed-by: konrad <k@knt.li> Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
a0903dd7be
commit
3bd9b02768
2 changed files with 18 additions and 14 deletions
|
@ -7,7 +7,6 @@ import {
|
||||||
faBars,
|
faBars,
|
||||||
faBell,
|
faBell,
|
||||||
faCalendar,
|
faCalendar,
|
||||||
faCalendarWeek,
|
|
||||||
faCheck,
|
faCheck,
|
||||||
faCheckDouble,
|
faCheckDouble,
|
||||||
faChessKnight,
|
faChessKnight,
|
||||||
|
@ -36,14 +35,17 @@ import {
|
||||||
faPen,
|
faPen,
|
||||||
faPencilAlt,
|
faPencilAlt,
|
||||||
faPercent,
|
faPercent,
|
||||||
|
faPlay,
|
||||||
faPlus,
|
faPlus,
|
||||||
faPowerOff,
|
faPowerOff,
|
||||||
faSearch,
|
faSearch,
|
||||||
faShareAlt,
|
faShareAlt,
|
||||||
faSignOutAlt,
|
faSignOutAlt,
|
||||||
|
faSitemap,
|
||||||
faSort,
|
faSort,
|
||||||
faSortUp,
|
faSortUp,
|
||||||
faStar as faStarSolid,
|
faStar as faStarSolid,
|
||||||
|
faStop,
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
faTags,
|
faTags,
|
||||||
faTasks,
|
faTasks,
|
||||||
|
@ -74,7 +76,6 @@ library.add(faBell)
|
||||||
library.add(faBellSlash)
|
library.add(faBellSlash)
|
||||||
library.add(faCalendar)
|
library.add(faCalendar)
|
||||||
library.add(faCalendarAlt)
|
library.add(faCalendarAlt)
|
||||||
library.add(faCalendarWeek)
|
|
||||||
library.add(faCheck)
|
library.add(faCheck)
|
||||||
library.add(faCheckDouble)
|
library.add(faCheckDouble)
|
||||||
library.add(faChessKnight)
|
library.add(faChessKnight)
|
||||||
|
@ -105,16 +106,19 @@ library.add(faPaste)
|
||||||
library.add(faPen)
|
library.add(faPen)
|
||||||
library.add(faPencilAlt)
|
library.add(faPencilAlt)
|
||||||
library.add(faPercent)
|
library.add(faPercent)
|
||||||
|
library.add(faPlay)
|
||||||
library.add(faPlus)
|
library.add(faPlus)
|
||||||
library.add(faPowerOff)
|
library.add(faPowerOff)
|
||||||
library.add(faSave)
|
library.add(faSave)
|
||||||
library.add(faSearch)
|
library.add(faSearch)
|
||||||
library.add(faShareAlt)
|
library.add(faShareAlt)
|
||||||
library.add(faSignOutAlt)
|
library.add(faSignOutAlt)
|
||||||
|
library.add(faSitemap)
|
||||||
library.add(faSort)
|
library.add(faSort)
|
||||||
library.add(faSortUp)
|
library.add(faSortUp)
|
||||||
library.add(faStar)
|
library.add(faStar)
|
||||||
library.add(faStarSolid)
|
library.add(faStarSolid)
|
||||||
|
library.add(faStop)
|
||||||
library.add(faSun)
|
library.add(faSun)
|
||||||
library.add(faTachometerAlt)
|
library.add(faTachometerAlt)
|
||||||
library.add(faTags)
|
library.add(faTags)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<div class="column" v-if="activeFields.priority">
|
<div class="column" v-if="activeFields.priority">
|
||||||
<!-- Priority -->
|
<!-- Priority -->
|
||||||
<div class="detail-title">
|
<div class="detail-title">
|
||||||
<icon :icon="['far', 'star']"/>
|
<icon icon="exclamation"/>
|
||||||
{{ $t('task.attributes.priority') }}
|
{{ $t('task.attributes.priority') }}
|
||||||
</div>
|
</div>
|
||||||
<priority-select
|
<priority-select
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
<div class="column" v-if="activeFields.startDate">
|
<div class="column" v-if="activeFields.startDate">
|
||||||
<!-- Start Date -->
|
<!-- Start Date -->
|
||||||
<div class="detail-title">
|
<div class="detail-title">
|
||||||
<icon icon="calendar-week"/>
|
<icon icon="play"/>
|
||||||
{{ $t('task.attributes.startDate') }}
|
{{ $t('task.attributes.startDate') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="date-input">
|
<div class="date-input">
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
<div class="column" v-if="activeFields.endDate">
|
<div class="column" v-if="activeFields.endDate">
|
||||||
<!-- End Date -->
|
<!-- End Date -->
|
||||||
<div class="detail-title">
|
<div class="detail-title">
|
||||||
<icon icon="calendar-week"/>
|
<icon icon="stop"/>
|
||||||
{{ $t('task.attributes.endDate') }}
|
{{ $t('task.attributes.endDate') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="date-input">
|
<div class="date-input">
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
<div class="column" v-if="activeFields.reminders">
|
<div class="column" v-if="activeFields.reminders">
|
||||||
<!-- Reminders -->
|
<!-- Reminders -->
|
||||||
<div class="detail-title">
|
<div class="detail-title">
|
||||||
<icon icon="history"/>
|
<icon :icon="['far', 'clock']"/>
|
||||||
{{ $t('task.attributes.reminders') }}
|
{{ $t('task.attributes.reminders') }}
|
||||||
</div>
|
</div>
|
||||||
<reminders
|
<reminders
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
<div class="column" v-if="activeFields.repeatAfter">
|
<div class="column" v-if="activeFields.repeatAfter">
|
||||||
<!-- Repeat after -->
|
<!-- Repeat after -->
|
||||||
<div class="detail-title">
|
<div class="detail-title">
|
||||||
<icon :icon="['far', 'clock']"/>
|
<icon icon="history"/>
|
||||||
{{ $t('task.attributes.repeat') }}
|
{{ $t('task.attributes.repeat') }}
|
||||||
</div>
|
</div>
|
||||||
<repeat-after
|
<repeat-after
|
||||||
|
@ -214,7 +214,7 @@
|
||||||
<div class="content details mb-0" v-if="activeFields.relatedTasks">
|
<div class="content details mb-0" v-if="activeFields.relatedTasks">
|
||||||
<h3>
|
<h3>
|
||||||
<span class="icon is-grey">
|
<span class="icon is-grey">
|
||||||
<icon icon="tasks"/>
|
<icon icon="sitemap"/>
|
||||||
</span>
|
</span>
|
||||||
{{ $t('task.attributes.relatedTasks') }}
|
{{ $t('task.attributes.relatedTasks') }}
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -288,7 +288,7 @@
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('priority')"
|
@click="setFieldActive('priority')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
:icon="['far', 'star']"
|
icon="exclamation"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.priority') }}
|
{{ $t('task.detail.actions.priority') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
|
@ -304,28 +304,28 @@
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('startDate')"
|
@click="setFieldActive('startDate')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
icon="calendar-week"
|
icon="play"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.startDate') }}
|
{{ $t('task.detail.actions.startDate') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('endDate')"
|
@click="setFieldActive('endDate')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
icon="calendar-week"
|
icon="stop"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.endDate') }}
|
{{ $t('task.detail.actions.endDate') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('reminders')"
|
@click="setFieldActive('reminders')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
icon="history"
|
:icon="['far', 'clock']"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.reminders') }}
|
{{ $t('task.detail.actions.reminders') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('repeatAfter')"
|
@click="setFieldActive('repeatAfter')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
:icon="['far', 'clock']"
|
icon="history"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.repeatAfter') }}
|
{{ $t('task.detail.actions.repeatAfter') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
@shortkey="setFieldActive('relatedTasks')"
|
@shortkey="setFieldActive('relatedTasks')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['r']"
|
v-shortkey="['r']"
|
||||||
icon="tasks"
|
icon="sitemap"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.relatedTasks') }}
|
{{ $t('task.detail.actions.relatedTasks') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
|
|
Loading…
Reference in a new issue