2015-05-13 23:42:35 +00:00
|
|
|
<!--
|
|
|
|
Open MCT Web, Copyright (c) 2014-2015, United States Government
|
|
|
|
as represented by the Administrator of the National Aeronautics and Space
|
|
|
|
Administration. All rights reserved.
|
|
|
|
|
|
|
|
Open MCT Web 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 Web 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.
|
|
|
|
-->
|
2015-10-20 18:39:28 +00:00
|
|
|
<div ng-init="
|
2015-10-22 17:09:09 +00:00
|
|
|
editBtns = [{ cssclass: 'save',title: 'Save' },{ cssclass: 'cancel',title: 'Discard Changes', action:'cancelEditing' }];
|
2015-10-20 18:39:28 +00:00
|
|
|
"></div>
|
2015-10-22 17:09:09 +00:00
|
|
|
<span ng-controller="BrowseObjectController"
|
|
|
|
mct-before-unload="getUnloadWarning()">
|
|
|
|
<!--<a class="s-btn"
|
2015-10-21 19:06:11 +00:00
|
|
|
style="opacity: 0.9; position:absolute; right: 250px; z-index: 100"
|
|
|
|
ng-class="{ major:!editMode }"
|
2015-10-22 17:09:09 +00:00
|
|
|
ng-click="editMode = !editMode">Set EditMode to {{!editMode}}</a> -->
|
2015-08-24 19:22:08 +00:00
|
|
|
<div class="object-browse-bar bar l-flex">
|
|
|
|
<div class="items-select left">
|
2015-09-15 19:06:35 +00:00
|
|
|
<mct-representation key="'back-arrow'"
|
|
|
|
mct-object="domainObject"
|
|
|
|
class="l-back"></mct-representation>
|
2014-11-23 23:41:20 +00:00
|
|
|
<mct-representation key="'object-header'" mct-object="domainObject">
|
|
|
|
</mct-representation>
|
|
|
|
</div>
|
2015-08-25 20:34:37 +00:00
|
|
|
<div class="btn-bar right">
|
2014-12-04 20:12:41 +00:00
|
|
|
<mct-representation key="'switcher'"
|
|
|
|
mct-object="domainObject"
|
|
|
|
ng-model="representation">
|
|
|
|
</mct-representation>
|
2015-08-25 20:34:37 +00:00
|
|
|
<!-- Temporarily, on mobile, the action buttons are hidden-->
|
2015-08-25 17:15:14 +00:00
|
|
|
<mct-representation key="'action-group'"
|
|
|
|
mct-object="domainObject"
|
2015-08-25 20:34:37 +00:00
|
|
|
parameters="{ category: 'view-control' }"
|
|
|
|
class="mobile-hide">
|
2015-08-25 17:15:14 +00:00
|
|
|
</mct-representation>
|
2014-11-23 23:41:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-10-20 18:39:28 +00:00
|
|
|
<div class="l-object-wrapper"
|
2015-10-21 19:01:59 +00:00
|
|
|
ng-class="{ active:editMode, 'edit-main':editMode}">
|
2015-10-20 18:39:28 +00:00
|
|
|
<div class="l-object-wrapper-inner l-flex flex-col">
|
|
|
|
<!-- Toolbar and Save/Cancel buttons -->
|
2015-10-21 18:35:36 +00:00
|
|
|
<div class="l-edit-controls flex-elem l-flex flex-row flex-align-end"
|
2015-10-20 21:41:02 +00:00
|
|
|
ng-class="{ active:editMode }">
|
2015-10-20 22:43:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-21 18:35:36 +00:00
|
|
|
<!-- <mct-toolbar name="mctToolbar"
|
2015-10-20 18:39:28 +00:00
|
|
|
structure="toolbar.structure"
|
|
|
|
ng-model="toolbar.state"
|
|
|
|
class="flex-elem grow">
|
2015-10-21 18:35:36 +00:00
|
|
|
</mct-toolbar>-->
|
2015-10-20 22:43:53 +00:00
|
|
|
<!-- from toolbar.html -->
|
2015-10-21 18:35:36 +00:00
|
|
|
<mct-toolbar-x class="flex-elem grow ellipsis">
|
2015-10-20 22:43:53 +00:00
|
|
|
<form novalidate>
|
2015-10-21 18:35:36 +00:00
|
|
|
<div class="tool-bar btn-bar">
|
2015-10-20 22:43:53 +00:00
|
|
|
<span class="l-control-group">
|
2015-10-21 18:35:36 +00:00
|
|
|
<span class="s-menu-btn">Foo</span>
|
|
|
|
<span class="s-menu-btn">Bar</span>
|
2015-10-20 22:43:53 +00:00
|
|
|
</span>
|
|
|
|
<span class="l-control-group">
|
2015-10-21 18:35:36 +00:00
|
|
|
<span class="s-menu-btn">Foo</span>
|
|
|
|
<span class="s-menu-btn">Bar</span>
|
|
|
|
<span class="s-menu-btn">Foo</span>
|
|
|
|
<span class="s-menu-btn">Lorem</span>
|
2015-10-20 22:43:53 +00:00
|
|
|
</span>
|
2015-10-21 18:35:36 +00:00
|
|
|
<span class="l-control-group">
|
|
|
|
<span class="s-menu-btn">Foo</span>
|
|
|
|
<span class="s-menu-btn">Bar</span>
|
|
|
|
<span class="s-menu-btn">Lorem</span>
|
|
|
|
</span>
|
|
|
|
<span class="s-menu-btn">Lorem</span>
|
2015-10-20 22:43:53 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
2015-10-21 18:35:36 +00:00
|
|
|
</mct-toolbar-x>
|
2015-10-20 22:43:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-21 18:35:36 +00:00
|
|
|
<!-- <mct-representation key="'edit-action-buttons'"
|
2015-10-20 18:39:28 +00:00
|
|
|
mct-object="domainObject"
|
|
|
|
class='flex-elem conclude-editing'>
|
2015-10-21 18:35:36 +00:00
|
|
|
</mct-representation>-->
|
2015-10-20 21:11:59 +00:00
|
|
|
<!-- from edit-action-buttons.html -->
|
2015-10-21 18:35:36 +00:00
|
|
|
<span class='flex-elem conclude-editing'>
|
2015-10-20 21:11:59 +00:00
|
|
|
<span ng-repeat="btn in editBtns">
|
|
|
|
<a class='s-btn t-{{btn.cssclass}}'
|
|
|
|
title='{{btn.title}}'
|
2015-10-22 17:09:09 +00:00
|
|
|
ng-click="doAction(btn.action)"
|
2015-10-21 18:35:36 +00:00
|
|
|
ng-class="{ major: $index === 0 }">
|
|
|
|
<span class="title-label">{{btn.title}}</span>
|
|
|
|
</a>
|
2015-10-20 21:11:59 +00:00
|
|
|
</span>
|
2015-10-21 18:35:36 +00:00
|
|
|
</span>
|
2015-10-20 18:39:28 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<mct-representation key="representation.selected.key"
|
|
|
|
mct-object="representation.selected.key && domainObject"
|
|
|
|
class="flex-elem grow object-holder">
|
|
|
|
</mct-representation>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-16 21:58:03 +00:00
|
|
|
</span>
|