Sha256: 8c44dd2682b4072853322349f22772c0bbe10b57d5dcbbccc0fa3945574eb388

Contents?: true

Size: 1.62 KB

Versions: 17

Compression:

Stored size: 1.62 KB

Contents

<script type="text/ng-template" id="promethee/components/column">
  <div class="col 
              col-md-{{component.attributes.size}} 
              col-md-offset-{{component.attributes.offset}} 
              promethee-editor__component 
              promethee-editor__component--column">
    <div class="promethee-editor__toolbar">
      Column
      <%= render 'promethee/partials/toolbar_buttons' %>
    </div>
    <div ng-show="editing" class="promethee-editor__wrapper">
      <div class="form-group">
        <label class="label-control">Size</label>
        <input ng-model="component.attributes.size" class="form-control" type="number"/>
      </div>
      <div class="form-group">
        <label class="label-control">Offset</label>
        <input ng-model="component.attributes.offset" class="form-control" type="number"/>
      </div>
    </div>

    <ng-include src="'promethee/components/children'"></ng-include>

    <span type="button" 
          class="btn btn-default btn-block" 
          ng-click="addComponentTo(component.children)">Add component</span>
  </div>
</script>

<script type="text/ng-template" id="promethee/components/column/move">
  <div class="col col-md-{{component.attributes.size}} col-md-offset-{{component.attributes.offset}}">
    <h1>Column</h1>
    <ng-include src="'promethee/partials/mover'"></ng-include>
    <div  class=" promethee-editor__mover--droppable 
                  promethee-editor__mover--droppable--row 
                  promethee-editor__mover--droppable--row--inside-column" 
          droppable 
          data-index="{{$index+1}}"
          data-type="{{type}}"
          >
  </div>
</script>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
promethee-1.0.12 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.11 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.10 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.9 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.8 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.7 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.6 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.5 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.4 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.3 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.2 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.1 app/views/promethee/components/_column_edit.html.erb
promethee-1.0.0 app/views/promethee/components/_column_edit.html.erb
promethee-0.1.8 app/views/promethee/components/_column_edit.html.erb
promethee-0.1.7 app/views/promethee/components/_column_edit.html.erb
promethee-0.1.6 app/views/promethee/components/_column_edit.html.erb
promethee-0.1.5 app/views/promethee/components/_column_edit.html.erb