sinatra-hexacta 0.3.9 → 0.3.14

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: '0870be9977d716dfc3ea5c827706e770b716a980fd377ccc8171d745592d43e4'
4
- data.tar.gz: 5dc71a1b831becbf6203c7febd670f6a28856bb865cc568f2e442b249821509a
3
+ metadata.gz: 70103503f323c30ae3192af61c32b4ac7a57f0deb176acf6f6a33be07e621922
4
+ data.tar.gz: 8d270de55225eef6f9d8cae34ad6a4b256eeb18dc9bfd31759edca6176a64191
5
5
  SHA512:
6
- metadata.gz: 6076080dfe5163905d5fa63127b06e6b0511ec978a9860753a78219bd3494947a2d94e65e05f73b601f912d2beabbd1631b8ba0a572be47abddde646694b66b6
7
- data.tar.gz: 5e65ca74bc538b61abac2ea019c6bad442145600ddebc06e2745fec3c2d86f3d8313b3351f1ff86fec82e41d9b5650481b9af327c6d3972747c07d845c56aef3
6
+ metadata.gz: a7b8584b54e4bf04a2f1267a0d605ee0274a493ea2e8397f8fcdd52f0004e9f8aaacbdc30ebd77dfd577c7c13bf522982edb5c5413df7938c74573f371bee2ba
7
+ data.tar.gz: a4a43c08dfe7cee855a2809ec54be1b854fc097a785c391d874545afadd97c72eabfb48798c479274ffe4837389f685b76066ae3a4132222722ff53bf6f2df4b
@@ -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 {
@@ -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}"
@@ -8,7 +8,8 @@
8
8
  -onkeyup = ''
9
9
  -unless defined? readonly
10
10
  -readonly = false
11
-
11
+ - unless defined? clazz
12
+ - clazz = nil
12
13
 
13
14
  -if required
14
15
  .form-group.has-feedback.has-success
@@ -4,7 +4,8 @@
4
4
  - id = "#{name}_#{rand(1000)}"
5
5
  - unless defined? placeholder
6
6
  - placeholder = "Selecciona..."
7
-
7
+ - unless defined? clazz
8
+ - clazz = nil
8
9
  - unless defined? selected_elements
9
10
  - selected_elements = []
10
11
  - if selected_elements.nil?
@@ -6,7 +6,8 @@
6
6
  - placeholder = "Selecciona..."
7
7
  - unless defined? chosen
8
8
  - chosen = nil
9
-
9
+ - unless defined? clazz
10
+ - clazz = nil
10
11
 
11
12
  -if required
12
13
  .form-group.has-success
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.9
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger