2016-08-09 08:08:36 -03:00
|
|
|
<template name="measureFlow">
|
2016-08-17 19:48:06 -03:00
|
|
|
<div class="measure-flow {{#if this.treeColumns}}tree-columns{{/if}} {{instance.state.get}}" style="position:fixed; top:200px; left:400px">
|
2016-08-12 08:02:58 -03:00
|
|
|
<button class="btn-add">Add label</button>
|
2016-08-15 15:04:55 -03:00
|
|
|
{{#if eq instance.state.get 'selected'}}
|
|
|
|
|
<div class="tree-leaf">
|
2016-08-19 18:09:39 -03:00
|
|
|
<i class="icon-check"></i>
|
2016-08-15 15:04:55 -03:00
|
|
|
<span>{{instance.value.label}}</span>
|
2016-08-17 10:21:38 -03:00
|
|
|
{{#if instance.descriptionEdit.get}}
|
|
|
|
|
<div class="description clearfix">
|
|
|
|
|
<textarea
|
|
|
|
|
class="pull-left"
|
|
|
|
|
rows="1"
|
|
|
|
|
style="{{#unless instance.description.get}}height:0{{/unless}}"
|
|
|
|
|
>{{instance.description.get}}</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
{{#if instance.description.get}}
|
|
|
|
|
<div class="descriptionText">{{instance.description.get}}</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{/if}}
|
2016-08-15 15:04:55 -03:00
|
|
|
<div class="actions clearfix">
|
2016-08-15 17:56:19 -03:00
|
|
|
<button class="pull-left btn-rename">Rename</button>
|
2016-08-17 10:21:38 -03:00
|
|
|
<button class="pull-right btn-description">{{valueIf instance.description.get 'Edit' 'Add'}} description</button>
|
2016-08-15 15:04:55 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
2016-08-09 08:08:36 -03:00
|
|
|
</div>
|
|
|
|
|
</template>
|