diff --git a/client/viame-web-common/components/AttributesPanel.vue b/client/viame-web-common/components/AttributesPanel.vue index 41fa4dc93..c5786eeba 100644 --- a/client/viame-web-common/components/AttributesPanel.vue +++ b/client/viame-web-common/components/AttributesPanel.vue @@ -150,7 +150,9 @@ export default defineComponent({ function confidencePairsAdd() { //TODO: Ability to add and edit confidence Pairs } - async function saveAttribtueHandler(saveData: {addNew: boolean|undefined; data: Attribute}) { + async function saveAttribtueHandler(saveData: { + addNew: boolean | undefined; data: Attribute; + }) { editingError.value = null; try { await setAttribute(saveData); @@ -257,21 +259,26 @@ export default defineComponent({ :lock-types="lockTypes" @seek="$emit('track-seek', $event)" /> - - + + +
+ Confidence Pairs: Add a new Confidence Pair - - - Edit ConfidencePairs - - +
+ - - + + +
+ Track Attributes: @@ -377,22 +364,21 @@ export default defineComponent({ - - mdi-pencil + + mdi-eye - Edit Attributes + Show/Hide un-used - +
+ - + {{ attribute.name }}: @@ -432,9 +416,7 @@ export default defineComponent({ @change="updateTrackAttribute(selectedTrackIdRef, $event)" @click.stop.prevent="" /> -
+
-
+
+
- + mdi-settings @@ -483,78 +464,75 @@ export default defineComponent({
- +
- - - Detection Attributes: - - - - Add a new Detection Attribute - - - - Edit Attributes - - - Detection Attributes: + + - {{ `Frame: ${selectedDetection.frame}` }} - - - + + Add a new Detection Attribute + + + + Show/Hide un-used + + + + {{ `Frame: ${selectedDetection.frame}` }} + +
+ No detection selected + -
+
-
+
+ - + mdi-settings @@ -663,23 +638,23 @@ export default defineComponent({ } } .attribute-name { - font-size:.8em; - max-width:50% + font-size: 0.8em; + max-width: 50%; } .border-highlight { - border-top: 1px solid gray; - border-bottom: 1px solid gray; - color: white; - font-weight: bold; - font-size: .90em; - min-height: 45px; - } - .scroll-section { - overflow-y: auto; - overflow-x: hidden; - } - .confidence { - min-height: 40px; - - } + border-top: 1px solid gray; + border-bottom: 1px solid gray; + color: white; + font-weight: bold; + font-size: 0.9em; + padding: 4px 10px; + background-color: #272727; +} +.scroll-section { + overflow-y: auto; + overflow-x: hidden; +} +.confidence { + min-height: 40px; +} diff --git a/client/viame-web-common/components/Sidebar.vue b/client/viame-web-common/components/Sidebar.vue index 1e226e408..4b67f35e6 100644 --- a/client/viame-web-common/components/Sidebar.vue +++ b/client/viame-web-common/components/Sidebar.vue @@ -64,6 +64,7 @@ export default defineComponent({