mirror of
https://github.com/nasa/openmct.git
synced 2025-03-28 14:48:42 +00:00
[Search] Display search items
The search view now very rudimentarily displays some 'search-item's.
This commit is contained in:
parent
845b9a2faa
commit
32eaf3893a
@ -17,6 +17,14 @@
|
|||||||
"implementation": "SearchController.js",
|
"implementation": "SearchController.js",
|
||||||
"depends": [ "$scope" ]
|
"depends": [ "$scope" ]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"representations": [
|
||||||
|
{
|
||||||
|
"key": "search-item",
|
||||||
|
"templateUrl": "templates/search-item.html",
|
||||||
|
"uses": [ "type", "action" ],
|
||||||
|
"gestures": [ "info", "menu" ]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -21,7 +21,8 @@
|
|||||||
-->
|
-->
|
||||||
<!-- Based on grid-item -->
|
<!-- Based on grid-item -->
|
||||||
<!-- For selected, add class 'selected' to outer div -->
|
<!-- For selected, add class 'selected' to outer div -->
|
||||||
<div class='item grid-item' ng-click='action.perform("navigate")'>
|
<div class='item' ng-click='action.perform("navigate")'>
|
||||||
|
ITEM
|
||||||
<div class="contents abs">
|
<div class="contents abs">
|
||||||
<div class='top-bar bar abs'>
|
<div class='top-bar bar abs'>
|
||||||
<div class='left abs'>
|
<div class='left abs'>
|
||||||
|
@ -21,18 +21,29 @@
|
|||||||
-->
|
-->
|
||||||
<!-- Based on items -->
|
<!-- Based on items -->
|
||||||
<div class='items-holder grid abs'>
|
<div class='items-holder grid abs'>
|
||||||
|
|
||||||
<!-- Search bar -->
|
<!-- Search bar -->
|
||||||
<div id="all">
|
<div>
|
||||||
<form>
|
<form>
|
||||||
Search in this folder: <br>
|
Search in this folder: <br>
|
||||||
<input type="text" name="searchform">
|
<input type="text" name="searchform">
|
||||||
<input type="submit" value="Search">
|
<input type="submit" value="Search">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- some spacing -->
|
||||||
|
<div style="height: 20px"></div>
|
||||||
|
|
||||||
<!-- Results list -->
|
<!-- Results list -->
|
||||||
<mct-representation key="'search-item'"
|
<ul>
|
||||||
ng-repeat="childObject in composition"
|
<li>
|
||||||
mct-object="childObject">
|
<mct-representation key="'search-item'"><!--
|
||||||
</mct-representation>
|
ng-repeat="childObject in composition"
|
||||||
|
mct-object="childObject"--></mct-representation>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<mct-representation key="'search-item'"></mct-representation>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
Loading…
x
Reference in New Issue
Block a user