Added ability to add/remove basic conditions
Conditions are those listed in ./lib/methods/conditions.js
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
<template name="buff">
|
||||
<div class="item-slot">
|
||||
<div class="item inventoryItem layout horizontal center">
|
||||
<div class="itemName flex">
|
||||
{{name}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1,5 +0,0 @@
|
||||
Template.buff.helpers({
|
||||
name: function() {
|
||||
return this.name
|
||||
}
|
||||
})
|
||||
@@ -1,14 +0,0 @@
|
||||
<template name="buffViewList">
|
||||
{{if buffs.count}}
|
||||
<paper-material class="card">
|
||||
<div class="top white paper-font-subhead">
|
||||
Conditions
|
||||
</div>
|
||||
<div flex class="bottom list">
|
||||
{{#each buffs}}
|
||||
{{>buff}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</paper-material>
|
||||
{{/if}}
|
||||
</template>
|
||||
@@ -1,12 +0,0 @@
|
||||
Template.buffViewList.helpers({
|
||||
buffs: function(){
|
||||
var selector = {
|
||||
"parent.id": this.parentId,
|
||||
"charId": this.charId,
|
||||
};
|
||||
if (this.parentGroup){
|
||||
selector["parent.group"] = this.parentGroup;
|
||||
}
|
||||
return Buffs.find(selector);
|
||||
}
|
||||
});
|
||||
@@ -43,7 +43,7 @@
|
||||
</paper-material>
|
||||
</div>
|
||||
<!--Condtions-->
|
||||
<!-- { { buffViewList } } -->
|
||||
{{> buffViewList}}
|
||||
<!--Skills-->
|
||||
<div>
|
||||
<paper-material class="card">
|
||||
|
||||
Reference in New Issue
Block a user