[Common UI] Initial commonUI bundles

Bring in work on general-purpose and over-arching
user interface bundles from the sandbox transition
branch. WTD-574.
This commit is contained in:
Victor Woeltjen
2014-11-23 15:41:20 -08:00
parent 0cd331e8a5
commit 1b0303e517
73 changed files with 6035 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<span ng-controller="EditActionController">
<span ng-repeat="currentAction in editActions">
<a class='btn'
ng-click="currentAction.perform()"
ng-class="{ major: $index === 0, subtle: $index !== 0 }">
{{currentAction.getMetadata().name}}
</a>
</span>
</span>

View File

@@ -0,0 +1,33 @@
<span ng-controller="ViewSwitcherController">
<mct-include key="'topbar-edit'"
parameters="{ switcher: switcher, object: domainObject }">
</mct-include>
<div class="holder edit-area outline abs">
<!-- edit toolbar goes here -->
<div class='split-layout vertical contents abs work-area'>
<div class='split-pane-component edit-main pane' style="right: 200px; left: 0px;">
<div class='holder abs object-holder'>
<mct-representation key="switcher.selected.key" mct-object="domainObject">
</mct-representation>
</div>
</div>
<div class="splitter" style="right: 200px"></div>
<div class='split-pane-component edit-objects pane menus-to-left'
style="right: 0px; width: 200px">
<div class='holder abs split-layout horizontal'>
<mct-container key="accordion" title="Library" style="position: relative; top: 0px;">
<mct-representation key="'tree'" mct-object="context.getRoot()">
</mct-representation>
</mct-container>
<mct-container key="accordion" title="Elements" style="position: relative; top: 200px;">
<mct-representation key="'edit-elements'" mct-object="domainObject">
</mct-representation>
</mct-container>
</div>
</div>
</div>
</div>
</span>

View File

@@ -0,0 +1,10 @@
<div content="jquery-wrapper"
class="abs holder-all edit-mode"
ng-controller="EditController">
<mct-representation key="'edit-object'" mct-object="navigatedObject">
</mct-representation>
<mct-include key="'bottombar'"></mct-include>
</div>

View File

@@ -0,0 +1,11 @@
<div class="current-elements abs" style="height: 100%;">
<!--p class="hint">Drop objects here to add them...</p-->
<ul class="tree">
<li ng-repeat="containedObject in composition">
<span class="tree-item">
<mct-representation key="'label'" mct-object="containedObject">
</mct-representation>
</span>
</li>
</ul>
</div>

View File

@@ -0,0 +1,4 @@
<mct-representation key="'tree'"
mct-object="parameters.domainObject"
parameters="parameters">
</mct-representation>

View File

@@ -0,0 +1,17 @@
<div class='top-bar edit abs'>
<mct-representation key="'object-header'" mct-object="parameters.object" parameters="{ mode: 'Edit' }">
</mct-representation>
<div class='buttons-main btn-bar buttons abs'>
<mct-include key="'switcher'"
ng-model="parameters.switcher"
ng-if="parameters.switcher.options.length > 0">
</mct-include>
<mct-representation key="'edit-action-buttons'"
mct-object="parameters.object"
class='conclude-editing'>
<!--a class='btn major' href=''>Save<span id='save-actions-menu' class='ui-symbol invoke-menu'>v</span></a>
<a class='btn subtle' href=''>Cancel</a-->
</mct-representation>
</div>
</div>