mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[API] Decruft unused view
...from context menu prototyping
This commit is contained in:
parent
0094fea3f7
commit
f2178e2b43
@ -1,16 +0,0 @@
|
||||
define([
|
||||
'zepto',
|
||||
'text!./context-menu.html',
|
||||
'../../adapter/ui/AngularView'
|
||||
], function ($, template, AngularView) {
|
||||
|
||||
function ContextMenuView(actions) {
|
||||
AngularView.call(this, template, function ($scope) {
|
||||
$scope.menuActions = actions;
|
||||
});
|
||||
}
|
||||
|
||||
ContextMenuView.prototype = Object.create(AngularView.prototype);
|
||||
|
||||
return ContextMenuView;
|
||||
});
|
@ -1,12 +0,0 @@
|
||||
<div class="menu-element context-menu-wrapper mobile-disable-select">
|
||||
<div class="menu context-menu">
|
||||
<ul>
|
||||
<li ng-repeat="menuAction in menuActions"
|
||||
ng-click="menuAction.perform()"
|
||||
title="{{menuAction.getMetadata().description}}"
|
||||
class="{{menuAction.getMetadata().cssclass}}">
|
||||
{{menuAction.getMetadata().name}}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user