|
|
@ -65,8 +65,8 @@
|
|
|
|
<script type="text/x-handlebars" data-template-name="kv/show">
|
|
|
|
<script type="text/x-handlebars" data-template-name="kv/show">
|
|
|
|
<a {{action 'linkToKey' parent }}>{{parent}}</a>
|
|
|
|
<a {{action 'linkToKey' parent }}>{{parent}}</a>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
|
{{#each item in model }}
|
|
|
|
{{#each item in model }}
|
|
|
|
<div {{action 'linkToKey' item.key }} class="panel panel-link panel-short">
|
|
|
|
<div {{action 'linkToKey' item.key }} class="panel panel-link panel-short">
|
|
|
@ -89,20 +89,23 @@
|
|
|
|
<script type="text/x-handlebars" data-template-name="kv/edit">
|
|
|
|
<script type="text/x-handlebars" data-template-name="kv/edit">
|
|
|
|
<a {{action 'linkToKey' parent }}>{{parent}}</a>
|
|
|
|
<a {{action 'linkToKey' parent }}>{{parent}}</a>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div {{action 'linkToKey' model.key }} class="panel panel-link panel-short">
|
|
|
|
{{#each item in siblings }}
|
|
|
|
<div {{bind-attr class=":panel-bar model.isFolder:bg-gray:bg-light-gray" }}></div>
|
|
|
|
<div {{action 'linkToKey' item.key }} class="panel panel-link panel-short">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div {{bind-attr class=":panel-bar item.isFolder:bg-gray:bg-light-gray" }}></div>
|
|
|
|
<h3 class="panel-title">
|
|
|
|
<div class="panel-heading">
|
|
|
|
{{model.key}}
|
|
|
|
<h3 class="panel-title">
|
|
|
|
</h3>
|
|
|
|
{{item.key}}
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-5 col-md-offset-1">
|
|
|
|
<div class="col-md-5 col-md-offset-1">
|
|
|
|
{{ input value=model.value class="form-control"}}
|
|
|
|
{{ input value=model.value class="form-control"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|