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.8 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.7 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.6 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.5 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.4 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.3 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.2 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.1 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.1.0 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.8 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.7 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.6 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.5 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.4 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.3 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.2 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.1 app/views/promethee/components/row/_edit.move.html.erb
promethee-4.0.0 app/views/promethee/components/row/_edit.move.html.erb