kuppayam 0.1.25 → 0.1.26
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 +4 -4
- data/app/assets/javascripts/kuppayam/utilities.js +2 -3
- data/app/assets/stylesheets/kuppayam/custom.css +5 -0
- data/app/views/kuppayam/images/_form.html.erb +4 -1
- data/app/views/kuppayam/workflows/peacock/edit.js.erb +3 -0
- data/app/views/kuppayam/workflows/peacock/new.js.erb +4 -1
- data/app/views/layouts/kuppayam/admin.html.erb +1 -1
- data/lib/kuppayam/action_view/form_helper.rb +8 -8
- data/lib/kuppayam/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb414c7c99df903120fad10d06be42c44ad2337b
|
|
4
|
+
data.tar.gz: ba68a8ba7288989987f2ff887223ee70cf64a745
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a06923404b2f121eebdb3ecde363dc679ff7674188ee593e35eebcb6cfd747832c38ac3fdfe2f8b78c34ccc1ae9db0442cea44c39e91fa486b914256ab4df2f
|
|
7
|
+
data.tar.gz: 9932153c8270ad014b14894b9934b2bddee091dabd148a79d830fd06507c8e7c871441e75231b2d8e103807d7753ac186c30e88a66b974bfc9f4cff56ee36572
|
|
@@ -93,9 +93,8 @@ function showMessageModal(heading, message, modalId){
|
|
|
93
93
|
}, 1000);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function closeImageUploadModal(
|
|
97
|
-
$('#' + imageUploadModalId).modal('hide');
|
|
98
|
-
|
|
96
|
+
function closeImageUploadModal(){
|
|
97
|
+
$('#' + imageUploadModalId).modal('hide');
|
|
99
98
|
showAndHideModals();
|
|
100
99
|
}
|
|
101
100
|
|
|
@@ -64,3 +64,8 @@
|
|
|
64
64
|
.word-break {
|
|
65
65
|
word-break: break-all !important;
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
// Modal Form CSS Tweaks
|
|
69
|
+
.form-horizontal .form-inputs label.kuppayam-label {padding-top: 0px; font-size: 12px; color: #a2a2a2;}
|
|
70
|
+
.modal .modal-dialog .modal-content {padding:20px; border: 4px solid darkgray;}
|
|
71
|
+
.modal .modal-dialog .modal-content .modal-header { padding-bottom: 5px; border-bottom-width: 1px; margin-bottom:10px;}
|
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
|
|
40
40
|
<div class="modal-footer">
|
|
41
41
|
<div class="pull-right">
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
<!-- <button type="button" class="btn btn-default">Cancel</button> -->
|
|
44
|
+
|
|
45
|
+
<%= link_to raw("<i class='fa fa-close mr-5'></i><span>Cancel</span>"), "#", onclick: "closeImageUploadModal();", class: "ml-10 btn btn-default" %>
|
|
43
46
|
|
|
44
47
|
<%= submit_tag "Upload", "data-reset-text"=>"Upload", "data-loading-text"=>"Uploading ...", :class=>"btn btn-primary ml-10" %>
|
|
45
48
|
</div>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<div class="modal-dialog">
|
|
87
87
|
<div class="modal-content">
|
|
88
88
|
<div class="modal-header">
|
|
89
|
-
<button type="button" class="close"
|
|
89
|
+
<button type="button" class="close" aria-hidden="true" onclick="closeImageUploadModal();" >×</button>
|
|
90
90
|
<h3 class="modal-title">Modal title</h3>
|
|
91
91
|
</div>
|
|
92
92
|
<div class="modal-body-main"></div>
|
|
@@ -11,7 +11,7 @@ module Kuppayam
|
|
|
11
11
|
# is equivalent to:
|
|
12
12
|
#
|
|
13
13
|
# <div class="form-group ">
|
|
14
|
-
# <label for="inp_name" class="col-md-4 control-label">Student Name
|
|
14
|
+
# <label for="inp_name" class="col-md-4 control-label kuppayam-label">Student Name
|
|
15
15
|
# <span class="text-color-red ml-10 mr-5 pull-right">*</span>
|
|
16
16
|
# </label>
|
|
17
17
|
# <div class="col-md-8">
|
|
@@ -30,7 +30,7 @@ module Kuppayam
|
|
|
30
30
|
# is equivalent to:
|
|
31
31
|
#
|
|
32
32
|
# <div class="form-group ">
|
|
33
|
-
# <label for="inp_movie_id" class="col-md-4 control-label">
|
|
33
|
+
# <label for="inp_movie_id" class="col-md-4 control-label kuppayam-label">
|
|
34
34
|
# Please select a Movie
|
|
35
35
|
# </label>
|
|
36
36
|
# <div class="col-md-8">
|
|
@@ -76,14 +76,14 @@ module Kuppayam
|
|
|
76
76
|
error_class: "",
|
|
77
77
|
param_name: label.gsub(" ", "_").underscore,
|
|
78
78
|
required: true,
|
|
79
|
-
label_col_class: "col-md-12 text-align-left pb-
|
|
79
|
+
label_col_class: "col-md-12 text-align-left pb-2",
|
|
80
80
|
field_col_class: "col-md-12"
|
|
81
81
|
)
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
content_tag(:div, class: "form-group #{options[:error_class]}") do
|
|
86
|
-
content_tag(:label, class: "#{options[:label_col_class]} control-label") do
|
|
86
|
+
content_tag(:label, class: "#{options[:label_col_class]} control-label kuppayam-label") do
|
|
87
87
|
star_content = options[:required] ? "*" : raw(" ")
|
|
88
88
|
raw(label + content_tag(:span, star_content, class: "text-color-red ml-10 mr-5"))
|
|
89
89
|
end +
|
|
@@ -103,7 +103,7 @@ module Kuppayam
|
|
|
103
103
|
# theme_form_field(@project, :name)
|
|
104
104
|
#
|
|
105
105
|
# <div class="form-group ">
|
|
106
|
-
# <label class="col-md-4 control-label" for="inp_name">
|
|
106
|
+
# <label class="col-md-4 control-label kuppayam-label" for="inp_name">
|
|
107
107
|
# Name
|
|
108
108
|
# <span class="text-color-red ml-10 mr-5 pull-right">*</span>
|
|
109
109
|
# </label>
|
|
@@ -153,7 +153,7 @@ module Kuppayam
|
|
|
153
153
|
options[:html_options].reverse_merge!(value: date_value)
|
|
154
154
|
text_field_tag(options[:param_name], object.send(field_name.to_s), **options[:html_options])
|
|
155
155
|
when :textarea
|
|
156
|
-
options[:html_options].reverse_merge!(style: "height:
|
|
156
|
+
options[:html_options].reverse_merge!(style: "height: 100px;")
|
|
157
157
|
text_area_tag(options[:param_name], object.send(field_name.to_s), **options[:html_options])
|
|
158
158
|
when :file
|
|
159
159
|
file_field_tag(options[:param_name], **options[:html_options])
|
|
@@ -174,7 +174,7 @@ module Kuppayam
|
|
|
174
174
|
# ---------------------------
|
|
175
175
|
# <% Choose Customer - Drop Down %>
|
|
176
176
|
# <div class="form-group ">
|
|
177
|
-
# <label for="inp_name" class="col-md-4 control-label">
|
|
177
|
+
# <label for="inp_name" class="col-md-4 control-label kuppayam-label">
|
|
178
178
|
# Customer
|
|
179
179
|
# <span class="text-color-red ml-10 mr-5 pull-right">*</span>
|
|
180
180
|
# </label>
|
|
@@ -239,7 +239,7 @@ module Kuppayam
|
|
|
239
239
|
# is equivalent to:
|
|
240
240
|
# ---------------------------
|
|
241
241
|
# <div class="form-group ">
|
|
242
|
-
# <label for="inp_name" class="col-md-4 control-label">Choose Plan
|
|
242
|
+
# <label for="inp_name" class="col-md-4 control-label kuppayam-label">Choose Plan
|
|
243
243
|
# <span class="text-color-red ml-10 mr-5 pull-right">*</span>
|
|
244
244
|
# </label>
|
|
245
245
|
# <div class="col-md-8">
|
data/lib/kuppayam/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kuppayam
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kpvarma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|