summaryrefslogtreecommitdiffstats
path: root/templates/propertyGroup.html
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2017-10-31 16:57:54 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2017-10-31 16:57:54 +0100
commit71d981c8b19b09359ee4c91f9dcc4cf6ef0df394 (patch)
treef6c713db51b7b2e52e2c23ccf924e7805bfefca8 /templates/propertyGroup.html
parent6c8e6c36bbf95c89e155e528a2df6c3ac6c1657c (diff)
begin work on propertygroups
Diffstat (limited to 'templates/propertyGroup.html')
-rw-r--r--templates/propertyGroup.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/propertyGroup.html b/templates/propertyGroup.html
new file mode 100644
index 00000000..4c928035
--- /dev/null
+++ b/templates/propertyGroup.html
@@ -0,0 +1,14 @@
+<i class="propertyGroup__icon">🍕</i>
+<span class="propertyGroup__title">{{ctrl.name}}</span>
+<detailsItem ng-repeat="property in ctrl.properties" name="ctrl.name" data="property" model="ctrl" index="$index"
+ class="details-item-{{ctrl.name}}" ng-class="{ 'failed': ctrl.contact.failedProps.indexOf(prop.$key) !== -1 }"></detailsItem>
+<!--<adetailsItem ng-repeat="property in [1,2]" class="property">
+ <div class="property__label">Home</div>
+ <div class="component">
+ <input type="text" placeholder="comp1" />
+ </div>
+ <div class="component">
+ <input type="text" placeholder="comp2" />
+ </div>
+</adetailsItem>
+-->