kuppayam 0.1.34 → 0.1.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/favicon.png +0 -0
  3. data/app/assets/javascripts/{jquery_with_ujs.js → jquery_and_family.js} +3 -2
  4. data/app/assets/javascripts/kuppayam.js +13 -0
  5. data/app/assets/javascripts/kuppayam/utilities.js +3 -3
  6. data/app/assets/stylesheets/jquery_and_family.css +14 -0
  7. data/app/assets/stylesheets/kuppayam/custom.css +73 -0
  8. data/app/helpers/kuppayam_helper.rb +6 -2
  9. data/app/helpers/render_helper.rb +6 -2
  10. data/app/helpers/resource_helper.rb +44 -5
  11. data/app/helpers/resource_view_helper.rb +123 -35
  12. data/app/models/concerns/publishable.rb +1 -0
  13. data/app/models/image/base.rb +3 -3
  14. data/app/views/kuppayam/images/_multiple_images.html.erb +6 -4
  15. data/app/views/kuppayam/workflows/default/create.js.erb +81 -0
  16. data/app/views/kuppayam/workflows/default/destroy.js.erb +32 -0
  17. data/app/views/kuppayam/workflows/default/edit.js.erb +21 -0
  18. data/app/views/kuppayam/workflows/default/index.js.erb +43 -0
  19. data/app/views/kuppayam/workflows/default/new.js.erb +21 -0
  20. data/app/views/kuppayam/workflows/default/row.js.erb +50 -0
  21. data/app/views/kuppayam/workflows/default/show.js.erb +17 -0
  22. data/app/views/kuppayam/workflows/default/update.js.erb +73 -0
  23. data/app/views/kuppayam/workflows/parrot/create.js.erb +8 -1
  24. data/app/views/kuppayam/workflows/parrot/index.js.erb +9 -1
  25. data/app/views/kuppayam/workflows/parrot/new.js.erb +1 -1
  26. data/app/views/kuppayam/workflows/parrot/row.js.erb +8 -1
  27. data/app/views/kuppayam/workflows/parrot/update.js.erb +8 -1
  28. data/app/views/kuppayam/workflows/peacock/create.js.erb +8 -1
  29. data/app/views/kuppayam/workflows/peacock/index.js.erb +9 -1
  30. data/app/views/kuppayam/workflows/peacock/row.js.erb +8 -1
  31. data/app/views/kuppayam/workflows/peacock/update.js.erb +8 -1
  32. data/app/views/layouts/dashboard/_items.html.erb +1 -1
  33. data/app/views/layouts/kuppayam/_head.html.erb +2 -2
  34. data/app/views/layouts/kuppayam/_sidebar.html.erb +1 -1
  35. data/app/views/layouts/kuppayam/admin.html.erb +1 -1
  36. data/app/views/layouts/kuppayam/document_upload.html.erb +1 -1
  37. data/app/views/layouts/kuppayam/image_upload.html.erb +1 -1
  38. data/lib/generators/kuppayam/templates/views/_index.html.erb +1 -1
  39. data/lib/generators/kuppayam/templates/views/_row.html.erb +1 -1
  40. data/lib/kuppayam/engine.rb +1 -1
  41. data/lib/kuppayam/version.rb +1 -1
  42. data/vendor/assets/jquery-ui/AUTHORS.txt +333 -0
  43. data/vendor/assets/jquery-ui/LICENSE.txt +43 -0
  44. data/vendor/assets/jquery-ui/external/jquery/jquery.js +11008 -0
  45. data/vendor/assets/jquery-ui/images/ui-icons_444444_256x240.png +0 -0
  46. data/vendor/assets/jquery-ui/images/ui-icons_555555_256x240.png +0 -0
  47. data/vendor/assets/jquery-ui/images/ui-icons_777620_256x240.png +0 -0
  48. data/vendor/assets/jquery-ui/images/ui-icons_777777_256x240.png +0 -0
  49. data/vendor/assets/jquery-ui/images/ui-icons_cc0000_256x240.png +0 -0
  50. data/vendor/assets/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
  51. data/vendor/assets/jquery-ui/index.html +559 -0
  52. data/vendor/assets/jquery-ui/jquery-ui.css +1312 -0
  53. data/vendor/assets/jquery-ui/jquery-ui.js +18706 -0
  54. data/vendor/assets/jquery-ui/jquery-ui.min.css +7 -0
  55. data/vendor/assets/jquery-ui/jquery-ui.min.js +13 -0
  56. data/vendor/assets/jquery-ui/jquery-ui.structure.css +886 -0
  57. data/vendor/assets/jquery-ui/jquery-ui.structure.min.css +5 -0
  58. data/vendor/assets/jquery-ui/jquery-ui.theme.css +443 -0
  59. data/vendor/assets/jquery-ui/jquery-ui.theme.min.css +5 -0
  60. data/vendor/assets/jquery-ui/package.json +74 -0
  61. data/vendor/assets/jquery-validation/additional-methods.js +1158 -0
  62. data/vendor/assets/jquery-validation/additional-methods.min.js +8 -0
  63. data/vendor/assets/{javascripts/jquery-validate → jquery-validation}/jquery.validate.js +615 -371
  64. data/vendor/assets/jquery-validation/jquery.validate.min.js +4 -0
  65. data/vendor/assets/jquery/jquery-3.2.1.min.js +4 -0
  66. data/vendor/assets/stylesheets/xenon-core.css +16 -16
  67. metadata +45 -122
  68. data/vendor/assets/javascripts/jquery-validate/additional-methods.js +0 -928
  69. data/vendor/assets/javascripts/jquery-validate/additional-methods.min.js +0 -4
  70. data/vendor/assets/javascripts/jquery-validate/index.html +0 -0
  71. data/vendor/assets/javascripts/jquery-validate/jquery.validate.min.js +0 -4
  72. data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.js +0 -33
  73. data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.min.js +0 -4
  74. data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.js +0 -33
  75. data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.min.js +0 -4
  76. data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.js +0 -33
  77. data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.min.js +0 -4
  78. data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.js +0 -33
  79. data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.min.js +0 -4
  80. data/vendor/assets/javascripts/jquery-validate/localization/messages_da.js +0 -30
  81. data/vendor/assets/javascripts/jquery-validate/localization/messages_da.min.js +0 -4
  82. data/vendor/assets/javascripts/jquery-validate/localization/messages_de.js +0 -30
  83. data/vendor/assets/javascripts/jquery-validate/localization/messages_de.min.js +0 -4
  84. data/vendor/assets/javascripts/jquery-validate/localization/messages_el.js +0 -33
  85. data/vendor/assets/javascripts/jquery-validate/localization/messages_el.min.js +0 -4
  86. data/vendor/assets/javascripts/jquery-validate/localization/messages_es.js +0 -36
  87. data/vendor/assets/javascripts/jquery-validate/localization/messages_es.min.js +0 -4
  88. data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.js +0 -37
  89. data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.min.js +0 -4
  90. data/vendor/assets/javascripts/jquery-validate/localization/messages_et.js +0 -31
  91. data/vendor/assets/javascripts/jquery-validate/localization/messages_et.min.js +0 -4
  92. data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.js +0 -33
  93. data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.min.js +0 -4
  94. data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.js +0 -36
  95. data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.min.js +0 -4
  96. data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.js +0 -31
  97. data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.min.js +0 -4
  98. data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.js +0 -59
  99. data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.min.js +0 -4
  100. data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.js +0 -38
  101. data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.min.js +0 -4
  102. data/vendor/assets/javascripts/jquery-validate/localization/messages_he.js +0 -33
  103. data/vendor/assets/javascripts/jquery-validate/localization/messages_he.min.js +0 -4
  104. data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.js +0 -33
  105. data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.min.js +0 -4
  106. data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.js +0 -32
  107. data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.min.js +0 -4
  108. data/vendor/assets/javascripts/jquery-validate/localization/messages_id.js +0 -32
  109. data/vendor/assets/javascripts/jquery-validate/localization/messages_id.min.js +0 -4
  110. data/vendor/assets/javascripts/jquery-validate/localization/messages_is.js +0 -31
  111. data/vendor/assets/javascripts/jquery-validate/localization/messages_is.min.js +0 -4
  112. data/vendor/assets/javascripts/jquery-validate/localization/messages_it.js +0 -36
  113. data/vendor/assets/javascripts/jquery-validate/localization/messages_it.min.js +0 -4
  114. data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.js +0 -33
  115. data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.min.js +0 -4
  116. data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.js +0 -33
  117. data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.min.js +0 -4
  118. data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.js +0 -33
  119. data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.min.js +0 -4
  120. data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.js +0 -33
  121. data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.min.js +0 -4
  122. data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.js +0 -33
  123. data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.min.js +0 -4
  124. data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.js +0 -33
  125. data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.min.js +0 -4
  126. data/vendor/assets/javascripts/jquery-validate/localization/messages_my.js +0 -33
  127. data/vendor/assets/javascripts/jquery-validate/localization/messages_my.min.js +0 -4
  128. data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.js +0 -43
  129. data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.min.js +0 -4
  130. data/vendor/assets/javascripts/jquery-validate/localization/messages_no.js +0 -33
  131. data/vendor/assets/javascripts/jquery-validate/localization/messages_no.min.js +0 -4
  132. data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.js +0 -33
  133. data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.min.js +0 -4
  134. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.js +0 -37
  135. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.min.js +0 -4
  136. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.js +0 -37
  137. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.min.js +0 -4
  138. data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.js +0 -33
  139. data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.min.js +0 -4
  140. data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.js +0 -33
  141. data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.min.js +0 -4
  142. data/vendor/assets/javascripts/jquery-validate/localization/messages_si.js +0 -33
  143. data/vendor/assets/javascripts/jquery-validate/localization/messages_si.min.js +0 -4
  144. data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.js +0 -30
  145. data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.min.js +0 -4
  146. data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.js +0 -33
  147. data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.min.js +0 -4
  148. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.js +0 -33
  149. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.min.js +0 -4
  150. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.js +0 -33
  151. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.min.js +0 -4
  152. data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.js +0 -31
  153. data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.min.js +0 -4
  154. data/vendor/assets/javascripts/jquery-validate/localization/messages_th.js +0 -33
  155. data/vendor/assets/javascripts/jquery-validate/localization/messages_th.min.js +0 -4
  156. data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.js +0 -33
  157. data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.min.js +0 -4
  158. data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.js +0 -33
  159. data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.min.js +0 -4
  160. data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.js +0 -33
  161. data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.min.js +0 -4
  162. data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.js +0 -33
  163. data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.min.js +0 -4
  164. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.js +0 -33
  165. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.min.js +0 -4
  166. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.js +0 -34
  167. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.min.js +0 -4
  168. data/vendor/assets/javascripts/jquery-validate/localization/methods_de.js +0 -22
  169. data/vendor/assets/javascripts/jquery-validate/localization/methods_de.min.js +0 -4
  170. data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.js +0 -22
  171. data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.min.js +0 -4
  172. data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.js +0 -22
  173. data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.min.js +0 -4
  174. data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.js +0 -19
  175. data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.min.js +0 -4
  176. data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.js +0 -19
  177. data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.min.js +0 -4
@@ -1,7 +1,14 @@
1
1
  <% if @r_object && @r_object.errors.blank? %>
2
2
 
3
+ <%
4
+ locals = {@resource_options[:item_name].to_sym => @r_object, i: -1}
5
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
6
+ locals.merge!(@row_partial_locals)
7
+ end
8
+ %>
9
+
3
10
  // Updating the edited row and highlighting it
4
- $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: { @resource_options[:item_name].to_sym => @r_object, i: -1})) %>");
11
+ $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: locals)) %>");
5
12
  $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd");
6
13
 
7
14
  <% if @resource_options[:show_modal_after_update] %>
@@ -1,7 +1,14 @@
1
1
  <% if @r_object.errors.blank? %>
2
2
 
3
+ <%
4
+ locals = {@resource_options[:item_name].to_sym => @r_object, i: -1}
5
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
6
+ locals.merge!(@row_partial_locals)
7
+ end
8
+ %>
9
+
3
10
  // Updating the edited row and highlighting it
4
- $('#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>').replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: { @resource_options[:item_name].to_sym => @r_object, i: -1})) %>");
11
+ $('#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>').replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: locals)) %>");
5
12
  $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd");
6
13
 
7
14
  <% if @resource_options[:show_modal_after_update] %>
@@ -1,7 +1,14 @@
1
1
  <% if @r_object.errors.blank? %>
2
2
 
3
+ <%
4
+ locals = {@resource_options[:item_name].to_sym => @r_object, i: -1}
5
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
6
+ locals.merge!(@row_partial_locals)
7
+ end
8
+ %>
9
+
3
10
  // Inserting the row on top of the table and highlighting it
4
- $('#div_<%= @resource_options[:item_name] %>_index table > tbody').prepend("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: {@resource_options[:item_name].to_sym => @r_object, i: -1})) %>");
11
+ $('#div_<%= @resource_options[:item_name] %>_index table > tbody').prepend("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: locals)) %>");
5
12
  $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd");
6
13
 
7
14
  <% if @resource_options[:show_modal_after_create] %>
@@ -3,8 +3,16 @@ closeLargeModal();
3
3
 
4
4
  <% if @r_objects.any? %>
5
5
 
6
+ <%
7
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
8
+ locals = @row_partial_locals
9
+ else
10
+ locals = {}
11
+ end
12
+ %>
13
+
6
14
  // Refresh the list
7
- $('#div_<%= @resource_options[:item_name] %>_index').html("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/index")) %>");
15
+ $('#div_<%= @resource_options[:item_name] %>_index').html("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/index", locals: locals)) %>");
8
16
 
9
17
  <% else %>
10
18
 
@@ -1,7 +1,14 @@
1
1
  <% if @r_object && @r_object.errors.blank? %>
2
2
 
3
+ <%
4
+ locals = {@resource_options[:item_name].to_sym => @r_object, i: -1}
5
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
6
+ locals.merge!(@row_partial_locals)
7
+ end
8
+ %>
9
+
3
10
  // Updating the edited row and highlighting it
4
- $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: { @resource_options[:item_name].to_sym => @r_object, i: -1})) %>");
11
+ $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: locals)) %>");
5
12
  $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd");
6
13
 
7
14
  <% if @resource_options[:show_modal_after_update] %>
@@ -1,7 +1,14 @@
1
1
  <% if @r_object.errors.blank? %>
2
2
 
3
+ <%
4
+ locals = {@resource_options[:item_name].to_sym => @r_object, i: -1}
5
+ if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty?
6
+ locals.merge!(@row_partial_locals)
7
+ end
8
+ %>
9
+
3
10
  // Updating the edited row and highlighting it
4
- $('#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>').replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: { @resource_options[:item_name].to_sym => @r_object, i: -1})) %>");
11
+ $('#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>').replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: locals)) %>");
5
12
  $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd");
6
13
 
7
14
  <% if @resource_options[:show_modal_after_update] %>
@@ -1,7 +1,7 @@
1
1
  <div class="row">
2
2
  <% items.each do |key, values| %>
3
3
  <% next unless values[:has_permission] %>
4
- <div class="col-lg-2 col-md-3 col-sm-6 col-xs-6">
4
+ <div class="col-lg-2 col-md-2 col-sm-3 col-xs-4">
5
5
 
6
6
  <div class="xe-widget xe-vertical-counter xe-vertical-counter-white" data-count=".num" data-from="0" data-to="128" data-duration="4" style="min-height:230px;">
7
7
  <%= link_to values[:url] do %>
@@ -5,7 +5,7 @@
5
5
  <meta name="description" content="Admin Module" />
6
6
  <meta name="author" content="Right IT Solutions" />
7
7
 
8
- <link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon">
8
+ <link rel="shortcut icon" href="/assets/favicon.png" type="image/x-icon">
9
9
  <title><%= title -%></title>
10
10
  <%#= meta_tags %>
11
11
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  <!-- Javascripts -->
40
40
 
41
- <%= javascript_include_tag "jquery_with_ujs" -%>
41
+ <%= javascript_include_tag "jquery_and_family" -%>
42
42
 
43
43
  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
44
44
  <!--[if lt IE 9]>
@@ -1,4 +1,4 @@
1
- <div class="sidebar-menu toggle-others fixed">
1
+ <div class="sidebar-menu toggle-others collapsed">
2
2
 
3
3
  <div class="sidebar-menu-inner">
4
4
 
@@ -25,7 +25,7 @@
25
25
  <%= render :partial=>"/layouts/kuppayam/heading" -%>
26
26
 
27
27
  <%#* Show flash messages if controller has set any. -%>
28
- <div id="div_flash_message" class="mt-10">
28
+ <div id="div_flash_message">
29
29
  <%= flash_message(false) if defined?(flash) -%>
30
30
  </div>
31
31
 
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <!-- Head -->
5
5
  <%= render :partial=>"/layouts/kuppayam/head" -%>
6
- <%= javascript_include_tag "jquery_with_ujs" -%>
6
+ <%= javascript_include_tag "jquery_and_family" -%>
7
7
  </head>
8
8
 
9
9
  <body>
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <!-- Head -->
5
5
  <%= render :partial=>"/layouts/kuppayam/head" -%>
6
- <%= javascript_include_tag "jquery_with_ujs" -%>
6
+ <%= javascript_include_tag "jquery_and_family" -%>
7
7
  </head>
8
8
 
9
9
  <body>
@@ -22,7 +22,7 @@
22
22
  </th>
23
23
 
24
24
  <td class="display-image">
25
- <%%= display_thumbnail_small(<%= instance_name %>) %>
25
+ <%%= display_thumbnail(<%= instance_name %>) %>
26
26
  </td>
27
27
 
28
28
  <td class="display-link"><%%= link_to <%= instance_name %>.display_name, <%= instance_name %>_path(<%= instance_name %>), remote: true %></td>
@@ -5,7 +5,7 @@
5
5
  </th>
6
6
 
7
7
  <td class="display-image">
8
- <%%= display_thumbnail_small(<%= instance_name %>) %>
8
+ <%%= display_thumbnail(<%= instance_name %>) %>
9
9
  </td>
10
10
 
11
11
  <td class="display-link"><%%= link_to <%= instance_name %>.title, <%= instance_name %>_path(<%= instance_name %>), remote: true %></td>
@@ -7,7 +7,7 @@ module Kuppayam
7
7
  config.autoload_paths << File.expand_path("../extras", __FILE__)
8
8
 
9
9
  initializer "kuppayam.assets.precompile" do |app|
10
- app.config.assets.precompile += %w( kuppayam.js jquery_with_ujs.js kuppayam.css wysiwyg-color.css)
10
+ app.config.assets.precompile += %w( kuppayam.js jquery_and_family.js kuppayam.css jquery_and_family.css wysiwyg-color.css)
11
11
  end
12
12
 
13
13
  config.before_initialize do
@@ -1,3 +1,3 @@
1
1
  module Kuppayam
2
- VERSION = '0.1.34'
2
+ VERSION = '0.1.35'
3
3
  end
@@ -0,0 +1,333 @@
1
+ Authors ordered by first contribution
2
+ A list of current team members is available at http://jqueryui.com/about
3
+
4
+ Paul Bakaus <paul.bakaus@gmail.com>
5
+ Richard Worth <rdworth@gmail.com>
6
+ Yehuda Katz <wycats@gmail.com>
7
+ Sean Catchpole <sean@sunsean.com>
8
+ John Resig <jeresig@gmail.com>
9
+ Tane Piper <piper.tane@gmail.com>
10
+ Dmitri Gaskin <dmitrig01@gmail.com>
11
+ Klaus Hartl <klaus.hartl@gmail.com>
12
+ Stefan Petre <stefan.petre@gmail.com>
13
+ Gilles van den Hoven <gilles@webunity.nl>
14
+ Micheil Bryan Smith <micheil@brandedcode.com>
15
+ Jörn Zaefferer <joern.zaefferer@gmail.com>
16
+ Marc Grabanski <m@marcgrabanski.com>
17
+ Keith Wood <kbwood@iinet.com.au>
18
+ Brandon Aaron <brandon.aaron@gmail.com>
19
+ Scott González <scott.gonzalez@gmail.com>
20
+ Eduardo Lundgren <eduardolundgren@gmail.com>
21
+ Aaron Eisenberger <aaronchi@gmail.com>
22
+ Joan Piedra <theneojp@gmail.com>
23
+ Bruno Basto <b.basto@gmail.com>
24
+ Remy Sharp <remy@leftlogic.com>
25
+ Bohdan Ganicky <bohdan.ganicky@gmail.com>
26
+ David Bolter <david.bolter@gmail.com>
27
+ Chi Cheng <cloudream@gmail.com>
28
+ Ca-Phun Ung <pazu2k@gmail.com>
29
+ Ariel Flesler <aflesler@gmail.com>
30
+ Maggie Wachs <maggie@filamentgroup.com>
31
+ Scott Jehl <scottjehl@gmail.com>
32
+ Todd Parker <todd@filamentgroup.com>
33
+ Andrew Powell <andrew@shellscape.org>
34
+ Brant Burnett <btburnett3@gmail.com>
35
+ Douglas Neiner <doug@dougneiner.com>
36
+ Paul Irish <paul.irish@gmail.com>
37
+ Ralph Whitbeck <ralph.whitbeck@gmail.com>
38
+ Thibault Duplessis <thibault.duplessis@gmail.com>
39
+ Dominique Vincent <dominique.vincent@toitl.com>
40
+ Jack Hsu <jack.hsu@gmail.com>
41
+ Adam Sontag <ajpiano@ajpiano.com>
42
+ Carl Fürstenberg <carl@excito.com>
43
+ Kevin Dalman <development@allpro.net>
44
+ Alberto Fernández Capel <afcapel@gmail.com>
45
+ Jacek Jędrzejewski (http://jacek.jedrzejewski.name)
46
+ Ting Kuei <ting@kuei.com>
47
+ Samuel Cormier-Iijima <sam@chide.it>
48
+ Jon Palmer <jonspalmer@gmail.com>
49
+ Ben Hollis <bhollis@amazon.com>
50
+ Justin MacCarthy <Justin@Rubystars.biz>
51
+ Eyal Kobrigo <kobrigo@hotmail.com>
52
+ Tiago Freire <tiago.freire@gmail.com>
53
+ Diego Tres <diegotres@gmail.com>
54
+ Holger Rüprich <holger@rueprich.de>
55
+ Ziling Zhao <zilingzhao@gmail.com>
56
+ Mike Alsup <malsup@gmail.com>
57
+ Robson Braga Araujo <robsonbraga@gmail.com>
58
+ Pierre-Henri Ausseil <ph.ausseil@gmail.com>
59
+ Christopher McCulloh <cmcculloh@gmail.com>
60
+ Andrew Newcomb <ext.github@preceptsoftware.co.uk>
61
+ Lim Chee Aun <cheeaun@gmail.com>
62
+ Jorge Barreiro <yortx.barry@gmail.com>
63
+ Daniel Steigerwald <daniel@steigerwald.cz>
64
+ John Firebaugh <john_firebaugh@bigfix.com>
65
+ John Enters <github@darkdark.net>
66
+ Andrey Kapitcyn <ru.m157y@gmail.com>
67
+ Dmitry Petrov <dpetroff@gmail.com>
68
+ Eric Hynds <eric@hynds.net>
69
+ Chairat Sunthornwiphat <pipo@sixhead.com>
70
+ Josh Varner <josh.varner@gmail.com>
71
+ Stéphane Raimbault <stephane.raimbault@gmail.com>
72
+ Jay Merrifield <fracmak@gmail.com>
73
+ J. Ryan Stinnett <jryans@gmail.com>
74
+ Peter Heiberg <peter@heiberg.se>
75
+ Alex Dovenmuehle <adovenmuehle@gmail.com>
76
+ Jamie Gegerson <git@jamiegegerson.com>
77
+ Raymond Schwartz <skeetergraphics@gmail.com>
78
+ Phillip Barnes <philbar@gmail.com>
79
+ Kyle Wilkinson <kai@wikyd.org>
80
+ Khaled AlHourani <me@khaledalhourani.com>
81
+ Marian Rudzynski <mr@impaled.org>
82
+ Jean-Francois Remy <jeff@melix.org>
83
+ Doug Blood <dougblood@gmail.com>
84
+ Filippo Cavallarin <filippo.cavallarin@codseq.it>
85
+ Heiko Henning <heiko@thehennings.ch>
86
+ Aliaksandr Rahalevich <saksmlz@gmail.com>
87
+ Mario Visic <mario@mariovisic.com>
88
+ Xavi Ramirez <xavi.rmz@gmail.com>
89
+ Max Schnur <max.schnur@gmail.com>
90
+ Saji Nediyanchath <saji89@gmail.com>
91
+ Corey Frang <gnarf37@gmail.com>
92
+ Aaron Peterson <aaronp123@yahoo.com>
93
+ Ivan Peters <ivan@ivanpeters.com>
94
+ Mohamed Cherif Bouchelaghem <cherifbouchelaghem@yahoo.fr>
95
+ Marcos Sousa <falecomigo@marcossousa.com>
96
+ Michael DellaNoce <mdellanoce@mailtrust.com>
97
+ George Marshall <echosx@gmail.com>
98
+ Tobias Brunner <tobias@strongswan.org>
99
+ Martin Solli <msolli@gmail.com>
100
+ David Petersen <public@petersendidit.com>
101
+ Dan Heberden <danheberden@gmail.com>
102
+ William Kevin Manire <williamkmanire@gmail.com>
103
+ Gilmore Davidson <gilmoreorless@gmail.com>
104
+ Michael Wu <michaelmwu@gmail.com>
105
+ Adam Parod <mystic414@gmail.com>
106
+ Guillaume Gautreau <guillaume+github@ghusse.com>
107
+ Marcel Toele <EleotleCram@gmail.com>
108
+ Dan Streetman <ddstreet@ieee.org>
109
+ Matt Hoskins <matt@nipltd.com>
110
+ Giovanni Giacobbi <giovanni@giacobbi.net>
111
+ Kyle Florence <kyle.florence@gmail.com>
112
+ Pavol Hluchý <lopo@losys.sk>
113
+ Hans Hillen <hans.hillen@gmail.com>
114
+ Mark Johnson <virgofx@live.com>
115
+ Trey Hunner <treyhunner@gmail.com>
116
+ Shane Whittet <whittet@gmail.com>
117
+ Edward A Faulkner <ef@alum.mit.edu>
118
+ Adam Baratz <adam@adambaratz.com>
119
+ Kato Kazuyoshi <kato.kazuyoshi@gmail.com>
120
+ Eike Send <eike.send@gmail.com>
121
+ Kris Borchers <kris.borchers@gmail.com>
122
+ Eddie Monge <eddie@eddiemonge.com>
123
+ Israel Tsadok <itsadok@gmail.com>
124
+ Carson McDonald <carson@ioncannon.net>
125
+ Jason Davies <jason@jasondavies.com>
126
+ Garrison Locke <gplocke@gmail.com>
127
+ David Murdoch <david@davidmurdoch.com>
128
+ Benjamin Scott Boyle <benjamins.boyle@gmail.com>
129
+ Jesse Baird <jebaird@gmail.com>
130
+ Jonathan Vingiano <jvingiano@gmail.com>
131
+ Dylan Just <dev@ephox.com>
132
+ Hiroshi Tomita <tomykaira@gmail.com>
133
+ Glenn Goodrich <glenn.goodrich@gmail.com>
134
+ Tarafder Ashek-E-Elahi <mail.ashek@gmail.com>
135
+ Ryan Neufeld <ryan@neufeldmail.com>
136
+ Marc Neuwirth <marc.neuwirth@gmail.com>
137
+ Philip Graham <philip.robert.graham@gmail.com>
138
+ Benjamin Sterling <benjamin.sterling@kenzomedia.com>
139
+ Wesley Walser <waw325@gmail.com>
140
+ Kouhei Sutou <kou@clear-code.com>
141
+ Karl Kirch <karlkrch@gmail.com>
142
+ Chris Kelly <ckdake@ckdake.com>
143
+ Jason Oster <jay@kodewerx.org>
144
+ Felix Nagel <info@felixnagel.com>
145
+ Alexander Polomoshnov <alex.polomoshnov@gmail.com>
146
+ David Leal <dgleal@gmail.com>
147
+ Igor Milla <igor.fsp.milla@gmail.com>
148
+ Dave Methvin <dave.methvin@gmail.com>
149
+ Florian Gutmann <f.gutmann@chronimo.com>
150
+ Marwan Al Jubeh <marwan.aljubeh@gmail.com>
151
+ Milan Broum <midlis@googlemail.com>
152
+ Sebastian Sauer <info@dynpages.de>
153
+ Gaëtan Muller <m.gaetan89@gmail.com>
154
+ Michel Weimerskirch <michel@weimerskirch.net>
155
+ William Griffiths <william@ycymro.com>
156
+ Stojce Slavkovski <stojce@gmail.com>
157
+ David Soms <david.soms@gmail.com>
158
+ David De Sloovere <david.desloovere@outlook.com>
159
+ Michael P. Jung <michael.jung@terreon.de>
160
+ Shannon Pekary <spekary@gmail.com>
161
+ Dan Wellman <danwellman@hotmail.com>
162
+ Matthew Edward Hutton <meh@corefiling.co.uk>
163
+ James Khoury <james@jameskhoury.com>
164
+ Rob Loach <robloach@gmail.com>
165
+ Alberto Monteiro <betimbrasil@gmail.com>
166
+ Alex Rhea <alex.rhea@gmail.com>
167
+ Krzysztof Rosiński <rozwell69@gmail.com>
168
+ Ryan Olton <oltonr@gmail.com>
169
+ Genie <386@mail.com>
170
+ Rick Waldron <waldron.rick@gmail.com>
171
+ Ian Simpson <spoonlikesham@gmail.com>
172
+ Lev Kitsis <spam4lev@gmail.com>
173
+ TJ VanToll <tj.vantoll@gmail.com>
174
+ Justin Domnitz <jdomnitz@gmail.com>
175
+ Douglas Cerna <douglascerna@yahoo.com>
176
+ Bert ter Heide <bertjh@hotmail.com>
177
+ Jasvir Nagra <jasvir@gmail.com>
178
+ Yuriy Khabarov <13real008@gmail.com>
179
+ Harri Kilpiö <harri.kilpio@gmail.com>
180
+ Lado Lomidze <lado.lomidze@gmail.com>
181
+ Amir E. Aharoni <amir.aharoni@mail.huji.ac.il>
182
+ Simon Sattes <simon.sattes@gmail.com>
183
+ Jo Liss <joliss42@gmail.com>
184
+ Guntupalli Karunakar <karunakarg@yahoo.com>
185
+ Shahyar Ghobadpour <shahyar@gmail.com>
186
+ Lukasz Lipinski <uzza17@gmail.com>
187
+ Timo Tijhof <krinklemail@gmail.com>
188
+ Jason Moon <jmoon@socialcast.com>
189
+ Martin Frost <martinf55@hotmail.com>
190
+ Eneko Illarramendi <eneko@illarra.com>
191
+ EungJun Yi <semtlenori@gmail.com>
192
+ Courtland Allen <courtlandallen@gmail.com>
193
+ Viktar Varvanovich <non4eg@gmail.com>
194
+ Danny Trunk <dtrunk90@gmail.com>
195
+ Pavel Stetina <pavel.stetina@nangu.tv>
196
+ Michael Stay <metaweta@gmail.com>
197
+ Steven Roussey <sroussey@gmail.com>
198
+ Michael Hollis <hollis21@gmail.com>
199
+ Lee Rowlands <lee.rowlands@previousnext.com.au>
200
+ Timmy Willison <timmywillisn@gmail.com>
201
+ Karl Swedberg <kswedberg@gmail.com>
202
+ Baoju Yuan <the_guy_1987@hotmail.com>
203
+ Maciej Mroziński <maciej.k.mrozinski@gmail.com>
204
+ Luis Dalmolin <luis.nh@gmail.com>
205
+ Mark Aaron Shirley <maspwr@gmail.com>
206
+ Martin Hoch <martin@fidion.de>
207
+ Jiayi Yang <tr870829@gmail.com>
208
+ Philipp Benjamin Köppchen <xgxtpbk@gws.ms>
209
+ Sindre Sorhus <sindresorhus@gmail.com>
210
+ Bernhard Sirlinger <bernhard.sirlinger@tele2.de>
211
+ Jared A. Scheel <jared@jaredscheel.com>
212
+ Rafael Xavier de Souza <rxaviers@gmail.com>
213
+ John Chen <zhang.z.chen@intel.com>
214
+ Robert Beuligmann <robertbeuligmann@gmail.com>
215
+ Dale Kocian <dale.kocian@gmail.com>
216
+ Mike Sherov <mike.sherov@gmail.com>
217
+ Andrew Couch <andy@couchand.com>
218
+ Marc-Andre Lafortune <github@marc-andre.ca>
219
+ Nate Eagle <nate.eagle@teamaol.com>
220
+ David Souther <davidsouther@gmail.com>
221
+ Mathias Stenbom <mathias@stenbom.com>
222
+ Sergey Kartashov <ebishkek@yandex.ru>
223
+ Avinash R <nashpapa@gmail.com>
224
+ Ethan Romba <ethanromba@gmail.com>
225
+ Cory Gackenheimer <cory.gack@gmail.com>
226
+ Juan Pablo Kaniefsky <jpkaniefsky@gmail.com>
227
+ Roman Salnikov <bardt.dz@gmail.com>
228
+ Anika Henke <anika@selfthinker.org>
229
+ Samuel Bovée <samycookie2000@yahoo.fr>
230
+ Fabrício Matté <ult_combo@hotmail.com>
231
+ Viktor Kojouharov <vkojouharov@gmail.com>
232
+ Pawel Maruszczyk (http://hrabstwo.net)
233
+ Pavel Selitskas <p.selitskas@gmail.com>
234
+ Bjørn Johansen <post@bjornjohansen.no>
235
+ Matthieu Penant <thieum22@hotmail.com>
236
+ Dominic Barnes <dominic@dbarnes.info>
237
+ David Sullivan <david.sullivan@gmail.com>
238
+ Thomas Jaggi <thomas@responsive.ch>
239
+ Vahid Sohrabloo <vahid4134@gmail.com>
240
+ Travis Carden <travis.carden@gmail.com>
241
+ Bruno M. Custódio <bruno@brunomcustodio.com>
242
+ Nathanael Silverman <nathanael.silverman@gmail.com>
243
+ Christian Wenz <christian@wenz.org>
244
+ Steve Urmston <steve@urm.st>
245
+ Zaven Muradyan <megalivoithos@gmail.com>
246
+ Woody Gilk <shadowhand@deviantart.com>
247
+ Zbigniew Motyka <zbigniew.motyka@gmail.com>
248
+ Suhail Alkowaileet <xsoh.k7@gmail.com>
249
+ Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
250
+ David Hansen <hansede@gmail.com>
251
+ Brian Grinstead <briangrinstead@gmail.com>
252
+ Christian Klammer <christian314159@gmail.com>
253
+ Steven Luscher <jquerycla@steveluscher.com>
254
+ Gan Eng Chin <engchin.gan@gmail.com>
255
+ Gabriel Schulhof <gabriel.schulhof@intel.com>
256
+ Alexander Schmitz <arschmitz@gmail.com>
257
+ Vilhjálmur Skúlason <vis@dmm.is>
258
+ Siebrand Mazeland <siebrand@kitano.nl>
259
+ Mohsen Ekhtiari <mohsenekhtiari@yahoo.com>
260
+ Pere Orga <gotrunks@gmail.com>
261
+ Jasper de Groot <mail@ugomobi.com>
262
+ Stephane Deschamps <stephane.deschamps@gmail.com>
263
+ Jyoti Deka <dekajp@gmail.com>
264
+ Andrei Picus <office.nightcrawler@gmail.com>
265
+ Ondrej Novy <novy@ondrej.org>
266
+ Jacob McCutcheon <jacob.mccutcheon@gmail.com>
267
+ Monika Piotrowicz <monika.piotrowicz@gmail.com>
268
+ Imants Horsts <imants.horsts@inbox.lv>
269
+ Eric Dahl <eric.c.dahl@gmail.com>
270
+ Dave Stein <dave@behance.com>
271
+ Dylan Barrell <dylan@barrell.com>
272
+ Daniel DeGroff <djdegroff@gmail.com>
273
+ Michael Wiencek <mwtuea@gmail.com>
274
+ Thomas Meyer <meyertee@gmail.com>
275
+ Ruslan Yakhyaev <ruslan@ruslan.io>
276
+ Brian J. Dowling <bjd-dev@simplicity.net>
277
+ Ben Higgins <ben@extrahop.com>
278
+ Yermo Lamers <yml@yml.com>
279
+ Patrick Stapleton <github@gdi2290.com>
280
+ Trisha Crowley <trisha.crowley@gmail.com>
281
+ Usman Akeju <akeju00+github@gmail.com>
282
+ Rodrigo Menezes <rod333@gmail.com>
283
+ Jacques Perrault <jacques_perrault@us.ibm.com>
284
+ Frederik Elvhage <frederik.elvhage@googlemail.com>
285
+ Will Holley <willholley@gmail.com>
286
+ Uri Gilad <antishok@gmail.com>
287
+ Richard Gibson <richard.gibson@gmail.com>
288
+ Simen Bekkhus <sbekkhus91@gmail.com>
289
+ Chen Eshchar <eshcharc@gmail.com>
290
+ Bruno Pérel <brunoperel@gmail.com>
291
+ Mohammed Alshehri <m@dralshehri.com>
292
+ Lisa Seacat DeLuca <ldeluca@us.ibm.com>
293
+ Anne-Gaelle Colom <coloma@westminster.ac.uk>
294
+ Adam Foster <slimfoster@gmail.com>
295
+ Luke Page <luke.a.page@gmail.com>
296
+ Daniel Owens <daniel@matchstickmixup.com>
297
+ Michael Orchard <morchard@scottlogic.co.uk>
298
+ Marcus Warren <marcus@envoke.com>
299
+ Nils Heuermann <nils@world-of-scripts.de>
300
+ Marco Ziech <marco@ziech.net>
301
+ Patricia Juarez <patrixd@gmail.com>
302
+ Ben Mosher <me@benmosher.com>
303
+ Ablay Keldibek <atomio.ak@gmail.com>
304
+ Thomas Applencourt <thomas.applencourt@irsamc.ups-tlse.fr>
305
+ Jiabao Wu <jiabao.foss@gmail.com>
306
+ Eric Lee Carraway <github@ericcarraway.com>
307
+ Victor Homyakov <vkhomyackov@gmail.com>
308
+ Myeongjin Lee <aranet100@gmail.com>
309
+ Liran Sharir <lsharir@gmail.com>
310
+ Weston Ruter <weston@xwp.co>
311
+ Mani Mishra <manimishra902@gmail.com>
312
+ Hannah Methvin <hannahmethvin@gmail.com>
313
+ Leonardo Balter <leonardo.balter@gmail.com>
314
+ Benjamin Albert <benjamin_a5@yahoo.com>
315
+ Michał Gołębiowski <m.goleb@gmail.com>
316
+ Alyosha Pushak <alyosha.pushak@gmail.com>
317
+ Fahad Ahmad <fahadahmad41@hotmail.com>
318
+ Matt Brundage <github@mattbrundage.com>
319
+ Francesc Baeta <francesc.baeta@gmail.com>
320
+ Piotr Baran <piotros@wp.pl>
321
+ Mukul Hase <mukulhase@gmail.com>
322
+ Konstantin Dinev <kdinev@mail.bw.edu>
323
+ Rand Scullard <rand@randscullard.com>
324
+ Dan Strohl <dan@wjcg.net>
325
+ Maksim Ryzhikov <rv.maksim@gmail.com>
326
+ Amine HADDAD <haddad@allegorie.tv>
327
+ Amanpreet Singh <apsdehal@gmail.com>
328
+ Alexey Balchunas <bleshik@gmail.com>
329
+ Peter Kehl <peter.kehl@gmail.com>
330
+ Peter Dave Hello <hsu@peterdavehello.org>
331
+ Johannes Schäfer <johnschaefer@gmx.de>
332
+ Ville Skyttä <ville.skytta@iki.fi>
333
+ Ryan Oriecuia <ryan.oriecuia@visioncritical.com>