ish_manager 0.1.8.124 → 0.1.8.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88e6790317b763d61d9e5a7554aa7335f8a1e1ed
|
4
|
+
data.tar.gz: 60ceeb895def96826961b6dc68a8020526311632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e469b195ada17edb6a83d2f95f6255152bc12700bbb5d7979a787d6e824b14031cfc7e1941800f91baab890686dab714cd317b094ed853bd0a61e85dbc19d21
|
7
|
+
data.tar.gz: c30ee049fcf097de6d50c45963ae39453e88250ac17315ae5a4fd8e1187887bddb11abd0ce07022ec6c424f366bcf65ff6aebfb492d426618ab57e9565042f42
|
@@ -25,11 +25,10 @@
|
|
25
25
|
= f.label :Description
|
26
26
|
= f.text_area :descr, :class => 'tinymce'
|
27
27
|
|
28
|
-
%br
|
28
|
+
%br
|
29
29
|
|
30
30
|
.row
|
31
31
|
.col-md-6
|
32
|
-
/ Single button
|
33
32
|
%label{} City
|
34
33
|
= select :report, :city_id, @cities_list, :class=>"btn"
|
35
34
|
|
@@ -72,18 +71,18 @@
|
|
72
71
|
%button.btn.btn-primary.btn-lg.btn-block{:type => "button", :onClick => "upload()"} Upload File
|
73
72
|
= file_field_tag :photo, :style => "display:none", :id=>"photo"
|
74
73
|
.div.center
|
75
|
-
%img#thumbnail_image_boy.img-thumbnail{:alt => "uploaded image", :width=>"200px"}
|
74
|
+
%img#thumbnail_image_boy.img-thumbnail{:alt => "uploaded image", :width=>"200px"}
|
76
75
|
|
77
76
|
|
78
77
|
:javascript
|
79
78
|
|
80
79
|
$( document ).ready(function() {
|
81
80
|
$(".caret").html("");
|
82
|
-
|
81
|
+
});
|
83
82
|
|
84
83
|
function upload(){
|
85
|
-
|
86
|
-
|
84
|
+
document.getElementById("photo").click();
|
85
|
+
}
|
87
86
|
|
88
87
|
function handleFileSelect(evt) {
|
89
88
|
var files = evt.target.files;
|
@@ -109,10 +108,10 @@
|
|
109
108
|
}
|
110
109
|
document.getElementById('photo').addEventListener('change', handleFileSelect, false);
|
111
110
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
111
|
+
.input
|
112
|
+
= f.check_box :is_public
|
113
|
+
= f.label :is_public
|
114
|
+
.input
|
115
|
+
= f.check_box :is_trash
|
116
|
+
= f.label :is_trash
|
117
|
+
%button.btn.btn-success{:type => "submit"} submit
|