Sha256: 0fddbecc8c03567895d8cb8be344453ed547b89ffafd87f4818c54a0669fdd4a

Contents?: true

Size: 1.01 KB

Versions: 42

Compression:

Stored size: 1.01 KB

Contents

<script type="text/ng-template" id="promethee/components/collection/edit/inspect">
  <b>Desktop</b>
  <div class="form-group">
    <label class="label-control">Items per line: {{promethee.inspected.attributes.items_per_line}}</label>
    <input ng-model="promethee.inspected.attributes.items_per_line" type="range" min="2" max="12">
  </div>

  <div class="form-group">
    <div class="btn btn-default" ng-click="addComponentByType('collection_item', promethee.inspected.children)">Add item</div>
    <div ng-show="promethee.inspected.children.length">
      <br><br>
      <label class="label-control">Drag the items below to reorder them:</label>
      <ul ui-sortable ng-model="promethee.inspected.children" class="list-unstyled">
        <li ng-repeat="item in promethee.inspected.children">
          <div>
            <%= fa_icon :bars %> Item {{$index + 1}}
            <span class="label label-info" ng-click="promethee.inspected = item">Edit</span>
          </div>
        </li>
      </ul>
    </div>
  </div>
</script>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
promethee-1.8.3 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.8.2 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.8.1 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.8.0 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.12 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.11 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.10 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.9 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.8 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.7 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.6 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.5 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.4 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.3 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.2 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.1 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.7.0 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.63 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.62 app/views/promethee/components/collection/_edit.inspect.html.erb
promethee-1.6.61 app/views/promethee/components/collection/_edit.inspect.html.erb