promethee 1.4.27 → 1.4.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e78beb7082aabf061206ed4076c18f9cb332917
4
- data.tar.gz: 2b85b070acd67330a8eed1019fb16e4eefaa10c1
3
+ metadata.gz: f30172556245f9cf8b4bafd3d56bfd267b45d8da
4
+ data.tar.gz: 0a2c62022650fd2b1b78d847a1583bc4b8b944cc
5
5
  SHA512:
6
- metadata.gz: 28ffc8114fa64b0d83c71e39eb5dbb023b907097ef0fbfd5c12be4d0b0e7f3ece475b5dfbc67e1d720b9ff47e1bae42ff87e625cf0236bd507b078f6b4b0abd2
7
- data.tar.gz: e9c73634fdbac7e53bf9fe24cd579875ec329d273de8c2749c3f5b72fd15ad07016d8d2d237193f77eeb4d50fc660d83ae44910e131b2e126e4a346ae22f5bd3
6
+ metadata.gz: 1f11b26bfe55de237bba3830954a011bc0c110ae40ec9aa22e6f1ce8853fc0641f0e8ad1466eda0ec4c5c4136acaa64aac1525c7bc04b7cdc960f205d26b948b
7
+ data.tar.gz: 9337de8a78f1c673e87281886987fdf422ac823627dde24a0fecbc4fe568f62efc9cdf47bdb762edb0afdff641c710de7dc8cb709723198c062e834809a3fd4c
Binary file
@@ -6,6 +6,17 @@ $promethee-color: #ff9900 !default
6
6
  @import 'promethee-edit/move'
7
7
  @import 'promethee-edit/preview'
8
8
 
9
+ .promethee-loader
10
+ position: fixed
11
+ top: 0
12
+ left: 0
13
+ right: 0
14
+ bottom: 0
15
+ z-index: 9999
16
+ background-color: white
17
+ &__inner
18
+ margin: 40% auto 0 auto
19
+
9
20
  .promethee-open
10
21
  $real-width: 300px
11
22
  $real-height: 500px
@@ -131,11 +131,18 @@ promethee.controller('PrometheeController', ['$scope', 'summernoteConfig', 'pres
131
131
  }]);
132
132
  </script>
133
133
 
134
+ <div class="promethee-loader">
135
+ <div class="promethee-loader__inner">
136
+ <%= image_tag('loader.gif') %>
137
+ Loading...
138
+ </div>
139
+ </div>
140
+
134
141
  <div id="promethee"
135
142
  ng-app="Promethee"
136
143
  ng-controller="PrometheeController as prometheeController"
137
144
  ng-init="component = promethee.data"
138
- class="ng-cloak">
145
+ class="ng-cloak">
139
146
 
140
147
  <% promethee_template_partials.each do |partial| %>
141
148
  <%= render partial %>
@@ -1 +1,2 @@
1
1
  Rails.application.config.assets.paths << Promethee.root + 'node_modules'
2
+ Rails.application.config.assets.precompile += %w( loader.gif )
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.4.27'
3
+ VERSION = '1.4.28'
4
4
  end
5
5
  end
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.4.27
4
+ version: 1.4.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-05-14 00:00:00.000000000 Z
16
+ date: 2018-05-22 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -171,6 +171,7 @@ files:
171
171
  - Rakefile
172
172
  - app/assets/images/icon-promethee.png
173
173
  - app/assets/images/icon-promethee.svg
174
+ - app/assets/images/loader.gif
174
175
  - app/assets/images/logo-promethee-horizontal.svg
175
176
  - app/assets/images/logo-promethee-vertical.svg
176
177
  - app/assets/javascripts/promethee.js