promethee 1.2.31 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/promethee-edit.sass +10 -44
- data/app/assets/stylesheets/promethee-edit/_move.sass +95 -46
- data/app/views/promethee/_edit.html.erb +26 -24
- data/app/views/promethee/components/aside/_edit.define.html.erb +152 -11
- data/app/views/promethee/components/aside/_edit.move.html.erb +11 -12
- data/app/views/promethee/components/column/_edit.define.html.erb +32 -0
- data/app/views/promethee/components/column/_edit.inspect.html.erb +5 -4
- data/app/views/promethee/components/column/_edit.move.html.erb +21 -11
- data/app/views/promethee/components/cover/_edit.define.html.erb +151 -12
- data/app/views/promethee/components/cover/_edit.move.html.erb +7 -4
- data/app/views/promethee/components/cover/_localize.html.erb +1 -1
- data/app/views/promethee/components/image/_edit.define.html.erb +149 -13
- data/app/views/promethee/components/image/_edit.move.html.erb +13 -4
- data/app/views/promethee/components/image/_localize.html.erb +1 -1
- data/app/views/promethee/components/row/_edit.define.html.erb +151 -11
- data/app/views/promethee/components/row/_edit.move.html.erb +6 -3
- data/app/views/promethee/components/slider/_edit.define.html.erb +151 -11
- data/app/views/promethee/components/slider/_edit.move.html.erb +5 -3
- data/app/views/promethee/components/text/_edit.define.html.erb +150 -11
- data/app/views/promethee/components/text/_edit.move.html.erb +4 -1
- data/app/views/promethee/components/text/_localize.html.erb +1 -1
- data/app/views/promethee/components/video/_edit.define.html.erb +30 -11
- data/app/views/promethee/components/video/_edit.move.html.erb +30 -4
- data/app/views/promethee/edit/_move.close.html.erb +4 -0
- data/app/views/promethee/edit/_move.header.html.erb +7 -0
- data/app/views/promethee/edit/_move.html.erb +107 -15
- data/lib/promethee/rails/version.rb +1 -1
- metadata +5 -13
- data/app/assets/stylesheets/promethee-edit/_write.sass +0 -94
- data/app/views/promethee/components/aside/_edit.write.html.erb +0 -14
- data/app/views/promethee/components/column/_edit.write.html.erb +0 -17
- data/app/views/promethee/components/cover/_edit.write.html.erb +0 -23
- data/app/views/promethee/components/image/_edit.write.html.erb +0 -25
- data/app/views/promethee/components/row/_edit.write.html.erb +0 -34
- data/app/views/promethee/components/slider/_edit.write.html.erb +0 -47
- data/app/views/promethee/components/text/_edit.write.html.erb +0 -20
- data/app/views/promethee/components/video/_edit.write.html.erb +0 -39
- data/app/views/promethee/edit/_write.html.erb +0 -98
@@ -1,15 +1,14 @@
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/aside/edit/move">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
>
|
2
|
+
<%= render 'promethee/edit/move.header', type: 'aside' %>
|
3
|
+
<ng-include src="'promethee/move/components'"></ng-include>
|
4
|
+
<div
|
5
|
+
class=" promethee-edit__move__droppable
|
6
|
+
promethee-edit__move__droppable--row"
|
7
|
+
droppable
|
8
|
+
data-index="{{$index+1}}"
|
9
|
+
data-type="{{type}}"
|
10
|
+
>
|
11
|
+
</div>
|
13
12
|
</div>
|
14
|
-
</
|
13
|
+
</div>
|
15
14
|
</script>
|
@@ -0,0 +1,32 @@
|
|
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" id="Calque_2" 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
|
+
<rect x="18.9" y="28" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="62.1" height="44"/>
|
8
|
+
<g>
|
9
|
+
<path fill="#FFFFFF" d="M84.5,25v50h-69V25H84.5 M86.5,23h-73v54h73V23L86.5,23z"/>
|
10
|
+
</g>
|
11
|
+
<g>
|
12
|
+
<polygon fill="#FFFFFF" points="47.2,44.6 47.2,55.4 56.3,50 "/>
|
13
|
+
<g>
|
14
|
+
<path fill="#FFFFFF" 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
|
15
|
+
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"/>
|
16
|
+
</g>
|
17
|
+
</g>
|
18
|
+
</svg>
|
19
|
+
'
|
20
|
+
%>
|
21
|
+
<div ng-init="promethee.definitions.push({
|
22
|
+
name: 'Column',
|
23
|
+
icon: '<%= icon %>',
|
24
|
+
data: {
|
25
|
+
type: 'column',
|
26
|
+
attributes: {
|
27
|
+
size: 4,
|
28
|
+
offset: 0
|
29
|
+
},
|
30
|
+
children: []
|
31
|
+
}
|
32
|
+
})"></div>
|
@@ -1,10 +1,11 @@
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/column/edit/inspect">
|
2
|
+
<b>Desktop</b>
|
2
3
|
<div class="form-group">
|
3
|
-
<label class="label-control">Size</label>
|
4
|
-
<input ng-model="promethee.inspected.attributes.size"
|
4
|
+
<label class="label-control">Size: {{promethee.inspected.attributes.size}}</label>
|
5
|
+
<input ng-model="promethee.inspected.attributes.size" type="range" min="1" max="12">
|
5
6
|
</div>
|
6
7
|
<div class="form-group">
|
7
|
-
<label class="label-control">Offset</label>
|
8
|
-
<input ng-model="promethee.inspected.attributes.offset"
|
8
|
+
<label class="label-control">Offset: {{promethee.inspected.attributes.offset}}</label>
|
9
|
+
<input ng-model="promethee.inspected.attributes.offset" type="range" min="0" max="{{12-promethee.inspected.attributes.size}}">
|
9
10
|
</div>
|
10
11
|
</script>
|
@@ -1,15 +1,25 @@
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/column/edit/move">
|
2
|
-
<div
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<div ng-click="inspect(component, $event)"
|
3
|
+
ng-class="{'promethee-edit__component--selected': promethee.inspected === component}"
|
4
|
+
class=" promethee-edit__component
|
5
|
+
promethee-edit__component--column
|
6
|
+
col
|
7
|
+
col-md-{{component.attributes.size}}
|
8
|
+
col-md-offset-{{component.attributes.offset}}">
|
9
|
+
<div class="promethee-edit__component__inner">
|
10
|
+
<%= render 'promethee/edit/move.close' %>
|
11
|
+
<div class="header">Column</div>
|
12
|
+
<ng-include src="'promethee/move/components'"></ng-include>
|
13
|
+
<div
|
14
|
+
class=" promethee-edit__move__droppable
|
15
|
+
promethee-edit__move__droppable--row
|
16
|
+
promethee-edit__move__droppable--row--inside-column"
|
17
|
+
droppable
|
18
|
+
data-index="{{$index+1}}"
|
19
|
+
data-type="{{type}}"
|
20
|
+
>
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</div>
|
14
24
|
</div>
|
15
25
|
</script>
|
@@ -1,13 +1,152 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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" display="none">
|
24
|
+
<g display="inline">
|
25
|
+
<g>
|
26
|
+
<path fill="#253742" d="M71.4,25v50H28.6V25H71.4 M73.4,23H26.6v54h46.9V23L73.4,23z"/>
|
27
|
+
</g>
|
28
|
+
<g>
|
29
|
+
<g>
|
30
|
+
<circle fill="#253742" cx="37.8" cy="36.5" r="2"/>
|
31
|
+
<line fill="none" stroke="#253742" stroke-miterlimit="10" x1="43.3" y1="36.5" x2="64.3" y2="36.5"/>
|
32
|
+
</g>
|
33
|
+
<g>
|
34
|
+
<circle fill="#253742" cx="37.8" cy="45.5" r="2"/>
|
35
|
+
<line fill="none" stroke="#253742" stroke-miterlimit="10" x1="43.3" y1="45.5" x2="64.3" y2="45.5"/>
|
36
|
+
</g>
|
37
|
+
<g>
|
38
|
+
<circle fill="#253742" cx="37.8" cy="54.5" r="2"/>
|
39
|
+
<line fill="none" stroke="#253742" stroke-miterlimit="10" x1="43.3" y1="54.5" x2="64.3" y2="54.5"/>
|
40
|
+
</g>
|
41
|
+
<g>
|
42
|
+
<circle fill="#253742" cx="37.8" cy="63.5" r="2"/>
|
43
|
+
<line fill="none" stroke="#253742" 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="#253742" 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="#253742" 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="#253742" 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">
|
90
|
+
<g>
|
91
|
+
<path fill="#FFFFFF" d="M84,34v32H16V34H84 M86,32H14v36h72V32L86,32z"/>
|
92
|
+
</g>
|
93
|
+
<g>
|
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 fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="81.2,57 62.1,51.3 49,54.8 39.5,47.3 19.2,55 "/>
|
102
|
+
<path fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M75.8,65.3"/>
|
103
|
+
<path fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M25.4,65"/>
|
104
|
+
<g>
|
105
|
+
<path fill="#FFFFFF" d="M80.7,36.5v27H19.3v-27H80.7 M81.7,35.5H18.3v29h63.3V35.5L81.7,35.5z"/>
|
106
|
+
</g>
|
107
|
+
</g>
|
108
|
+
<g id="Calque_8" display="none">
|
109
|
+
<g display="inline">
|
110
|
+
<path fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M76.5,65.4"/>
|
111
|
+
<rect x="29.3" y="35.3" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="41.6" height="29.5"/>
|
112
|
+
<g>
|
113
|
+
<path fill="#FFFFFF" d="M72.5,33.9v32.2H27.6V33.9H72.5 M74.5,31.9H25.6v36.2h48.9V31.9L74.5,31.9z"/>
|
114
|
+
</g>
|
115
|
+
<polyline fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="76.5,36.6 90.5,36.6 90.5,63.4
|
116
|
+
76.5,63.4 "/>
|
117
|
+
<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
|
118
|
+
"/>
|
119
|
+
</g>
|
120
|
+
</g>
|
121
|
+
<g id="Calque_9" display="none">
|
122
|
+
<g display="inline">
|
123
|
+
<g>
|
124
|
+
<g>
|
125
|
+
<path fill="#FFFFFF" d="M84.5,16.5v67h-69v-67H84.5 M86.5,14.5h-73v71h73V14.5L86.5,14.5z"/>
|
126
|
+
</g>
|
127
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="86.5" y1="31.5" x2="13.5" y2="31.5"/>
|
128
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="23.5" y1="23.5" x2="30.5" y2="23.5"/>
|
129
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="36.5" y1="23.5" x2="77.5" y2="23.5"/>
|
130
|
+
</g>
|
131
|
+
<g>
|
132
|
+
<rect x="18.8" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
133
|
+
<rect x="34.9" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
134
|
+
<rect x="51.1" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
135
|
+
<rect x="67.2" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
136
|
+
</g>
|
137
|
+
</g>
|
138
|
+
</g>
|
139
|
+
</svg>
|
140
|
+
'
|
141
|
+
%>
|
142
|
+
<div ng-init="promethee.definitions.push({
|
143
|
+
name: 'Cover',
|
144
|
+
icon: '<%= icon %>',
|
145
|
+
data: {
|
146
|
+
type: 'cover',
|
147
|
+
attributes: {
|
148
|
+
src: 'https://picsum.photos/1920/1080/?random',
|
149
|
+
body: ''
|
11
150
|
}
|
12
|
-
}
|
13
|
-
|
151
|
+
}
|
152
|
+
})"></div>
|
@@ -1,7 +1,10 @@
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/cover/edit/move">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
<%= render 'promethee/edit/move.header', type: 'cover' %>
|
3
|
+
<div class=" promethee-edit__wrapper
|
4
|
+
promethee-edit__cover-content"
|
5
|
+
ng-bind-html="component.attributes.body | htmlSafe"
|
6
|
+
style="background-image: url('{{component.attributes.src}}')">
|
7
|
+
</div>
|
8
|
+
</div>
|
6
9
|
</div>
|
7
10
|
</script>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="row">
|
3
3
|
<div class="col-md-6">
|
4
4
|
<b>Local</b>
|
5
|
-
<summernote config="
|
5
|
+
<summernote config="options" ng-model="component.attributes.body"></summernote>
|
6
6
|
</div>
|
7
7
|
<div class="col-md-6">
|
8
8
|
<b>Master</b>
|
@@ -1,14 +1,150 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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" display="none">
|
24
|
+
<g display="inline">
|
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">
|
49
|
+
<g>
|
50
|
+
<path fill="#FFFFFF" 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
|
+
<polyline fill="none" stroke="#FFFFFF" stroke-miterlimit="10" points="71.3,31 71.3,76.7 28.7,76.7 28.7,23.3 63.9,23.3 "/>
|
53
|
+
<polyline fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="76.3,81.7 23.7,81.7 23.7,18.3 "/>
|
54
|
+
<g>
|
55
|
+
<path fill="#FFFFFF" d="M65.3,23.1l6.2,6.2h-6.2V23.1 M63.3,18.3v13h13L63.3,18.3L63.3,18.3z"/>
|
56
|
+
</g>
|
57
|
+
<g>
|
58
|
+
<g>
|
59
|
+
<path fill="#FFFFFF" 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
|
60
|
+
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
|
61
|
+
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
|
62
|
+
C40.7,29.4,40,29.3,39.3,29.3L39.3,29.3z"/>
|
63
|
+
</g>
|
64
|
+
</g>
|
65
|
+
<g>
|
66
|
+
<path fill="#FFFFFF" 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
|
67
|
+
L29,76.7l42.4,0.6v-14L59.8,52.8l-11,7L40.8,44.8L40.8,44.8z"/>
|
68
|
+
</g>
|
69
|
+
</g>
|
70
|
+
<g id="Calque_5" display="none">
|
71
|
+
</g>
|
72
|
+
<g id="Calque_6" display="none">
|
73
|
+
<g display="inline">
|
74
|
+
<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
|
75
|
+
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
|
76
|
+
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
|
77
|
+
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
|
78
|
+
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"/>
|
79
|
+
</g>
|
80
|
+
<polygon display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="63.5,23 26.6,23 26.6,77
|
81
|
+
73.4,77 73.4,32.4 "/>
|
82
|
+
<polyline display="inline" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="62.5,23 62.5,32.4
|
83
|
+
72.4,32.4 "/>
|
84
|
+
</g>
|
85
|
+
<g id="Calque_7" display="none">
|
86
|
+
<g display="inline">
|
87
|
+
<path fill="#FFFFFF" d="M84,34v32H16V34H84 M86,32H14v36h72V32L86,32z"/>
|
88
|
+
</g>
|
89
|
+
<g display="inline">
|
90
|
+
<g>
|
91
|
+
<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
|
92
|
+
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
|
93
|
+
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
|
94
|
+
C29.2,37.9,28.5,37.7,27.8,37.7L27.8,37.7z"/>
|
95
|
+
</g>
|
96
|
+
</g>
|
97
|
+
<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
|
98
|
+
19.2,55 "/>
|
99
|
+
<path display="inline" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M75.8,65.3"/>
|
100
|
+
<path display="inline" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M25.4,65"/>
|
101
|
+
<g display="inline">
|
102
|
+
<path fill="#FFFFFF" d="M80.7,36.5v27H19.3v-27H80.7 M81.7,35.5H18.3v29h63.3V35.5L81.7,35.5z"/>
|
103
|
+
</g>
|
104
|
+
</g>
|
105
|
+
<g id="Calque_8" display="none">
|
106
|
+
<g display="inline">
|
107
|
+
<path fill="none" stroke="#FFFFFF" stroke-miterlimit="10" d="M76.5,65.4"/>
|
108
|
+
<rect x="29.3" y="35.3" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="41.6" height="29.5"/>
|
109
|
+
<g>
|
110
|
+
<path fill="#FFFFFF" d="M72.5,33.9v32.2H27.6V33.9H72.5 M74.5,31.9H25.6v36.2h48.9V31.9L74.5,31.9z"/>
|
111
|
+
</g>
|
112
|
+
<polyline fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" points="76.5,36.6 90.5,36.6 90.5,63.4
|
113
|
+
76.5,63.4 "/>
|
114
|
+
<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
|
115
|
+
"/>
|
116
|
+
</g>
|
117
|
+
</g>
|
118
|
+
<g id="Calque_9" display="none">
|
119
|
+
<g display="inline">
|
120
|
+
<g>
|
121
|
+
<g>
|
122
|
+
<path fill="#FFFFFF" d="M84.5,16.5v67h-69v-67H84.5 M86.5,14.5h-73v71h73V14.5L86.5,14.5z"/>
|
123
|
+
</g>
|
124
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="86.5" y1="31.5" x2="13.5" y2="31.5"/>
|
125
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="23.5" y1="23.5" x2="30.5" y2="23.5"/>
|
126
|
+
<line fill="none" stroke="#FFFFFF" stroke-width="2" stroke-miterlimit="10" x1="36.5" y1="23.5" x2="77.5" y2="23.5"/>
|
127
|
+
</g>
|
128
|
+
<g>
|
129
|
+
<rect x="18.8" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
130
|
+
<rect x="34.9" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
131
|
+
<rect x="51.1" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
132
|
+
<rect x="67.2" y="40" fill="none" stroke="#FFFFFF" stroke-miterlimit="10" width="14" height="38"/>
|
133
|
+
</g>
|
134
|
+
</g>
|
135
|
+
</g>
|
136
|
+
</svg>
|
137
|
+
'
|
138
|
+
%>
|
139
|
+
<div ng-init="promethee.definitions.push({
|
140
|
+
name: 'Image',
|
141
|
+
icon: '<%= icon %>',
|
142
|
+
data: {
|
143
|
+
type: 'image',
|
144
|
+
attributes: {
|
145
|
+
src: 'https://picsum.photos/1920/1080/?random',
|
146
|
+
alt: '',
|
147
|
+
caption: ''
|
12
148
|
}
|
13
|
-
}
|
14
|
-
|
149
|
+
}
|
150
|
+
})"></div>
|