zones.html 1022 B

1234567891011121314151617
  1. <h4 class="dialog-title">[[__("tool_zones")]]</h4>
  2. <div id="zones" style="max-height:500px;overflow-y:scroll">
  3. <div class="dialog-section">
  4. <p v-if="zones.length<2">
  5. Turn your Space into a zooming presentation by placing some Zones and switch through them when presenting.
  6. </p>
  7. <button v-on:click="add_zone()" class="btn btn-sm btn-primary">[[__("add_zone")]]</button>
  8. </div>
  9. <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)">
  10. <button class="btn btn-sm btn-transparent">{{{z.description}}}</button>
  11. <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>
  12. <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>
  13. </div>
  14. </div>