Skip to content

Commit

Permalink
Update Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 12, 2024
1 parent 8de28e3 commit c864cc4
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 20 deletions.
7 changes: 5 additions & 2 deletions api/web/src/components/CloudTAK/CoTView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@
</div>


<div v-if='!feat.properties.archived' class='col-12 pb-2'>
<div
v-if='!feat.properties.archived'
class='col-12 pb-2'
>
<div class='d-flex mx-3'>
<label class='subheader'>Times</label>
<div class='ms-auto cursor-pointer text-blue subheader'>
Expand Down Expand Up @@ -304,10 +307,10 @@
<IconPlayerPlay
v-if='prop === "url"'
v-tooltip='"View Video Stream"'
@click='viewer = true'
class='cursor-pointer'
size='32'
stroke='1'
@click='viewer = true'
/>
<span
v-else
Expand Down
23 changes: 19 additions & 4 deletions api/web/src/components/CloudTAK/Menu/Imports.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,25 @@
:status='imported.status'
/>
</div>
<div class='col-auto mx-2' v-tooltip='`${imported.mode} Import`'>
<IconAmbulance v-if='imported.mode === "Mission"' :size='32' :stroke='0.5'/>
<IconFile v-else-if='imported.mode === "Unknown"' :size='32' :stroke='0.5'/>
<IconPackages v-else-if='imported.mode === "Package"' :size='32' :stroke='0.5'/>
<div
v-tooltip='`${imported.mode} Import`'
class='col-auto mx-2'
>
<IconAmbulance
v-if='imported.mode === "Mission"'
:size='32'
:stroke='0.5'
/>
<IconFile
v-else-if='imported.mode === "Unknown"'
:size='32'
:stroke='0.5'
/>
<IconPackages
v-else-if='imported.mode === "Package"'
:size='32'
:stroke='0.5'
/>
</div>
<div
class='mx-2 col-auto row'
Expand Down
2 changes: 1 addition & 1 deletion api/web/src/components/CloudTAK/util/Attachments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
:src='downloadAssetUrl(file)'
:size='24'
:stroke='1'
/>
>
<IconFile
v-else
:size='24'
Expand Down
2 changes: 1 addition & 1 deletion api/web/src/components/CloudTAK/util/MultipleSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Feature
:feature='feat'
:compact='true'
:deleteButton='false'
:delete-button='false'
/>
</div>
</div>
Expand Down
24 changes: 12 additions & 12 deletions api/web/src/components/CloudTAK/util/Video.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<template>
<div>
<video
id="cot-player"
class="video-js vjs-default-skin"
width="400"
height="300"
id='cot-player'
class='video-js vjs-default-skin'
width='400'
height='300'
controls
>
<source
type="application/x-mpegURL"
:src="video"
/>
type='application/x-mpegURL'
:src='video'
>
</video>
</div>
</template>
Expand All @@ -21,17 +21,17 @@ import 'video.js/dist/video-js.css';
export default {
name: 'CoTVideo',
data: function() {
return {
player: false
}
},
props: {
video: {
type: String,
required: true
}
},
data: function() {
return {
player: false
}
},
unmounted: function() {
this.player.dispose();
},
Expand Down

0 comments on commit c864cc4

Please sign in to comment.