promethee 1.11.8 → 1.11.9
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 +1 -0
- data/app/assets/stylesheets/promethee-edit/_move.sass +10 -7
- data/app/assets/stylesheets/promethee-edit/_summernote.sass +6 -0
- data/app/views/promethee/edit/_move.html.erb +10 -15
- data/app/views/promethee/utils/_summernote-config.html.erb +3 -1
- data/lib/promethee/rails/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9c913a35afd81ad585c4701fbb1c60179ce1121448a9223ea170d4946287324
|
4
|
+
data.tar.gz: 06b9ad22a7f86607ae59f409ae57984eee99814007ddbd3f26ff319de82b0f92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bc2bb9e001a9107ff37dd62e66db25eb6599be8f67058b7b34306e37af3901838873932d1cffc7ae8425ed69dd90ed89697d432cebdbf98db53106ec0d8552c
|
7
|
+
data.tar.gz: 0a0cdd5971a9d4e07cc07061ea5d68b95b9e0398182f7c44ac25e59320f5772799350a1934d5a7a89f82dd7377849f751e9789ca29bcac4795ff6361e099b213
|
@@ -26,7 +26,7 @@
|
|
26
26
|
font-size: 12px
|
27
27
|
line-height: 12px
|
28
28
|
z-index: 1
|
29
|
-
|
29
|
+
|
30
30
|
&--aside
|
31
31
|
.btn
|
32
32
|
&.left
|
@@ -147,14 +147,13 @@
|
|
147
147
|
.promethee-edit
|
148
148
|
&__inspect, &__library
|
149
149
|
min-width: 100px
|
150
|
-
max-width: 400px
|
151
150
|
background: white
|
152
151
|
position: fixed
|
153
152
|
top: 50px
|
154
153
|
bottom: 0
|
155
|
-
padding: 30px
|
154
|
+
padding: 30px 20px 15px
|
156
155
|
z-index: 1000
|
157
|
-
width: calc(50vw -
|
156
|
+
width: calc(50vw - 365px)
|
158
157
|
overflow-x: hidden
|
159
158
|
overflow-y: auto
|
160
159
|
&-header
|
@@ -180,13 +179,17 @@
|
|
180
179
|
cursor: pointer
|
181
180
|
|
182
181
|
&__library
|
182
|
+
padding-left: 10px
|
183
|
+
padding-right: 10px
|
183
184
|
left: 0
|
185
|
+
&__item-container, &__item
|
186
|
+
display: inline-block
|
184
187
|
&__item
|
185
|
-
max-width:
|
188
|
+
max-width: 100px
|
186
189
|
z-index: 100000
|
187
190
|
background-color: #253742
|
188
|
-
padding
|
189
|
-
margin
|
191
|
+
padding: 10px 5px 0 5px
|
192
|
+
margin: 0 10px 20px
|
190
193
|
height: 100px
|
191
194
|
min-width: 100px
|
192
195
|
text-align: center
|
@@ -124,26 +124,21 @@ promethee
|
|
124
124
|
<div class="promethee-edit__library">
|
125
125
|
<div class="promethee-edit__library-header">Library</div>
|
126
126
|
<div class="promethee-edit__library-content">
|
127
|
-
<div class="
|
128
|
-
<div
|
129
|
-
class="
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<div class="promethee-edit__library__item__icon" ng-bind-html="definition.icon | htmlSafe"></div>
|
134
|
-
<div class="promethee-edit__library__item__name">{{definition.name}}</div>
|
135
|
-
</div>
|
127
|
+
<div ng-repeat="definition in promethee.definitions | filter:{library:true} | orderBy:'position'" class="promethee-edit__library__item-container">
|
128
|
+
<div addable
|
129
|
+
class="promethee-edit__library__item"
|
130
|
+
data-type="{{definition.data.type}}">
|
131
|
+
<div class="promethee-edit__library__item__icon" ng-bind-html="definition.icon | htmlSafe"></div>
|
132
|
+
<div class="promethee-edit__library__item__name">{{definition.name}}</div>
|
136
133
|
</div>
|
137
134
|
</div>
|
138
135
|
</div>
|
139
136
|
<div class="promethee-edit__library-header">Presets</div>
|
140
137
|
<div class="promethee-edit__library-content">
|
141
|
-
<div class="
|
142
|
-
<div
|
143
|
-
<div
|
144
|
-
|
145
|
-
<div class="promethee-edit__library__item__name">{{preset.name}}</div>
|
146
|
-
</div>
|
138
|
+
<div ng-repeat="preset in promethee.presets | orderBy:'position'" class="promethee-edit__library__item-container">
|
139
|
+
<div addable class="promethee-edit__library__item" data-type="text" data-preset="{{preset.name}}">
|
140
|
+
<div class="promethee-edit__library__item__icon" ng-bind-html="preset.icon | htmlSafe"></div>
|
141
|
+
<div class="promethee-edit__library__item__name">{{preset.name}}</div>
|
147
142
|
</div>
|
148
143
|
</div>
|
149
144
|
</div>
|
@@ -23,7 +23,9 @@
|
|
23
23
|
['headline', ['style']],
|
24
24
|
['style', ['bold', 'italic']],
|
25
25
|
['alignment', ['ul', 'ol', 'paragraph']],
|
26
|
-
['code', ['codeview']]
|
26
|
+
['code', ['codeview']],
|
27
|
+
['link', ['linkDialogShow', 'unlink']],
|
28
|
+
['insert', ['hr']]
|
27
29
|
],
|
28
30
|
styleTags: ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']
|
29
31
|
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promethee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Gaya
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- app/assets/stylesheets/promethee-edit/_move.sass
|
171
171
|
- app/assets/stylesheets/promethee-edit/_nav.sass
|
172
172
|
- app/assets/stylesheets/promethee-edit/_preview.sass
|
173
|
+
- app/assets/stylesheets/promethee-edit/_summernote.sass
|
173
174
|
- app/assets/stylesheets/promethee.sass
|
174
175
|
- app/controllers/promethee_controller.rb
|
175
176
|
- app/models/concerns/promethee_data.rb
|