tramway-admin 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/tramway/admin/ckeditor/config.js +3 -0
- data/app/views/layouts/tramway/admin/application.html.haml +5 -0
- data/config/initializers/assets.rb +1 -0
- data/config/initializers/ckeditor.rb +3 -0
- data/lib/tramway/admin/version.rb +1 -1
- metadata +5 -3
- data/app/assets/javascripts/tramway/admin/tramway/admin/records.js +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede3dd0927c3ca2efff6c3099adc8feb5967bda5e7ec26e5c76a7ae38fd8507c
|
4
|
+
data.tar.gz: 56c36d25bbfe1e535f0dd438470cb5f55bb49cc2b25a4b1d5401c280cfc67946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57d3936c3fb37f8b2998f820b0533c9102996bd7d4bf2eb8ffaf685ac1a32b765fc98a679c288d1edb4365650d7c61635ea88ea50eed00326456bcdd5977ec16
|
7
|
+
data.tar.gz: d11ece18b797fd1cf74b52dc8e76295c18c2b681d4678d08ea6b7de6d8397b3ec3d9aea7908602d500d5971477a6442784c847f2e3cae9e2a5deeef19950f7e6
|
@@ -2,6 +2,11 @@
|
|
2
2
|
%head
|
3
3
|
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
4
4
|
%title Tramway admin
|
5
|
+
= javascript_include_tag Ckeditor.cdn_url
|
6
|
+
:javascript
|
7
|
+
CKEDITOR.replace( 'post_content', {
|
8
|
+
customConfig: "#{javascript_url('tramway/admin/ckeditor/config.js')}"
|
9
|
+
} );
|
5
10
|
= stylesheet_link_tag "tramway/admin/application", media: "all"
|
6
11
|
= javascript_include_tag "tramway/admin/application"
|
7
12
|
= csrf_meta_tags
|
@@ -0,0 +1 @@
|
|
1
|
+
Rails.application.config.assets.precompile += %w( tramway/admin/ckeditor/* )
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Engine for admin
|
14
14
|
email:
|
@@ -22,8 +22,8 @@ files:
|
|
22
22
|
- Rakefile
|
23
23
|
- app/assets/config/tramway_admin_manifest.js
|
24
24
|
- app/assets/javascripts/tramway/admin/application.js.coffee
|
25
|
+
- app/assets/javascripts/tramway/admin/ckeditor/config.js
|
25
26
|
- app/assets/javascripts/tramway/admin/records.js
|
26
|
-
- app/assets/javascripts/tramway/admin/tramway/admin/records.js
|
27
27
|
- app/assets/javascripts/tramway/admin/welcome.js
|
28
28
|
- app/assets/stylesheets/tramway/admin/application.css.sass
|
29
29
|
- app/assets/stylesheets/tramway/admin/records.css
|
@@ -53,6 +53,8 @@ files:
|
|
53
53
|
- app/views/tramway/admin/singletons/edit.html.haml
|
54
54
|
- app/views/tramway/admin/singletons/show.html.haml
|
55
55
|
- app/views/tramway/admin/welcome/index.html.haml
|
56
|
+
- config/initializers/assets.rb
|
57
|
+
- config/initializers/ckeditor.rb
|
56
58
|
- config/locales/ru.collections.yml
|
57
59
|
- config/routes.rb
|
58
60
|
- lib/tasks/tramway/admin_tasks.rake
|