spacedeck-open/views/partials/tool/zones.html

18 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2017-04-07 01:29:05 +02:00
<h4 class="dialog-title">[[__("tool_zones")]]</h4>
<div id="zones" style="max-height:500px;overflow-y:scroll">
<div class="dialog-section">
<!--p v-if="zones.length<2">
2017-04-07 01:29:05 +02:00
Turn your Space into a zooming presentation by placing some Zones and switch through them when presenting.
</p-->
2017-04-07 01:29:05 +02:00
<button v-on:click="add_zone()" class="btn btn-sm btn-dark">[[__("add_zone")]]</button>
2017-04-07 01:29:05 +02:00
</div>
<div class="dialog-section no-p" v-for="z in zones | orderBy 'order'" style="white-space: nowrap;text-align:left;cursor:pointer" v-on:click="zoom_to_zone(z)">
2017-04-07 01:29:05 +02:00
<button class="btn btn-sm btn-transparent">{{{z.description}}}</button>
<button v-if="$index==current_zone_idx" v-on:click="sort_zone_up(z)" class="btn btn-sm btn-round btn-transparent btn-icon"><span class="icon icon-triangle-up"></span></button>
<button v-if="$index==current_zone_idx" v-on:click="sort_zone_down(z)" class="btn btn-sm btn-round btn-transparent btn-icon"><span class="icon icon-triangle-down"></span></button>
</div>
</div>