ksk 0.1.1 → 0.1.2
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.
- data/app/controllers/{kiosk → ksk}/navigations_controller.rb +0 -0
- data/app/helpers/{kiosk → ksk}/application_helper.rb +0 -0
- data/app/views/bhf/pages/_navi.html.haml +3 -3
- data/config/locales/de.yml +1 -1
- data/config/locales/en.yml +1 -1
- data/lib/{kiosk.rb → ksk.rb} +2 -2
- data/lib/rails/generators/{kiosk → ksk}/templates/initializer.rb +0 -0
- data/vendor/assets/javascripts/{kiosk → ksk}/classes/NaviAdmin.js +0 -0
- data/vendor/assets/stylesheets/{kiosk → ksk}/application.css.sass +0 -0
- metadata +8 -8
|
File without changes
|
|
File without changes
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
= p_recursive_navi(Navigation.top_level, 0, 99, 'ol', ' id="tree" class="multi_grid"').html_safe
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
= javascript_include_tag '
|
|
21
|
+
= javascript_include_tag 'ksk/classes/NaviAdmin'
|
|
22
22
|
:javascript
|
|
23
23
|
var naviA = new NaviAdmin({
|
|
24
24
|
elemTree: $('tree'),
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
queryParams[this.getNaviName()] = this.getIdPositions();
|
|
32
32
|
|
|
33
33
|
new Request({
|
|
34
|
-
url: '#{
|
|
34
|
+
url: '#{sort_ksk_navigations_path}'
|
|
35
35
|
}).post(queryParams);
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
title: name
|
|
47
47
|
};
|
|
48
48
|
new Request({
|
|
49
|
-
url: '#{
|
|
49
|
+
url: '#{ksk_navigations_path}',
|
|
50
50
|
onSuccess: function(responseText){
|
|
51
51
|
new Element('li', {
|
|
52
52
|
'id': naviName+'_'+responseText,
|
data/config/locales/de.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
de:
|
|
2
|
-
|
|
2
|
+
ksk: a
|
data/config/locales/en.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
en:
|
|
2
|
-
|
|
2
|
+
ksk: a
|
data/lib/{kiosk.rb → ksk.rb}
RENAMED
|
@@ -3,10 +3,10 @@ require 'stringex'
|
|
|
3
3
|
module Ksk
|
|
4
4
|
class Engine < Rails::Engine
|
|
5
5
|
|
|
6
|
-
config.css << '
|
|
6
|
+
config.css << 'ksk/application'
|
|
7
7
|
|
|
8
8
|
config.navigation_routes = lambda {
|
|
9
|
-
namespace :
|
|
9
|
+
namespace :ksk, path: Bhf::Engine.config.mount_at do
|
|
10
10
|
resources :navigations, only: [:create] do
|
|
11
11
|
put :sort, on: :collection
|
|
12
12
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ksk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -50,8 +50,8 @@ extensions: []
|
|
|
50
50
|
extra_rdoc_files:
|
|
51
51
|
- README.md
|
|
52
52
|
files:
|
|
53
|
-
- app/controllers/
|
|
54
|
-
- app/helpers/
|
|
53
|
+
- app/controllers/ksk/navigations_controller.rb
|
|
54
|
+
- app/helpers/ksk/application_helper.rb
|
|
55
55
|
- app/views/bhf/entries/form/belongs_to/_category.html.haml
|
|
56
56
|
- app/views/bhf/entries/form/column/_image.html.haml
|
|
57
57
|
- app/views/bhf/entries/form/column/_s3_file.html.haml
|
|
@@ -73,12 +73,12 @@ files:
|
|
|
73
73
|
- lib/actives/preview.rb
|
|
74
74
|
- lib/actives/static.rb
|
|
75
75
|
- lib/apdown.rb
|
|
76
|
-
- lib/
|
|
77
|
-
- lib/rails/generators/
|
|
78
|
-
- vendor/assets/javascripts/
|
|
79
|
-
- vendor/assets/stylesheets/
|
|
76
|
+
- lib/ksk.rb
|
|
77
|
+
- lib/rails/generators/ksk/templates/initializer.rb
|
|
78
|
+
- vendor/assets/javascripts/ksk/classes/NaviAdmin.js
|
|
79
|
+
- vendor/assets/stylesheets/ksk/application.css.sass
|
|
80
80
|
- README.md
|
|
81
|
-
homepage: http://github.com/antpaw/
|
|
81
|
+
homepage: http://github.com/antpaw/ksk
|
|
82
82
|
licenses: []
|
|
83
83
|
post_install_message:
|
|
84
84
|
rdoc_options: []
|