mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 08:32:28 +00:00
97d80f57cc
* UI enhancements for #3176 - Large overlay now displays fullscreen; * UI enhancements for #3176 - Adding new ".is-in-small-container" CSS - VERY WIP! - TODO: fix table implementation; * UI fixes for NIRVSS client #170 - Hide table header filter inputs when table is in small container; * UI fixes for NIRVSS client #170 - Fixing legends and plot layout when small, and within a stacked plot; - Add new `hideLegendWhenSmall` property; - Remove 'hidden' from plot legend position options; - Reduced opacity of tabular headers in Espresso theme; - VERY, VERY WIP right now! * UI fixes for NIRVSS client #170 - Fixing legends and plot layout when small, and within a stacked plot; - Cleanups, indention, removed commented CSS; - Tightened up spacing in plot Y axis; * UI enhancements for #3176 - Move local controls for plots and imagery, prevent overlapping with view large button when in a hidden frame in a layout; - Finesse local control styling for increased legibility; - Move l-state-indicators to avoid overlap with repositioned local controls, finesse styling; * UI enhancements for #3176 - Tweak large overlay close button for better visual alignment; * UI enhancements for #3176 - Significant improvements to lines in Display Layouts; - Increased border-width for lines and boxes; - Code enhanced for proper handling of horizontal and vertical lines - but still isn't working properly; - Renamed box-view.scss to box-and-line-views.scss; - VERY WIP! * Fixed incorrect grid array reference * UI enhancements for #3176 - Fixed final issue with Display Layout line drawing object, thank you @deeptailor!; * UI enhancements for #3176 - Contrast enhancements and markup normalization for `c-object-label` elements in main view, Layout frames, Inspector and overlay; - Enhanced `l-overlay-large` layout; - Tightened up margins and spacing in plots; - Refined `is-paused` styling in Telemetry Tables; - Now hide Telemetry Tables 'Export Data' button if rows are selected, which use a separate export button; - Layout frames now hide button's text labels when small; - Layout frames spacing tightened up and improved; * UI enhancements for #3176 - Tweak Snow theme constants; * UI enhancements for #3176 - Fixed ObjectFrame getOverlayElement method, added a wrapper div around the viewed object to properly control resulting layout in the overlay; - Simplified preview CSS to remove background, border and padding; - Layout tweaks to add space between scrollbar and thumbs in Imagery view; - Removed dev "-info" element in LineView.vue; * UI enhancements for #3176 - Improved styling for 'edit lock' button; * UI enhancements for #3176 - Show Display Layout frame "-move" bar on hover, rather than select, to make it easier to select items with hidden frames, and only show -move bar's drag grippy when that frame is selected; - `pointer-events: none` applied to table's body and plot's plot areas when placed in a Layout and being edited, prevents distracting interactions (plot zoom/pan, table row selection) when selecting and moving elements in a Layout; - Refined hover styles for c-button to use $filterHov, simplified and normalized hover styling; - Converted a number of old `<a>` tags to `<buttons>` to normalize styling and use the appropriate control; - Edit lock button is now colored when locked; * Fix linting issue * Minor tweaks - Tweaked control positioning; Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
79 lines
4.2 KiB
HTML
79 lines
4.2 KiB
HTML
<!--
|
|
Open MCT, Copyright (c) 2014-2018, United States Government
|
|
as represented by the Administrator of the National Aeronautics and Space
|
|
Administration. All rights reserved.
|
|
|
|
Open MCT is licensed under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
http://www.apache.org/licenses/LICENSE-2.0.
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
License for the specific language governing permissions and limitations
|
|
under the License.
|
|
|
|
Open MCT includes source code licensed under additional open source
|
|
licenses. See the Open Source Licenses file (LICENSES.md) included with
|
|
this source code distribution or the Licensing information page available
|
|
at runtime from the About dialog for additional information.
|
|
-->
|
|
<div class="angular-w l-flex-col flex-elem grows holder" ng-controller="SearchController as controller">
|
|
<div class="l-flex-col flex-elem grows holder holder-search" ng-controller="SearchMenuController as menuController">
|
|
<div class="c-search-btn-wrapper"
|
|
ng-controller="ToggleController as toggle"
|
|
ng-class="{ holder: !(ngModel.input === '' || ngModel.input === undefined) }">
|
|
<div class="c-search">
|
|
<input class="c-search__search-input"
|
|
type="text" tabindex="10000"
|
|
ng-model="ngModel.input"
|
|
ng-keyup="controller.search()"/>
|
|
<button class="c-search__clear-input clear-icon icon-x-in-circle"
|
|
ng-class="{show: !(ngModel.input === '' || ngModel.input === undefined)}"
|
|
ng-click="ngModel.input = ''; controller.search()"></button>
|
|
<!-- To prevent double triggering of clicks on click away, render
|
|
non-clickable version of the button when menu active-->
|
|
<a ng-if="!toggle.isActive()" class="menu-icon context-available"
|
|
ng-click="toggle.toggle()"></a>
|
|
<a ng-if="toggle.isActive()" class="menu-icon context-available"></a>
|
|
<mct-include key="'search-menu'"
|
|
class="menu-element c-search__search-menu-holder"
|
|
ng-class="{invisible: !toggle.isActive()}"
|
|
ng-model="ngModel"
|
|
parameters="{menuVisible: toggle.setState}">
|
|
</mct-include>
|
|
</div>
|
|
|
|
<button class="c-button c-search__btn-cancel"
|
|
ng-show="!(ngModel.input === '' || ngModel.input === undefined)"
|
|
ng-click="ngModel.input = ''; ngModel.checkAll = true; menuController.checkAll(); controller.search()">
|
|
Cancel</button>
|
|
</div>
|
|
|
|
<div class="active-filter-display flex-elem holder"
|
|
ng-class="{invisible: ngModel.filtersString === '' || ngModel.filtersString === undefined || !ngModel.search}">
|
|
<button class="clear-filters icon-x-in-circle s-icon-button"
|
|
ng-click="ngModel.checkAll = true; menuController.checkAll()"></button>Filtered by: {{ ngModel.filtersString }}
|
|
</div>
|
|
|
|
<div class="flex-elem holder results-msg" ng-model="ngModel" ng-show="!loading && ngModel.search">
|
|
{{
|
|
!results.length > 0? 'No results found':
|
|
results.length + ' result' + (results.length > 1? 's':'') + ' found'
|
|
}}
|
|
</div>
|
|
|
|
<div class="search-results flex-elem holder grows vscroll"
|
|
ng-class="{invisible: !(loading || results.length > 0), loading: loading}">
|
|
<mct-representation key="'search-item'"
|
|
ng-repeat="result in results"
|
|
mct-object="result.object"
|
|
ng-model="ngModel"
|
|
class="l-flex-row flex-elem grows">
|
|
</mct-representation>
|
|
<button class="load-more-button s-button vsm" ng-if="controller.areMore()" ng-click="controller.loadMore()">More Results</button>
|
|
</div>
|
|
</div>
|
|
</div>
|