[Layout] Initial layout templates

Bring over and perform initial transition of templates
for the Layout view. WTD-535.
This commit is contained in:
Victor Woeltjen 2014-12-04 11:53:05 -08:00
parent e1ba2487b3
commit cbb77f0a14
3 changed files with 44 additions and 0 deletions

View File

@ -2,6 +2,21 @@
"name": "Layout components.",
"description": "Plug in adding Layout capabiltiies.",
"extensions": {
"views": [
{
"key": "layout",
"name": "Layout",
"glyph": "L",
"type": "layout",
"templateUrl": "templates/layout.html"
}
],
"representations": [
{
"key": "frame",
"templateUrl": "templates/frame.html"
}
],
"types": [
{
"key": "layout",

View File

@ -0,0 +1,20 @@
<div class="frame frame-template abs" ng-controller="ViewSwitcherController">
<div class="bar abs object-header object-top-bar">
<div class="title left abs">
<mct-representation key="'node'"
mct-object="domainObject">
</mct-representation>
</div>
<div class="btn-bar right abs">
<mct-include key="'switcher'"
ng-model="switcher"
ng-if="switcher.options.length > 0">
</mct-include>
</div>
</div>
<div class="abs object-holder">
<mct-representation key="switcher.key"
mct-object="domainObject">
</mct-representation>
</div>
</div>

View File

@ -0,0 +1,9 @@
<div style="width: 100%; height: 100%;">
<span style="left: 45px; width: 360px; top: 60px; height: 240px">
<mct-representation key="'frame'"
mct-object="domainObject">
</mct-representation>
</span>
</div>