tkh_admin_panel 0.9.7 → 0.9.8

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
  SHA1:
3
- metadata.gz: 0ffeea64c119b537323becf7d0b9e138b0309a51
4
- data.tar.gz: 8a48f278b0e82bf3c5f23c6c88fc29381b7935dd
3
+ metadata.gz: 881a06c13746d2ac4daf7b1f54248d17bee5c9e7
4
+ data.tar.gz: 09ee2692691f7ccbc5ff909d0f3942f27eb70150
5
5
  SHA512:
6
- metadata.gz: 575c4626320fe29f32d6d2815c04fbb378763ee99da974d132abcc6fe22edf072bd4338f0aedf2380b7d1df6901f02ade434152b834a146a63525fa6bfa750c8
7
- data.tar.gz: 60536a2cea878edfcb2787ff8da6c512cdec68ea3213cd0973cdb49cd2d186524129252ac412b12f7ecf47c466a16d0fe0fd6eb8bc6a4994fcaedc8aa329344d
6
+ metadata.gz: 0ae6f1c9f9074ec52d02fbbe180827ac0d19a37dff22caa58c4faf8801e5575cca25598809fa3d08f2eb6d8930c4566330c5938e860ad0a881c02715b5fa8cad
7
+ data.tar.gz: 89d20543b966821b5917eb0cca649fa7d17abe9c18af4cbf283e9a3ce049af01fa9a96f78a508f7e6ad108531da4b97b011c6c23882142ebed3c4a6b3367e737
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.8
6
+
7
+ * Added search for illustrations
8
+
5
9
 
6
10
  ## 0.9.4 -> 0.9.7
7
11
 
@@ -0,0 +1,7 @@
1
+ jQuery ->
2
+
3
+ # Typeahead form field for autocomplete associations
4
+ $('#illustration_name').typeahead(
5
+ # items: 10,
6
+ name: 'illustration_name',
7
+ local: $('#illustration_name').data('source') )
@@ -144,3 +144,8 @@ margin: 0;
144
144
  overflow-wrap: break-word;
145
145
  word-wrap: break-word;
146
146
  }
147
+
148
+ #search-form {
149
+ margin-bottom: 5em;
150
+ text-align: center;
151
+ }
@@ -79,6 +79,8 @@
79
79
  <% # the twitter typeahead javascript library needs all typeahead form fields to be present in DOM. this is an ugly hack %>
80
80
  <% if controller.controller_name == 'pages' %>
81
81
  <%= javascript_include_tag 'admin/pages' %>
82
+ <% elsif controller.controller_name == 'illustrations' %>
83
+ <%= javascript_include_tag 'admin/illustrations' %>
82
84
  <% end %>
83
85
 
84
86
  </body>
@@ -11,7 +11,7 @@ require 'jquery-ui-rails'
11
11
  module TkhAdminPanel
12
12
  class Engine < ::Rails::Engine
13
13
  initializer "TkhAdminPanel precompile hook", :group => :all do |app|
14
- app.config.assets.precompile += ['admin.js', 'admin.css', 'admin/pages.js']
14
+ app.config.assets.precompile += ['admin.js', 'admin.css', 'admin/pages.js', 'admin/illustrations.js']
15
15
  end
16
16
 
17
17
  # to extend the application_controller in the host app
@@ -1,3 +1,3 @@
1
1
  module TkhAdminPanel
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_admin_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-04 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -140,6 +140,7 @@ files:
140
140
  - app/assets/javascripts/admin.js
141
141
  - app/assets/javascripts/admin/custom.js.coffee
142
142
  - app/assets/javascripts/admin/drag-and-sort.js.coffee
143
+ - app/assets/javascripts/admin/illustrations.js.coffee
143
144
  - app/assets/javascripts/admin/pages.js.coffee
144
145
  - app/assets/stylesheets/admin.css.scss
145
146
  - app/assets/stylesheets/admin/bootstrap_and_overrides.css.scss