[Fixed Position] Populate background grid

Add a background grid to fixed position view, WTD-615.
This commit is contained in:
Victor Woeltjen
2015-01-15 18:48:11 -08:00
parent d453e59308
commit b2bfa2b09b
2 changed files with 47 additions and 2 deletions

View File

@@ -1,7 +1,19 @@
<div style="width: 100%; height: 100%;"
<div style="width: 100%; height: 100%; position: absolute; left: 0px; top: 0px;"
ng-controller="FixedController as controller">
<!-- Background grid -->
<div ng-repeat="cell in controller.getCellStyles()"
style="position: absolute; border: 1px gray solid; background: black;"
ng-style="cell">
</div>
<div ng-repeat="childObject in composition"
style="position: absolute;"
ng-style="controller.getStyle(childObject.getId())">
<div ng-style="controller.getCellStyle()">