promethee 1.2.31 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/promethee-edit.sass +10 -44
  3. data/app/assets/stylesheets/promethee-edit/_move.sass +95 -46
  4. data/app/views/promethee/_edit.html.erb +26 -24
  5. data/app/views/promethee/components/aside/_edit.define.html.erb +152 -11
  6. data/app/views/promethee/components/aside/_edit.move.html.erb +11 -12
  7. data/app/views/promethee/components/column/_edit.define.html.erb +32 -0
  8. data/app/views/promethee/components/column/_edit.inspect.html.erb +5 -4
  9. data/app/views/promethee/components/column/_edit.move.html.erb +21 -11
  10. data/app/views/promethee/components/cover/_edit.define.html.erb +151 -12
  11. data/app/views/promethee/components/cover/_edit.move.html.erb +7 -4
  12. data/app/views/promethee/components/cover/_localize.html.erb +1 -1
  13. data/app/views/promethee/components/image/_edit.define.html.erb +149 -13
  14. data/app/views/promethee/components/image/_edit.move.html.erb +13 -4
  15. data/app/views/promethee/components/image/_localize.html.erb +1 -1
  16. data/app/views/promethee/components/row/_edit.define.html.erb +151 -11
  17. data/app/views/promethee/components/row/_edit.move.html.erb +6 -3
  18. data/app/views/promethee/components/slider/_edit.define.html.erb +151 -11
  19. data/app/views/promethee/components/slider/_edit.move.html.erb +5 -3
  20. data/app/views/promethee/components/text/_edit.define.html.erb +150 -11
  21. data/app/views/promethee/components/text/_edit.move.html.erb +4 -1
  22. data/app/views/promethee/components/text/_localize.html.erb +1 -1
  23. data/app/views/promethee/components/video/_edit.define.html.erb +30 -11
  24. data/app/views/promethee/components/video/_edit.move.html.erb +30 -4
  25. data/app/views/promethee/edit/_move.close.html.erb +4 -0
  26. data/app/views/promethee/edit/_move.header.html.erb +7 -0
  27. data/app/views/promethee/edit/_move.html.erb +107 -15
  28. data/lib/promethee/rails/version.rb +1 -1
  29. metadata +5 -13
  30. data/app/assets/stylesheets/promethee-edit/_write.sass +0 -94
  31. data/app/views/promethee/components/aside/_edit.write.html.erb +0 -14
  32. data/app/views/promethee/components/column/_edit.write.html.erb +0 -17
  33. data/app/views/promethee/components/cover/_edit.write.html.erb +0 -23
  34. data/app/views/promethee/components/image/_edit.write.html.erb +0 -25
  35. data/app/views/promethee/components/row/_edit.write.html.erb +0 -34
  36. data/app/views/promethee/components/slider/_edit.write.html.erb +0 -47
  37. data/app/views/promethee/components/text/_edit.write.html.erb +0 -20
  38. data/app/views/promethee/components/video/_edit.write.html.erb +0 -39
  39. data/app/views/promethee/edit/_write.html.erb +0 -98
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9a70ffb1f45b6678af9d367859340a1309668ea
4
- data.tar.gz: cfc2d052e35851ced703473ee919d59a282d174b
3
+ metadata.gz: b56ae5a14593b422b0f502837a6c11dc012884ef
4
+ data.tar.gz: d36689d35a72cf4f8e61dc051851558b59af3fc9
5
5
  SHA512:
6
- metadata.gz: 9022e31d0450b34e060912409f4519654f2cb269a9873c6c0c3cf679c0265afb9d0ad4cfc569200dadde7c21a047b4bfafe36871b3c92e3e6afa999c77e2394e
7
- data.tar.gz: 36da951c3fa84f269ee671509fb01aa3c2bb959c2c7f819dc1cf2501d49ba9efddf4e23827b4445c965dea4738d73628f7a44cc6df030b5b28123616cbf42076
6
+ metadata.gz: ffc47a777ea67e4b0bf5a7abd356965f9d8080c37534907d1c32c300ddf3e325aa01a2cf34804ac3d5e3a65caaeb7179dfc5f87da6a488eec87ceda29369b3f0
7
+ data.tar.gz: a3197b9c368d97b032faa1e5421a2f78683424b99962838f77ec796434121f0d501faf8a268c01dfe4c1aa72b49b42f185e27430a04ac2b3fd0a10d80c52896a
@@ -3,7 +3,6 @@ $promethee-transparent-grey: transparentize($promethee-grey, .8)
3
3
  $promethee-light-grey: #eee
4
4
  $promethee-color: #ff9900 !default
5
5
 
6
- @import 'promethee-edit/write'
7
6
  @import 'promethee-edit/move'
8
7
  @import 'promethee-edit/preview'
9
8
 
@@ -18,9 +17,9 @@ $promethee-color: #ff9900 !default
18
17
  height: $real-height
19
18
  overflow: hidden
20
19
  position: relative
21
- display: inline-block
20
+ text-align: center
22
21
 
23
- &, &::after, &__button, &__thumb-preview
22
+ &, &::after, &__logo, &__button, &__thumb-preview
24
23
  cursor: pointer
25
24
 
26
25
  &::after
@@ -29,20 +28,20 @@ $promethee-color: #ff9900 !default
29
28
  height: 100%
30
29
  top: 0
31
30
  left: 0
32
- border: 2px solid #253742
31
+ border: 1px solid #253742
33
32
  box-sizing: border-box
34
33
  position: absolute
35
34
  display: block
36
35
 
37
- &__button
38
- background: #253742
39
- padding: 10px
40
- margin-bottom: 5px
41
- display: block
42
- text-align: center
43
- color: #fff
36
+ &__logo
37
+ padding: 20px
38
+ svg
39
+ width: 50px
40
+ height: 50px
44
41
 
45
42
  &__thumb-preview
43
+ margin-top: 20px
44
+ background: #eee
46
45
  width: $rendered-width
47
46
  height: $rendered-height
48
47
  border: none
@@ -60,14 +59,6 @@ $promethee-color: #ff9900 !default
60
59
  padding-top: 50px
61
60
  z-index: 10000
62
61
  overflow: auto
63
- .promethee-edit__write
64
- padding-right: 300px
65
- padding-top: 15px
66
- .promethee-edit__inspect
67
- top: 65px
68
-
69
- &--closed
70
- display: none
71
62
 
72
63
  &__navbar
73
64
  background: #232323
@@ -91,31 +82,6 @@ $promethee-color: #ff9900 !default
91
82
  svg path
92
83
  fill: white
93
84
 
94
- &__button
95
- background: white
96
- padding: 10px 15px
97
- box-sizing: border-box
98
- display: inline-block
99
- font-size: 12px
100
- color: #253742
101
- text-align: center
102
- line-height: normal
103
- border-radius: 20px
104
- cursor: pointer
105
-
106
- &--squared
107
- min-width: 20px
108
- height: 20px
109
- padding: 0 0 0 1px
110
- line-height: 20px
111
-
112
- &--bordered
113
- border: 1px solid #253742
114
-
115
- &--bordered#{&}--squared
116
- min-width: 22px
117
- height: 22px
118
-
119
85
  &__wrapper
120
86
  padding: 10px
121
87
 
@@ -1,40 +1,62 @@
1
1
  .promethee-edit__move
2
2
  width: 720px
3
3
  margin: 0 auto
4
- padding-bottom: 200px
5
- *
4
+ .promethee-edit__component
6
5
  font-size: 100%
7
6
  line-height: 100%
8
- margin: 0
7
+ &__inner
8
+ min-height: 50px
9
+ position: relative
10
+ border: 1px solid #ccc
11
+ &--selected
12
+ > .promethee-edit__component__inner
13
+ border-color: black
14
+ > .header
15
+ background: black
16
+ color: white
17
+ &__close
18
+ position: absolute
19
+ top: 4px
20
+ right: 4px
21
+ padding: 1px 2px 1px 3px
22
+ background: white
23
+ font-size: 12px
24
+ line-height: 12px
25
+ z-index: 1
9
26
  &__columns
10
- user-select: none
11
- height: 100%
12
- position: absolute
13
- width: 730px
14
- z-index: 0
15
- opacity: 0.03
16
- .col
17
- height: 100%
18
- .color
19
- height: 100%
20
- background: black
27
+ .row
28
+ user-select: none
29
+ height: 100%
30
+ min-height: 50px
31
+ position: fixed
32
+ top: 0
33
+ bottom: 0
34
+ width: 730px
35
+ z-index: 0
36
+ opacity: 0.03
37
+ .col
38
+ height: 100%
39
+ .color
40
+ height: 100%
41
+ background: black
21
42
  &__page
22
43
  z-index: 1
44
+ &__columns, &__page
45
+ .row
46
+ margin-left: -5px
47
+ margin-right: -5px
48
+ .col
49
+ padding-left: 5px
50
+ padding-right: 5px
23
51
  .header
24
- background: #253742
25
- padding: 5px 5px
52
+ background: #ccc
53
+ padding: 4px 5px 5px
26
54
  font-size: 8px
27
55
  color: white
28
56
  text-transform: uppercase
29
57
  margin-bottom: 5px
30
58
  &__component
31
59
  user-select: none
32
- .row
33
- margin-left: -5px
34
- margin-right: -5px
35
- .col
36
- padding-left: 5px
37
- padding-right: 5px
38
60
  &__droppable
39
61
  visibility: hidden
40
62
  opacity: .2
@@ -73,30 +95,6 @@
73
95
  right: -5px
74
96
  top: -10px
75
97
 
76
- // All this is done to mask droppable that would put the draggable at the same position
77
- // &--hidden
78
- // visibility: hidden
79
- // pointer-events: none
80
- // &--row
81
- // &:not(&--first)
82
- // visibility: hidden
83
- // pointer-events: none
84
-
85
- // &--first
86
- // position: absolute
87
- // top: 0
88
- // left: -25px
89
- // width: 40px
90
- // height: 400px
91
-
92
- // &--inside-column
93
- // position: absolute
94
- // top: 0
95
- // right: -25px
96
- // width: 40px
97
- // height: 400px
98
-
99
-
100
98
  .ui-draggable-dragging
101
99
  z-index: 1000
102
100
  opacity: 0.5
@@ -118,4 +116,55 @@
118
116
  &.promethee-edit__move__droppable--row--first
119
117
  display: block
120
118
 
119
+ .promethee-edit__inspect
120
+ background: white
121
+ position: fixed
122
+ width: calc(50vw - 420px)
123
+ min-width: 100px
124
+ top: 80px
125
+ right: 30px
126
+ bottom: 15px
127
+ z-index: 1000
128
+ &-header
129
+ font-size: 18px
130
+ font-weight: bold
131
+ text-transform: uppercase
132
+ margin-bottom: 20px
133
+ &-content
134
+ overflow: scroll
121
135
 
136
+ .promethee-edit__library
137
+ background: white
138
+ position: fixed
139
+ width: calc(50vw - 420px)
140
+ min-width: 100px
141
+ top: 80px
142
+ left: 30px
143
+ bottom: 15px
144
+ z-index: 1000
145
+ &-header
146
+ font-size: 18px
147
+ font-weight: bold
148
+ text-transform: uppercase
149
+ margin-bottom: 20px
150
+ &-content
151
+ overflow: scroll
152
+ &__item
153
+ max-width: 300px
154
+ z-index: 100000
155
+ background-color: #253742
156
+ margin-bottom: 30px
157
+ height: 100px
158
+ min-width: 100px
159
+ padding-top: 10px
160
+ text-align: center
161
+ color: white
162
+ &__icon
163
+ display: block
164
+ svg
165
+ width: 60px
166
+ &__name
167
+ margin-top: -10px
168
+ font-size: 11px
169
+ font-weight: normal
170
+ text-transform: uppercase
@@ -1,5 +1,6 @@
1
1
  <%
2
2
  promethee_data = Promethee::Data.new master_data
3
+ logo = File.read "#{__dir__}/../../assets/images/icon-promethee.svg"
3
4
  %>
4
5
 
5
6
  <script type="text/javascript">
@@ -27,11 +28,12 @@ promethee.controller('PrometheeController', ['$scope', 'summernoteConfig', funct
27
28
 
28
29
  $scope.promethee = {
29
30
  data: $scope.data,
31
+ definitions: [],
30
32
  inspected: null,
31
- mode: 'write',
32
- //mode: 'move',
33
+ mode: 'move',
33
34
  preview: 'desktop',
34
35
  fullscreen: false
36
+ // fullscreen: true
35
37
  };
36
38
 
37
39
  $scope.inspect = function(component, event) {
@@ -79,42 +81,43 @@ promethee.controller('PrometheeController', ['$scope', 'summernoteConfig', funct
79
81
  }]);
80
82
  </script>
81
83
 
82
- <div
83
- id="promethee"
84
- ng-app="Promethee"
85
- ng-controller="PrometheeController as prometheeController"
86
- >
84
+ <div id="promethee"
85
+ ng-app="Promethee"
86
+ ng-controller="PrometheeController as prometheeController"
87
+ ng-init="component = promethee.data">
87
88
 
88
- <div class="promethee-open" ng-click="opened = true">
89
- <span class="promethee-open__button">Open Prométhée Editor</span>
90
- <iframe class="promethee-open__thumb-preview" id="thumb-preview"></iframe>
89
+ <div class="promethee-open" ng-click="promethee.fullscreen = true">
90
+ <div class="promethee-open__logo"><%= logo.html_safe %></div>
91
+ <div>Click to edit page</div>
92
+ <iframe class="promethee-open__thumb-preview" id="thumb-preview" name="thumb-preview"></iframe>
91
93
  </div>
92
94
 
93
- <div class="promethee-edit" ng-class="{'promethee-edit--closed': !opened}">
95
+ <div class="promethee-edit" ng-show="promethee.fullscreen">
94
96
  <input type="hidden" name="page[data]" id="page_data" value="{{promethee.data}}" />
95
97
  <nav class="navbar navbar-default promethee-edit__navbar" ng-class="{'navbar-fixed-top': promethee.fullscreen }">
96
98
  <div class="container-fluid">
97
99
  <div class="navbar-header promethee-edit__icon">
98
- <div class="navbar-brand"><%= File.read(__dir__ + '/../../assets/images/icon-promethee.svg').html_safe %></div>
100
+ <div class="navbar-brand"><%= logo.html_safe %></div>
99
101
  </div>
100
102
  <div id="navbar">
101
103
  <ul class="nav navbar-nav navbar-right">
102
- <li ng-click="promethee.mode = 'write'" ng-class="{active: promethee.mode == 'write'}"><a><%= fa_icon :pencil %></a></li>
103
- <li ng-click="promethee.mode = 'move'" ng-class="{active: promethee.mode == 'move'}"><a><%= fa_icon :arrows %></a></li>
104
+ <li ng-click="promethee.mode = 'move'" ng-class="{active: promethee.mode == 'move'}"><a><%= fa_icon :pencil %></a></li>
104
105
  <li ng-click="enablePreview()" ng-class="{active: promethee.mode == 'preview'}">
105
106
  <a data-toggle="dropdown"><%= fa_icon :eye %></a>
106
107
  <ul class="dropdown-menu" ng-show="promethee.mode == 'preview'">
107
- <li ng-click="promethee.preview = 'desktop'" ng-class="{active: promethee.preview == 'desktop'}"><a><i class="fa fa-desktop"></i></a></li>
108
- <li ng-click="promethee.preview = 'tablet'" ng-class="{active: promethee.preview == 'tablet'}"><a><i class="fa fa-tablet"></i></a></li>
109
- <li ng-click="promethee.preview = 'mobile'" ng-class="{active: promethee.preview == 'mobile'}"><a><i class="fa fa-mobile"></i></a></li>
108
+ <li ng-click="promethee.preview = 'desktop'"
109
+ ng-class="{active: promethee.preview == 'desktop'}">
110
+ <a><i class="fa fa-desktop"></i></a></li>
111
+ <li ng-click="promethee.preview = 'tablet'"
112
+ ng-class="{active: promethee.preview == 'tablet'}">
113
+ <a><i class="fa fa-tablet"></i></a></li>
114
+ <li ng-click="promethee.preview = 'mobile'"
115
+ ng-class="{active: promethee.preview == 'mobile'}">
116
+ <a><i class="fa fa-mobile"></i></a></li>
110
117
  </ul>
111
118
  </li>
112
- <li ng-click="submit()">
113
- <a><%= fa_icon :save %></a>
114
- </li>
115
- <li ng-click="opened = false">
116
- <a><%= fa_icon :close %></a>
117
- </li>
119
+ <li ng-click="submit()"><a><%= fa_icon :save %></a></li>
120
+ <li ng-click="promethee.fullscreen = false"><a><%= fa_icon :close %></a></li>
118
121
  </ul>
119
122
  </div>
120
123
  </div>
@@ -124,7 +127,6 @@ promethee.controller('PrometheeController', ['$scope', 'summernoteConfig', funct
124
127
  <%= render partial %>
125
128
  <% end %>
126
129
 
127
- <%= render 'promethee/edit/write' %>
128
130
  <%= render 'promethee/edit/move' %>
129
131
  <%= render 'promethee/edit/preview' %>
130
132
  </div>
@@ -1,11 +1,152 @@
1
- <script>
2
- angular.injector(['ng', 'Promethee']).get('definitions').push({
3
- name: 'Aside',
4
- thumb: 'http://via.placeholder.com/300x200',
5
- data: {
6
- type: 'aside',
7
- attributes: {},
8
- children: []
9
- }
10
- });
11
- </script>
1
+ <%
2
+ icon = '
3
+ <?xml version="1.0" encoding="utf-8"?>
4
+ <!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
5
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
6
+ viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
7
+ <g id="Calque_10" display="none">
8
+ <rect x="-1.5" y="-1.5" display="inline" fill="#76868E" width="103" height="103"/>
9
+ </g>
10
+ <g id="Calque_2" display="none">
11
+ <rect x="18.9" y="28" display="inline" fill="none" stroke="#253742" stroke-miterlimit="10" width="62.1" height="44"/>
12
+ <g display="inline">
13
+ <path fill="#253742" d="M84.5,25v50h-69V25H84.5 M86.5,23h-73v54h73V23L86.5,23z"/>
14
+ </g>
15
+ <g display="inline">
16
+ <polygon fill="#253742" points="47.2,44.6 47.2,55.4 56.3,50 "/>
17
+ <g>
18
+ <path fill="#253742" d="M50,41.6c4.6,0,8.4,3.8,8.4,8.4s-3.8,8.4-8.4,8.4s-8.4-3.8-8.4-8.4S45.4,41.6,50,41.6 M50,40.6
19
+ c-5.2,0-9.4,4.2-9.4,9.4s4.2,9.4,9.4,9.4c5.2,0,9.4-4.2,9.4-9.4S55.2,40.6,50,40.6L50,40.6z"/>
20
+ </g>
21
+ </g>
22
+ </g>
23
+ <g id="Calque_3">
24
+ <g>
25
+ <g>
26
+ <path fill="#FFFFFF" d="M71.4,25v50H28.6V25H71.4 M73.4,23H26.6v54h46.9V23L73.4,23z"/>
27
+ </g>
28
+ <g>
29
+ <g>
30
+ <circle fill="#FFFFFF" cx="37.8" cy="36.5" r="2"/>
31
+ <line fill="none" stroke="#FFFFFF" stroke-miterlimit="10" x1="43.3" y1="36.5" x2="64.3" y2="36.5"/>
32
+ </g>
33
+ <g>
34
+ <circle fill="#FFFFFF" cx="37.8" cy="45.5" r="2"/>
35
+ <line fill="none" stroke="#FFFFFF" stroke-miterlimit="10" x1="43.3" y1="45.5" x2="64.3" y2="45.5"/>
36
+ </g>
37
+ <g>
38
+ <circle fill="#FFFFFF" cx="37.8" cy="54.5" r="2"/>
39
+ <line fill="none" stroke="#FFFFFF" stroke-miterlimit="10" x1="43.3" y1="54.5" x2="64.3" y2="54.5"/>
40
+ </g>
41
+ <g>
42
+ <circle fill="#FFFFFF" cx="37.8" cy="63.5" r="2"/>
43
+ <line fill="none" stroke="#FFFFFF" stroke-miterlimit="10" x1="43.3" y1="63.5" x2="64.3" y2="63.5"/>
44
+ </g>
45
+ </g>
46
+ </g>
47
+ </g>
48
+ <g id="Calque_4" display="none">
49
+ <g display="inline">
50
+ <path fill="#253742" d="M63.9,20.3l10.5,11.8v47.7H25.7V20.3H63.9 M64.8,18.3H23.7v63.4h52.7V31.3L64.8,18.3L64.8,18.3z"/>
51
+ </g>
52
+ <g display="inline">
53
+ <path fill="#253742" d="M67.9,24.3l2.4,2.4v49H29.7V24.3H67.9 M68.3,23.3H28.7v53.4h42.7V26.3L68.3,23.3L68.3,23.3z"/>
54
+ </g>
55
+ <polyline display="inline" fill="none" stroke="#253742" stroke-width="2" stroke-miterlimit="10" points="76.3,81.7 23.7,81.7
56
+ 23.7,18.3 "/>
57
+ <g display="inline">
58
+ <polygon fill="#FFFFFF" points="64.3,30.3 64.3,20.7 73.9,30.3 "/>
59
+ <path fill="#253742" d="M65.3,23.1l6.2,6.2h-6.2V23.1 M63.3,18.3v13h13L63.3,18.3L63.3,18.3z"/>
60
+ </g>
61
+ <g display="inline">
62
+ <g>
63
+ <path fill="#253742" d="M39.3,30.3L39.3,30.3c0.6,0,1.1,0.1,1.6,0.3c1,0.4,1.7,1.2,2.1,2.2c0.4,1,0.4,2.1-0.1,3.1
64
+ c-0.6,1.4-2.1,2.4-3.7,2.4c-0.6,0-1.1-0.1-1.6-0.3c-2-0.9-2.9-3.3-2-5.3C36.3,31.2,37.8,30.3,39.3,30.3 M39.3,29.3
65
+ c-1.9,0-3.7,1.1-4.6,3c-1.1,2.5,0,5.5,2.5,6.6c0.7,0.3,1.4,0.4,2,0.4c1.9,0,3.7-1.1,4.6-3c1.1-2.5,0-5.5-2.5-6.6
66
+ C40.7,29.4,40,29.3,39.3,29.3L39.3,29.3z"/>
67
+ </g>
68
+ </g>
69
+ <g display="inline">
70
+ <path fill="#253742" d="M40.7,46.6L48,60.3l0.5,1l0.9-0.6L59.7,54l10.6,9.7v12.5L30,75.7l-0.1-16.5L40.7,46.6 M40.8,44.8l-12,14
71
+ L29,76.7l42.4,0.6v-14L59.8,52.8l-11,7L40.8,44.8L40.8,44.8z"/>
72
+ </g>
73
+ </g>
74
+ <g id="Calque_5" display="none">
75
+ </g>
76
+ <g id="Calque_6" display="none">
77
+ <g display="inline">
78
+ <path fill="#FFFFFF" d="M38.8,40.8c0-1.6-0.1-3.3-0.3-5.2c2.3,0.1,6.1,0.1,11.5,0.1c5.4,0,9.2,0,11.4-0.1
79
+ c-0.2,1.9-0.3,3.7-0.3,5.2c0,1.4,0,2.5,0.1,3.3h-0.9c-0.2-2.1-0.5-3.7-0.8-4.7c-0.3-1-0.9-1.8-1.7-2.2c-0.8-0.5-2.1-0.7-3.7-0.7
80
+ h-2.2v23.2c0,1.1,0.1,2,0.3,2.5c0.2,0.5,0.6,0.9,1.2,1.1c0.6,0.2,1.4,0.3,2.6,0.4v0.8c-1.4-0.1-3.4-0.1-6-0.1c-2.7,0-4.7,0-6,0.1
81
+ v-0.8c1.2,0,2.1-0.2,2.6-0.4c0.6-0.2,0.9-0.6,1.2-1.1c0.2-0.5,0.3-1.3,0.3-2.5V36.5h-2.2c-1.7,0-2.9,0.2-3.7,0.7
82
+ c-0.8,0.5-1.4,1.2-1.7,2.2c-0.3,1-0.6,2.6-0.8,4.7h-0.9C38.8,43.3,38.8,42.2,38.8,40.8z"/>
83
+ </g>
84
+ <polygon display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="63.5,23 26.6,23 26.6,77
85
+ 73.4,77 73.4,32.4 "/>
86
+ <polyline display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="62.5,23 62.5,32.4
87
+ 72.4,32.4 "/>
88
+ </g>
89
+ <g id="Calque_7" display="none">
90
+ <g display="inline">
91
+ <path fill="#FFFFFF" d="M84,34v32H16V34H84 M86,32H14v36h72V32L86,32z"/>
92
+ </g>
93
+ <g display="inline">
94
+ <g>
95
+ <path fill="#FFFFFF" d="M27.8,38.7L27.8,38.7c0.6,0,1.1,0.1,1.6,0.3c1,0.4,1.7,1.2,2.1,2.2c0.4,1,0.4,2.1-0.1,3.1
96
+ c-0.6,1.4-2.1,2.4-3.7,2.4c-0.6,0-1.1-0.1-1.6-0.3c-2-0.9-2.9-3.3-2-5.3C24.8,39.6,26.2,38.7,27.8,38.7 M27.8,37.7
97
+ c-1.9,0-3.8,1.1-4.6,3c-1.1,2.5,0,5.5,2.5,6.6c0.7,0.3,1.4,0.4,2,0.4c1.9,0,3.8-1.1,4.6-3c1.1-2.5,0-5.5-2.5-6.6
98
+ C29.2,37.9,28.5,37.7,27.8,37.7L27.8,37.7z"/>
99
+ </g>
100
+ </g>
101
+ <polyline display="inline" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="81.2,57 62.1,51.3 49,54.8 39.5,47.3
102
+ 19.2,55 "/>
103
+ <path display="inline" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M75.8,65.3"/>
104
+ <path display="inline" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M25.4,65"/>
105
+ <g display="inline">
106
+ <path fill="#FFFFFF" d="M80.7,36.5v27H19.3v-27H80.7 M81.7,35.5H18.3v29h63.3V35.5L81.7,35.5z"/>
107
+ </g>
108
+ </g>
109
+ <g id="Calque_8" display="none">
110
+ <g display="inline">
111
+ <path fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M76.5,65.4"/>
112
+ <rect x="29.3" y="35.3" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="41.6" height="29.5"/>
113
+ <g>
114
+ <path fill="#FFFFFF" d="M72.5,33.9v32.2H27.6V33.9H72.5 M74.5,31.9H25.6v36.2h48.9V31.9L74.5,31.9z"/>
115
+ </g>
116
+ <polyline fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="76.5,36.6 90.5,36.6 90.5,63.4
117
+ 76.5,63.4 "/>
118
+ <polyline fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="23.5,63.4 9.5,63.4 9.5,36.6 23.5,36.6
119
+ "/>
120
+ </g>
121
+ </g>
122
+ <g id="Calque_9" display="none">
123
+ <g display="inline">
124
+ <g>
125
+ <g>
126
+ <path fill="#FFFFFF" d="M84.5,16.5v67h-69v-67H84.5 M86.5,14.5h-73v71h73V14.5L86.5,14.5z"/>
127
+ </g>
128
+ <line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="86.5" y1="31.5" x2="13.5" y2="31.5"/>
129
+ <line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="23.5" y1="23.5" x2="30.5" y2="23.5"/>
130
+ <line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="36.5" y1="23.5" x2="77.5" y2="23.5"/>
131
+ </g>
132
+ <g>
133
+ <rect x="18.8" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
134
+ <rect x="34.9" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
135
+ <rect x="51.1" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
136
+ <rect x="67.2" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
137
+ </g>
138
+ </g>
139
+ </g>
140
+ </svg>
141
+
142
+ '
143
+ %>
144
+ <div ng-init="promethee.definitions.push({
145
+ name: 'Aside',
146
+ icon: '<%= icon %>',
147
+ data: {
148
+ type: 'aside',
149
+ attributes: {},
150
+ children: []
151
+ }
152
+ })"></div>