Skip to content

Commit

Permalink
Fix Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 17, 2024
1 parent 1f8bb40 commit 3c15585
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 10 deletions.
21 changes: 18 additions & 3 deletions api/web/src/components/CloudTAK/Menu/Iconset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,33 @@
v-if='iconset.username || profile.system_admin'
title='Create Icon'
@click='editIconModal = {}'
><IconPlus :size='32' :stroke='1'/></TablerIconButton>
>
<IconPlus
:size='32'
:stroke='1'
/>
</TablerIconButton>

<TablerIconButton
v-if='iconset.username || profile.system_admin'
title='Settings'
@click='editIconsetModal = iconset'
><IconSettings :size='32' :stroke='1'/></TablerIconButton>
>
<IconSettings
:size='32'
:stroke='1'
/>
</TablerIconButton>

<TablerIconButton
title='Download TAK Zip'
@click.stop='download'
><IconDownload :size='32' :stroke='1'/></TablerIconButton>
>
<IconDownload
:size='32'
:stroke='1'
/>
</TablerIconButton>

<TablerDelete
v-if='iconset.username || profile.system_admin'
Expand Down
30 changes: 24 additions & 6 deletions api/web/src/components/CloudTAK/Menu/Iconsets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,34 @@
<TablerIconButton
title='Create Iconset'
@click='editModal = {}'
><IconPlus :size='32' :stroke='1'/></TablerIconButton>
>
<IconPlus
:size='32'
:stroke='1'
/>
</TablerIconButton>

<TablerIconButton
v-if='!upload'
title='Zip Upload'
@click='upload = true'
><IconFileUpload :size='32' :stroke='1'/></TablerIconButton>
>
<IconFileUpload
:size='32'
:stroke='1'
/>
</TablerIconButton>

<TablerIconButton
v-if='!loading'
title='Refresh'
@click='fetchList'
><IconRefresh :size='32' :stroke='1'/></TablerIconButton>
>
<IconRefresh
:size='32'
:stroke='1'
/>
</TablerIconButton>
</template>
<template #default>
<template v-if='upload'>
Expand Down Expand Up @@ -118,7 +133,12 @@
<TablerIconButton
title='Download TAK Zip'
@click.stop='download(iconset)'
><IconDownload :size='32' :stroke='1'/></TablerIconButton>
>
<IconDownload
:size='32'
:stroke='1'
/>
</TablerIconButton>
</div>
</div>
</div>
Expand Down Expand Up @@ -167,7 +187,6 @@ import {
IconRefresh,
IconDownload,
IconFileUpload,
IconSearch,
IconAlbum,
IconPhoto,
IconPlus
Expand All @@ -191,7 +210,6 @@ export default {
TablerLoading,
TablerIconButton,
IconRefresh,
IconSearch,
},
data: function() {
return {
Expand Down
4 changes: 3 additions & 1 deletion api/web/src/components/CloudTAK/util/Icons.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<div class='card'>
<div class='card-header'>
<h3 class='card-title'>Icons</h3>
<h3 class='card-title'>
Icons
</h3>
</div>

<div class='col-12 px-2'>
Expand Down

0 comments on commit 3c15585

Please sign in to comment.