rails_admin_aaf_theme 0.1.3 → 0.1.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c24a61b7250ec035afc1f5a411a726c6cc3c25ce65e24cd3b4d85ebbfe6111
|
4
|
+
data.tar.gz: 6ca706b36afa963cd137675babe45dadd5715b8215f54d7dc082b6b65b626569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa96755159248591cc558efd81d15fb047e3901ba26c37d38217fe346db6b0017231e5449621ca4a575405e204dca5c592e5fdf1d87d3beb7ed11f4ea3a6e1d
|
7
|
+
data.tar.gz: 0642c65f9dc5f4f9eb49f3f3eb6339482c2fc8506c9cacd4ae59bbfe68620d98f527aa695a9af905266a9bb2a07a0bd2d0d1435c1997a5e5092b9be24b201278
|
@@ -3,18 +3,9 @@
|
|
3
3
|
!!! 5
|
4
4
|
%html{lang: I18n.locale}
|
5
5
|
%head
|
6
|
-
|
7
|
-
%meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
|
8
|
-
%meta{content: "width=device-width, initial-scale=1", name: "viewport; charset=utf-8"}
|
9
|
-
%meta{content: "NONE,NOARCHIVE", name: "robots"}
|
10
|
-
= csrf_meta_tag
|
11
|
-
= stylesheet_link_tag "rails_admin/rails_admin.css", media: :all
|
12
|
-
= javascript_include_tag "rails_admin/rails_admin.js"
|
13
|
-
-# Initialize JS simple i18n
|
14
|
-
= content_security_policy_nonce do
|
15
|
-
:plain
|
16
|
-
RailsAdmin.I18n.init('#{I18n.locale}', JSON.parse("#{j I18n.t("admin.js").to_json}"))
|
6
|
+
= render "layouts/rails_admin/head"
|
17
7
|
%body.rails_admin
|
8
|
+
#admin-js{:'data-i18n-options' => I18n.t("admin.js").to_json}
|
18
9
|
#loading.label.label-warning{style: 'display:none; position:fixed; right:20px; bottom:20px; z-index:100000'}= t('admin.loading')
|
19
10
|
= render 'layouts/aaf_header'
|
20
11
|
%section.content
|
@@ -23,5 +14,6 @@
|
|
23
14
|
.col-sm-3.custom-sidebar-nav
|
24
15
|
= render "layouts/rails_admin/sidebar_navigation"
|
25
16
|
.col-sm-9
|
26
|
-
.content{:'data-pjax-container' => true}
|
17
|
+
.content{:'data-pjax-container' => true}
|
18
|
+
= render template: 'layouts/rails_admin/pjax'
|
27
19
|
= render 'layouts/aaf_footer'
|
@@ -1,11 +1,7 @@
|
|
1
1
|
/ https://github.com/sferik/rails_admin/blob/master/app/views/layouts/rails_admin/pjax.html.haml
|
2
2
|
|
3
|
-
= content_security_policy_nonce do
|
4
|
-
:plain
|
5
|
-
$('.nav.nav-pills li.active').removeClass('active');
|
6
|
-
$('.nav.nav-pills li[data-model="#{@abstract_model.to_param}"]').addClass('active');
|
7
3
|
%title= "#{@abstract_model.try(:pretty_name) || @page_name} | #{[_get_plugin_name[0] || 'Rails', _get_plugin_name[1] || 'Admin'].join(' ')}"
|
8
|
-
.page-header
|
4
|
+
.page-header{data: {model: @abstract_model.to_param}}
|
9
5
|
%h1= @page_name
|
10
6
|
- flash && flash.each do |key, value|
|
11
7
|
.alert.alert-dismissible{class: flash_alert_class(key)}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_aaf_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Caught
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.
|
92
|
+
rubygems_version: 3.1.2
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: AAF theme for Rails Admin
|