diff --git a/src/components/CesiumViewer.vue b/src/components/CesiumViewer.vue index 39408c5..24ec48f 100644 --- a/src/components/CesiumViewer.vue +++ b/src/components/CesiumViewer.vue @@ -18,6 +18,7 @@ +
@@ -62,6 +63,7 @@ import { store } from './Globals.js' import { DataflashDataExtractor } from '../tools/dataflashDataExtractor' import { MavlinkDataExtractor } from '../tools/mavlinkDataExtractor' import 'cesium/Build/Cesium/Widgets/widgets.css' +import CesiumSettingsWidget from './widgets/CesiumSettingsWidget.vue' Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2MmM0MDgzZC00OGVkLTRjZ' + 'TItOWI2MS1jMGVhYTM2MmMzODYiLCJpZCI6MjczNywiaWF0IjoxNjYyMTI4MjkxfQ.fPqhawtYLhwyZirKCi8fEjPEIn1CjYqETvA0bYYhWRA' @@ -86,6 +88,9 @@ export default { lastEmitted: 0 } }, + components: { + CesiumSettingsWidget + }, created () { // The objects declared here are not watched by Vue this.viewer = null // Cesium viewer instance @@ -1165,7 +1170,7 @@ export default { #toolbar { margin: 5px; - padding: 2px 5px; + padding: 5px 5px; position: absolute; top: 0; color: #eee; @@ -1177,15 +1182,12 @@ export default { /* INFO PANEL */ .infoPanel { - background: rgba(41, 41, 41, 0.678); - padding: 5px; - border-collapse: separate; - margin: 8px; - border-radius: 5px; - font-weight: bold; - float: left; - box-shadow: inset 0 0 10px rgb(0, 0, 0); - letter-spacing: 1px; + top: 10px; + background-color: rgba(40, 40, 40, 0.7); + padding: 10px; + padding-left: 25px; + border-radius: 5px; + border: 1px solid #444; } #wrapper { diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 1938d1b..5e348f2 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -18,11 +18,6 @@ Plot - - 3D - 3D @@ -42,68 +37,6 @@ Commit {{state.commit}} Built {{state.buildDate}} -
- - - - - - - - - - -
- - -
- -
- - -
- -
- -
- -
- -
- -
- - -
- -
- - -
-

@@ -279,11 +212,6 @@ export default { this.downloadBlob(this.state.files[filename], filename, 'application/octet-stream') } }, - computed: { - attitudeSources () { - return [...this.state.attitudeSources.quaternions, ...this.state.attitudeSources.eulers] - } - }, created () { this.$eventHub.$on('set-selected', this.setSelected) }, diff --git a/src/components/widgets/CesiumSettingsWidget.vue b/src/components/widgets/CesiumSettingsWidget.vue new file mode 100644 index 0000000..7f3f2fd --- /dev/null +++ b/src/components/widgets/CesiumSettingsWidget.vue @@ -0,0 +1,123 @@ + + + + +