Sha256: a0bbd6c9a903fec06809be835dcafe2c609491740cb5d4b66311cb4c0c1c3709

Contents?: true

Size: 1.79 KB

Versions: 38

Compression:

Stored size: 1.79 KB

Contents

<script type="text/ng-template" id="promethee/components/row/edit/move">
<%= render 'promethee/edit/move.header', type: 'row' %>
    <div class="header">Row</div>
    <div class="row" ng-controller="RowMoveController">
      <div class="row__background row__background--color" ng-style="{'background': component.attributes.bgcolor.value}"></div>

      <div ng-repeat="background in component.attributes.backgrounds.value"
           class="row__background"
           style="
           background-image:url('{{background.image.value.id ? '/promethee/blob/'+background.image.value.id : ''}}');
               background-position:{{background.posh.value+' '+background.posv.value}};
               background-size: {{background.size.value}}" >
      </div>

      <div  ng-click="inspect(component, $event)"
            ng-class="{'promethee-edit__component--selected': promethee.inspected === component}"
            ng-repeat="component in components"
            class=" <%= promethee_bem_classes 'promethee-edit__component', "--column" %>
                    col-md-{{component.attributes.size.value}}
                    offset-md-{{component.attributes.offset.value}}
                    col-md-offset-{{component.attributes.offset.value}}">
        <div class="promethee-edit__component__inner">
          <%= render 'promethee/edit/move.remove' %>
            <div class="header">Column {{$index + 1}}</div>
            <ng-include src="'promethee/move/components'"></ng-include>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>
</div>
</script>

<script>
  promethee.controller('RowMoveController', ['$scope', function($scope) {
    $scope.parent_id = $scope.component.id;
    $scope.parent_type = $scope.component.type;
    $scope.components = $scope.component.children;
  }]);
</script>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
promethee-4.1.28 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.27 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.26 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.25 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.24 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.23 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.22 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.21 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.20 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.19 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.18 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.17 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.16 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.15 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.14 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.13 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.12 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.11 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.10 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.9 app/views/promethee/components/row/_edit.move.html.erb