sinatra-hexacta 0.3.10 → 0.3.15

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: a30ba69a60abe8d2c4d4759c82edf7afd5d079a7dc4e1b9fa44f4de0ca9ec141
4
- data.tar.gz: b818302b6ff34967f195d6e59d67b65feafa6e1de6ab41747b64cb6550cf30ea
3
+ metadata.gz: cfaf2ff3db1224e3e36a9969b568991b2e8b1cdceb152e6f38a4ab1c5eb42f8d
4
+ data.tar.gz: a2c287bd2ef9a8fb5fea7fe435ada97ef45d0eecefbd9f77d9be3d3be07f4258
5
5
  SHA512:
6
- metadata.gz: 0e45db2dad9dc2c44115290af7f7dc3d2edc9756f8ead2f7a3c3ede018ef779b61bcb911e49f4d760bdbc164b58506663c533dc15e79a1bcd77581c94bbd5752
7
- data.tar.gz: 8f71f3b2d0fda29e8c26a48d45968e2ad2822d030d3549c11ada3201494bd4082458f91387253e4bb140e4582db413325cf4689c6c170578f60ef42cdd404ce5
6
+ metadata.gz: 31d9b12396ae6e69d7fc4f0f1ff8bec5795c36bdb5e1a1836b3ccb747d065ce5de5aaff947532b27b6cab7d0890d286a58aa1f9fc920802dd99374b7ddd8c128
7
+ data.tar.gz: aabb71927d365a7550e6c127f0e24c98e618d102be411e950a735a2bca06ffbf0e57368826e6b000e25a0e90cc8150a62e96130598bbb2eafea90bf2f1e80f1b
@@ -13860,7 +13860,7 @@ fieldset[disabled] .btn-inverse:active {
13860
13860
  */
13861
13861
 
13862
13862
  .m-btn {
13863
- z-index: 1;
13863
+ z-index: 9;
13864
13864
  right: 40px;
13865
13865
  bottom: 40px;
13866
13866
  position: fixed !important;
@@ -13905,7 +13905,7 @@ fieldset[disabled] .btn-inverse:active {
13905
13905
  border-radius: 20px;
13906
13906
  opacity: 0.6;
13907
13907
  font-size: 8pt;
13908
- z-index: 1;
13908
+ z-index: 9;
13909
13909
  }
13910
13910
 
13911
13911
  .left-footer .text {
@@ -14195,12 +14195,17 @@ html:not(.ie9) .select.fg-line:before {
14195
14195
  position: relative;
14196
14196
  }
14197
14197
 
14198
- .fg-float .form-control {
14198
+ .fg-float .form-control::read-write {
14199
14199
  position: relative;
14200
14200
  background: transparent;
14201
14201
  z-index: 1;
14202
14202
  }
14203
14203
 
14204
+ .fg-float .form-control::read-only {
14205
+ position: relative;
14206
+ z-index: 1;
14207
+ }
14208
+
14204
14209
  .fg-float .form-control::-moz-placeholder {
14205
14210
  color: #ffffff;
14206
14211
  opacity: 1;
@@ -1,4 +1,4 @@
1
- .lv-item.p-20.bgm-lightgray.m-b-5
1
+ .lv-item.p-20.bgm-lightgray
2
2
  .media
3
3
  .pull-left
4
4
  i.zmdi.zmdi-hc-3x.zmdi-alert-circle-o.c-gray
@@ -1,4 +1,4 @@
1
- .lv-item.p-20.bgm-red.m-b-5
1
+ .lv-item.p-20.bgm-red
2
2
  .media
3
3
  .pull-left
4
4
  i.zmdi.zmdi-hc-3x.zmdi-alert-octagon.c-white
@@ -1,4 +1,4 @@
1
- .lv-item.p-20.bgm-orange.m-b-5
1
+ .lv-item.p-20.bgm-orange
2
2
  .media
3
3
  .pull-left
4
4
  i.zmdi.zmdi-hc-3x.zmdi-alert-triangle.c-white
@@ -2,11 +2,21 @@
2
2
  - required = false
3
3
  - if !(defined? id) || id.blank?
4
4
  - id = "#{name}_#{rand(1000)}"
5
+ - unless defined? clazz
6
+ - clazz = nil
7
+ -unless defined? readonly
8
+ -readonly = false
5
9
 
6
10
  .form-group.fg-float
7
11
  label #{title}
8
12
  .fg-line
9
13
  -if required
10
- input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" required="" value="#{value}"
14
+ -if readonly
15
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" required="" class="#{clazz}" value="#{value}" readonly=''
16
+ -else
17
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" required="" class="#{clazz}" value="#{value}"
11
18
  -else
12
- input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" value="#{value}"
19
+ -if readonly
20
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" class="#{clazz}" value="#{value}" readonly=''
21
+ -else
22
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" class="#{clazz}" value="#{value}"
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.10
4
+ version: 0.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger