sinatra-hexacta 0.3.17 → 0.3.18

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
  SHA256:
3
- metadata.gz: 7ce9729468b924495d760e891e5011f6ec91a7a1d5867445043fb36cd8c7cced
4
- data.tar.gz: 84206d7c18208e55794e01e00904c1c58f0781f7f7116045d560ae44ec6bb659
3
+ metadata.gz: ca5a4df9634f94ceab5602a5b00d4e68e335d5da664c31700c189b53e64ccb69
4
+ data.tar.gz: 44cdfef7065cf7d9f3e576bf799fbaad3cb3df386e8a5bc06bf566d6b1d03246
5
5
  SHA512:
6
- metadata.gz: 407744e4cf104e64dd731aaca8b3c302b888b6045065cba2f35789c99700c9459d8806879fc76cb6adb7216285805472849cd9e832f0ae13c31ffb35ee2e6372
7
- data.tar.gz: 2523b68e3033e60b18f4dd0b6efeafd16f68b8a5ba1f1b2baaf38e5622fe26f3bb72deea41338bc250a1fa1da9c709f339c939b44d0b8cb2623cd1955d4a123e
6
+ metadata.gz: d3a50875a57cd0be59b9e7cf019d5565f9dc6a52f924338a28451845ff662d84a131c61f021fd3f7cc381c511db708cedb187efd17fe6535a302fb053e892c39
7
+ data.tar.gz: 325a7785ad00eedad92e6a5466cfc1af10ef636265dd02a822f7d0d62138cc87d7aca0e6de1d8d0c30b58dbf5b21cee950773e111120764dfd602637d057a7db
@@ -1,13 +1,14 @@
1
1
  .row
2
2
  .col-xs-12
3
- .lv-item.p-20.bgm-orange.m-b-5
4
- .media
5
- .pull-left
6
- i.zmdi.zmdi-hc-3x.zmdi-cloud-off.c-white
7
- .media-body
8
- .lv-title.c-white Error de conexión con la base de datos
9
- small.lv-small.c-white Espera unos segundos mientras se reestablece la conexión.
10
-
3
+ .progress.progress-striped.active.bgm-red style="height:80px;"
4
+ .progress-bar.progress-bar-danger aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" style="width: 0%;text-align:left;"
5
+ .lv-item.p-20.p-fixed
6
+ .media
7
+ .pull-left
8
+ i.zmdi.zmdi-hc-3x.zmdi-cloud-off.c-white
9
+ .media-body
10
+ .lv-title.c-white Error de conexión con la base de datos
11
+ small.lv-small.c-white Espera unos segundos mientras se reestablece la conexión.
11
12
 
12
13
 
13
14
  javascript:
@@ -15,4 +16,12 @@ javascript:
15
16
  setTimeout(function(){
16
17
  window.location.reload(1);
17
18
  }, 5000);
18
- });
19
+
20
+ update_progress();
21
+
22
+ function update_progress() {
23
+ var current = $(".progress-bar").width() / $('.progress-bar').parent().width() * 100;
24
+ $(".progress-bar").width( current + 10 + "%");
25
+ setTimeout(update_progress, 100);
26
+ }
27
+ });
@@ -1,12 +1,14 @@
1
1
  .row
2
2
  .col-xs-12
3
- .lv-item.p-20.bgm-orange.m-b-5
4
- .media
5
- .pull-left
6
- i.zmdi.zmdi-hc-3x.zmdi-cloud-off.c-white
7
- .media-body
8
- .lv-title.c-white Conexión con la base de datos
9
- small.lv-small.c-white Espera unos segundos mientras se reestablece la conexión.
3
+ .progress.progress-striped.active.bgm-orange style="height:80px;"
4
+ .progress-bar.progress-bar-warning aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" style="width: 0%;text-align:left;"
5
+ .lv-item.p-20.p-fixed
6
+ .media
7
+ .pull-left
8
+ i.zmdi.zmdi-hc-3x.zmdi-cloud-off.c-white
9
+ .media-body
10
+ .lv-title.c-white Conexión con la base de datos
11
+ small.lv-small.c-white Espera unos segundos mientras se reestablece la conexión.
10
12
 
11
13
 
12
14
 
@@ -15,4 +17,13 @@ javascript:
15
17
  setTimeout(function(){
16
18
  window.location.reload(1);
17
19
  }, 5000);
18
- });
20
+
21
+ update_progress();
22
+
23
+ function update_progress() {
24
+ var current = $(".progress-bar").width() / $('.progress-bar').parent().width() * 100;
25
+ $(".progress-bar").width( current + 10 + "%");
26
+ setTimeout(update_progress, 100);
27
+ }
28
+ });
29
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger