aerogel-admin 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +13 -0
- data/Rakefile +1 -0
- data/aerogel-admin.gemspec +31 -0
- data/app/helpers/admin.rb +54 -0
- data/app/helpers/decorators.rb +29 -0
- data/app/helpers/icons.rb +11 -0
- data/app/helpers/table_builder.rb +8 -0
- data/app/helpers/tabs_builder.rb +7 -0
- data/app/routes/admin.rb +37 -0
- data/app/routes/users.rb +71 -0
- data/app/routes/users_access.rb +54 -0
- data/app/routes/users_roles.rb +53 -0
- data/assets/fonts/aerogel-icons.css +28 -0
- data/assets/fonts/aerogel-icons.eot +0 -0
- data/assets/fonts/aerogel-icons.svg +11 -0
- data/assets/fonts/aerogel-icons.ttf +0 -0
- data/assets/fonts/aerogel-icons.woff +0 -0
- data/assets/javascripts/.gitkeep +0 -0
- data/assets/javascripts/controllers/admin-modal.js.coffee +7 -0
- data/assets/javascripts/controllers/admin-modal/admin-modal-form-buttons.js.coffee +56 -0
- data/assets/javascripts/controllers/admin.js.coffee +13 -0
- data/assets/javascripts/controllers/admin/selectize-inputs.js.coffee +7 -0
- data/assets/javascripts/controllers/admin/top-menu-shadow.js.coffee +9 -0
- data/assets/javascripts/utils/ajax-spinner.js.coffee +26 -0
- data/assets/javascripts/utils/ajax-watcher.js.coffee +18 -0
- data/assets/javascripts/utils/bootstrap-modal-reload.js.coffee +8 -0
- data/assets/javascripts/utils/form-data-async.js.coffee +27 -0
- data/assets/javascripts/utils/i18n.js.coffee +27 -0
- data/assets/javascripts/utils/on-future-elements.js.coffee +15 -0
- data/assets/stylesheets/admin/bootstrap-settings.css.scss +33 -0
- data/assets/stylesheets/admin/global.css.scss +61 -0
- data/assets/stylesheets/admin/styles/ajax-indicator.css.scss +26 -0
- data/assets/stylesheets/admin/styles/bootstrap-modal.css.scss +24 -0
- data/assets/stylesheets/admin/styles/language-selector.css.scss +5 -0
- data/assets/stylesheets/admin/styles/page-header.css.scss +7 -0
- data/assets/stylesheets/admin/styles/sticky-footer-navbar.css.scss +34 -0
- data/assets/stylesheets/admin/styles/table.css.scss +3 -0
- data/assets/stylesheets/admin/styles/top-menu.css.scss +3 -0
- data/assets/stylesheets/admin/utils/center-absolutely.css.scss +5 -0
- data/assets/stylesheets/controllers/admin.css.scss +14 -0
- data/assets/vendor/bootstrap-datetimepicker.css.scss +1 -0
- data/assets/vendor/bootstrap-datetimepicker.js.coffee +1 -0
- data/assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css +5 -0
- data/assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js +1 -0
- data/assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.ru.js +163 -0
- data/assets/vendor/moment.js.coffee +1 -0
- data/assets/vendor/momentjs/moment-with-langs.min.js +9 -0
- data/assets/vendor/selectize.css.scss +2 -0
- data/assets/vendor/selectize.js.coffee +1 -0
- data/assets/vendor/selectize/selectize.bootstrap3.css +385 -0
- data/assets/vendor/selectize/selectize.css +311 -0
- data/assets/vendor/selectize/selectize.default.css +381 -0
- data/assets/vendor/selectize/selectize.js +3345 -0
- data/assets/vendor/smart-list-table.css.scss +42 -0
- data/assets/vendor/smart-list-table.js.coffee +1 -0
- data/assets/vendor/smart-list-table/smart-list-table-row.js.coffee +63 -0
- data/assets/vendor/smart-list-table/smart-list-table.css.scss +54 -0
- data/assets/vendor/smart-list-table/smart-list-table.js.coffee +133 -0
- data/assets/vendor/smart-tree-table.css.scss +42 -0
- data/assets/vendor/smart-tree-table.js.coffee +1 -0
- data/assets/vendor/smart-tree-table/smart-tree-table-drag-n-drop.js.coffee +190 -0
- data/assets/vendor/smart-tree-table/smart-tree-table-row.js.coffee +78 -0
- data/assets/vendor/smart-tree-table/smart-tree-table.css.scss +54 -0
- data/assets/vendor/smart-tree-table/smart-tree-table.js.coffee +267 -0
- data/assets/vendor/spin.js +353 -0
- data/config/README.md +3 -0
- data/config/development/.keep +0 -0
- data/config/production/.keep +0 -0
- data/db/model/README.md +1 -0
- data/db/model/admin/user_new_form.rb +40 -0
- data/db/model/user.rb +26 -0
- data/db/seed/01_admin_roles.seed +8 -0
- data/db/seed/02_admin_access.seed +24 -0
- data/db/seed/development/.keep +0 -0
- data/db/seed/development/20_users.seed +45 -0
- data/db/seed/development/admin_users.seed +38 -0
- data/db/seed/production/.keep +0 -0
- data/lib/aerogel/admin.rb +25 -0
- data/lib/aerogel/admin/core.rb +14 -0
- data/lib/aerogel/admin/menu.rb +38 -0
- data/lib/aerogel/admin/table_builder.rb +100 -0
- data/lib/aerogel/admin/tabs_builder.rb +69 -0
- data/lib/aerogel/admin/version.rb +5 -0
- data/locales/actions.en.yml +27 -0
- data/locales/actions.ru.yml +28 -0
- data/locales/admin.en.yml +14 -0
- data/locales/admin.ru.yml +14 -0
- data/locales/models.en.yml +8 -0
- data/locales/models.ru.yml +8 -0
- data/locales/views.en.yml +46 -0
- data/locales/views.ru.yml +46 -0
- data/public/README.md +1 -0
- data/rake/README.md +3 -0
- data/views/admin/index.html.erb +3 -0
- data/views/admin/table_builder/standard/_table_column.html.erb +3 -0
- data/views/admin/table_builder/standard/_table_row.html.erb +7 -0
- data/views/admin/table_builder/standard/table.html.erb +10 -0
- data/views/admin/tabs_builder/standard/_tab.html.erb +3 -0
- data/views/admin/tabs_builder/standard/tabs.html.erb +3 -0
- data/views/admin/users/_tabs.html.erb +8 -0
- data/views/admin/users/access/delete.html.erb +12 -0
- data/views/admin/users/access/edit.html.erb +9 -0
- data/views/admin/users/access/index.html.erb +23 -0
- data/views/admin/users/access/new.html.erb +9 -0
- data/views/admin/users/delete.html.erb +12 -0
- data/views/admin/users/edit.html.erb +46 -0
- data/views/admin/users/index.html.erb +31 -0
- data/views/admin/users/new.html.erb +11 -0
- data/views/admin/users/roles/delete.html.erb +12 -0
- data/views/admin/users/roles/edit.html.erb +9 -0
- data/views/admin/users/roles/index.html.erb +21 -0
- data/views/admin/users/roles/new.html.erb +7 -0
- data/views/form_builder/standard/field_multiselect.erb +14 -0
- data/views/form_builder/standard/field_select.erb +17 -0
- data/views/layouts/admin.html.erb +63 -0
- data/views/layouts/admin/_ajax_indicator.html.erb +4 -0
- data/views/layouts/admin/_alerts.html.erb +22 -0
- data/views/layouts/admin/_menu.html.erb +50 -0
- data/views/layouts/admin/_menu_item.html.erb +5 -0
- data/views/layouts/admin/_modals.html.erb +8 -0
- data/views/layouts/admin/modal.html.erb +38 -0
- metadata +280 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
<% page_title t.aerogel.admin.panes.users_roles %>
|
2
|
+
|
3
|
+
<%= partial "admin/users/tabs" %>
|
4
|
+
|
5
|
+
<%
|
6
|
+
table Role.all do
|
7
|
+
column :slug do |row|
|
8
|
+
link_to_modal_if_can "#{row.id}/edit", row.slug.to_s
|
9
|
+
end
|
10
|
+
column :name
|
11
|
+
column :actions, label: '' do |row|
|
12
|
+
link_to_modal_if_can "#{row.id}/delete", icon_delete
|
13
|
+
end
|
14
|
+
end
|
15
|
+
%>
|
16
|
+
|
17
|
+
<div class="table-actions">
|
18
|
+
<%= link_to_modal_if_can 'new',
|
19
|
+
icon("fa-plus")+" "+t.aerogel.admin.actions.users_roles.create.to_s, class: "btn btn-default"
|
20
|
+
%>
|
21
|
+
</div>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<label for="<%= field.css_id %>"><%= field.label -%>
|
2
|
+
<% if field.required? -%> <abbr class="required" title="<%= t 'aerogel.forms.required' %>">*</abbr>
|
3
|
+
<% end -%>
|
4
|
+
</label>
|
5
|
+
|
6
|
+
<!-- div class="input-group" -->
|
7
|
+
<select id="<%= field.css_id %>" name="<%= field.html_name %>[]" multiple="multiple" class="form-control selectize">
|
8
|
+
<!-- <%= field.value %> -->
|
9
|
+
<% field.options[:from].each do |option| %>
|
10
|
+
<option value="<%= h option[field.options[:values]] %>" <%= field.value.include?( option[field.options[:values]] ) ? 'selected="selected"' : '' %>><%= h option[field.options[:labels]] %></option>
|
11
|
+
<% end %>
|
12
|
+
</select>
|
13
|
+
<!-- /div -->
|
14
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<label for="<%= field.css_id %>"><%= field.label -%>
|
2
|
+
<% if field.required? -%> <abbr class="required" title="<%= t 'aerogel.forms.required' %>">*</abbr>
|
3
|
+
<% end -%>
|
4
|
+
</label>
|
5
|
+
|
6
|
+
<!-- div class="input-group" -->
|
7
|
+
<select id="<%= field.css_id %>" name="<%= field.html_name %>" class="form-control selectize">
|
8
|
+
<!-- <%= field.value %> -->
|
9
|
+
<% unless field.value.present? %>
|
10
|
+
<option value></option>
|
11
|
+
<% end %>
|
12
|
+
<% field.options[:from].each do |option| %>
|
13
|
+
<option value="<%= h option[field.options[:values]] %>" <%= ( field.value == option[field.options[:values]] ) ? 'selected="selected"' : '' %>><%= h option[field.options[:labels]] %></option>
|
14
|
+
<% end %>
|
15
|
+
</select>
|
16
|
+
<!-- /div -->
|
17
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
|
9
|
+
<title><%= page_title || current_url %> — aerogel/admin</title>
|
10
|
+
|
11
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
|
12
|
+
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
|
13
|
+
|
14
|
+
<%= assets 'controllers/admin' %>
|
15
|
+
|
16
|
+
</head>
|
17
|
+
|
18
|
+
<body>
|
19
|
+
|
20
|
+
<!-- Fixed navbar -->
|
21
|
+
<%= partial 'layouts/admin/menu' %>
|
22
|
+
|
23
|
+
<!-- Begin page content -->
|
24
|
+
<div id="page-content" class="container">
|
25
|
+
|
26
|
+
<!--
|
27
|
+
<% if page_title %>
|
28
|
+
<div class="page-header">
|
29
|
+
<h1><%= page_title %></h1>
|
30
|
+
</div>
|
31
|
+
<% end %>
|
32
|
+
-->
|
33
|
+
<%= partial 'layouts/admin/alerts' %>
|
34
|
+
|
35
|
+
<%= yield %>
|
36
|
+
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="footer">
|
40
|
+
<div class="container" id="footer-contents">
|
41
|
+
<span class="home-link pull-left">
|
42
|
+
<a href="/"><%= icon 'fa-home' %> <%= t.aerogel.admin.homepage %></a>
|
43
|
+
</span>
|
44
|
+
/
|
45
|
+
<span class="pull-right">
|
46
|
+
<%= icon "aerogel-logo", style: "vertical-align: middle" %> aerogel / admin
|
47
|
+
</span>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<!-- modals layout -->
|
52
|
+
<%= partial 'layouts/admin/modals' %>
|
53
|
+
|
54
|
+
<!-- ajax 'loading' indicator -->
|
55
|
+
<%= partial 'layouts/admin/ajax_indicator' %>
|
56
|
+
|
57
|
+
</body>
|
58
|
+
|
59
|
+
<script type="text/javascript">
|
60
|
+
I18n.set("<%= current_locale %>");
|
61
|
+
</script>
|
62
|
+
</html>
|
63
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<% if flash[:error] || flash[:debug] || flash[:notice] %>
|
2
|
+
<div class="admin-alerts">
|
3
|
+
<% if flash[:error] %>
|
4
|
+
<div class="alert alert-dismissable alert-danger">
|
5
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
6
|
+
<%= flash[:error] %>
|
7
|
+
</div>
|
8
|
+
<% end %>
|
9
|
+
<% if flash[:debug] %>
|
10
|
+
<div class="alert alert-dismissable alert-warning">
|
11
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
12
|
+
<%= flash[:debug] %>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
<% if flash[:notice] %>
|
16
|
+
<div class="alert alert-dismissable alert-info">
|
17
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
18
|
+
<%= flash[:notice] %>
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
<% end %>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<div id="top-menu" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
2
|
+
<div class="container">
|
3
|
+
|
4
|
+
<div class="navbar-header">
|
5
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
6
|
+
<span class="sr-only">Toggle navigation</span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
<span class="icon-bar"></span>
|
9
|
+
<span class="icon-bar"></span>
|
10
|
+
</button>
|
11
|
+
<a class="navbar-brand" href="/admin/"><%= icon 'fa-dashboard' %></a>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="navbar-collapse collapse">
|
15
|
+
<ul class="nav navbar-nav">
|
16
|
+
<%= partial 'layouts/admin/menu_item', collection: admin_menu_items %>
|
17
|
+
</ul>
|
18
|
+
|
19
|
+
|
20
|
+
<!-- current user menu -->
|
21
|
+
<ul class="nav navbar-nav navbar-right">
|
22
|
+
<li class="dropdown">
|
23
|
+
<a href="/user" class="dropdown-toggle" data-toggle="dropdown">
|
24
|
+
<%= icon('fa-user')+" #{h current_user.full_name}" %> <b class="caret"></b>
|
25
|
+
</a>
|
26
|
+
<ul class="dropdown-menu" style="width:100%">
|
27
|
+
<li><%= link_to_if_can "/user", t.aerogel.admin.actions.view_current_user.to_s %></li>
|
28
|
+
<li class="divider"></li>
|
29
|
+
<li><%= link_to '/user/logout', t.aerogel.admin.actions.logout.to_s if current_user? %></li>
|
30
|
+
</ul>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
<li class="dropdown language-selector">
|
34
|
+
<a href="<%= current_url locale: current_locale %>" class="dropdown-toggle" data-toggle="dropdown"><%= current_locale %> <b class="caret"></b></a>
|
35
|
+
<ul class="dropdown-menu">
|
36
|
+
<% I18n.available_locales.each do |locale| %>
|
37
|
+
<li <%= locale == current_locale ? 'class="active"' : ''%>>
|
38
|
+
<%= link_to current_url( locale: locale ), locale.to_s %>
|
39
|
+
</li>
|
40
|
+
<% end %>
|
41
|
+
</ul>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
|
46
|
+
</div><!--/.nav-collapse -->
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
</div>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
<title><%= page_title || current_url %> — aerogel/admin</title>
|
9
|
+
<%= javascript_tag "controllers/admin-modal" %>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<!-- div class="modal-content" -->
|
13
|
+
<div class="modal-header">
|
14
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
15
|
+
<h4 class="modal-title" id="myModalLabel"><%= page_title || current_url %></h4>
|
16
|
+
</div>
|
17
|
+
<div class="modal-body">
|
18
|
+
|
19
|
+
<% if flash[:error] %>
|
20
|
+
<div class="alert alert-danger"><%= flash[:error] %></div>
|
21
|
+
<% end %>
|
22
|
+
<% if flash[:debug] %>
|
23
|
+
<div class="alert alert-warning"><%= flash[:debug] %></div>
|
24
|
+
<% end %>
|
25
|
+
<% if flash[:notice] %>
|
26
|
+
<div class="alert alert-info"><%= flash[:notice] %></div>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<%= yield %>
|
30
|
+
|
31
|
+
</div>
|
32
|
+
<div class="modal-footer">
|
33
|
+
</div>
|
34
|
+
<!-- /div -->
|
35
|
+
|
36
|
+
</body>
|
37
|
+
</html>
|
38
|
+
|
metadata
ADDED
@@ -0,0 +1,280 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aerogel-admin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alex Kukushkin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aerogel-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aerogel-forms
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aerogel-users
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.4'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aerogel-media
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.4'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.4'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aerogel-bootstrap
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aerogel-font_awesome
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bundler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.3'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Admin panel for aerogel CMS
|
126
|
+
email:
|
127
|
+
- alex@kukushk.in
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".gitignore"
|
133
|
+
- Gemfile
|
134
|
+
- LICENSE.txt
|
135
|
+
- README.md
|
136
|
+
- Rakefile
|
137
|
+
- aerogel-admin.gemspec
|
138
|
+
- app/helpers/admin.rb
|
139
|
+
- app/helpers/decorators.rb
|
140
|
+
- app/helpers/icons.rb
|
141
|
+
- app/helpers/table_builder.rb
|
142
|
+
- app/helpers/tabs_builder.rb
|
143
|
+
- app/routes/admin.rb
|
144
|
+
- app/routes/users.rb
|
145
|
+
- app/routes/users_access.rb
|
146
|
+
- app/routes/users_roles.rb
|
147
|
+
- assets/fonts/aerogel-icons.css
|
148
|
+
- assets/fonts/aerogel-icons.eot
|
149
|
+
- assets/fonts/aerogel-icons.svg
|
150
|
+
- assets/fonts/aerogel-icons.ttf
|
151
|
+
- assets/fonts/aerogel-icons.woff
|
152
|
+
- assets/javascripts/.gitkeep
|
153
|
+
- assets/javascripts/controllers/admin-modal.js.coffee
|
154
|
+
- assets/javascripts/controllers/admin-modal/admin-modal-form-buttons.js.coffee
|
155
|
+
- assets/javascripts/controllers/admin.js.coffee
|
156
|
+
- assets/javascripts/controllers/admin/selectize-inputs.js.coffee
|
157
|
+
- assets/javascripts/controllers/admin/top-menu-shadow.js.coffee
|
158
|
+
- assets/javascripts/utils/ajax-spinner.js.coffee
|
159
|
+
- assets/javascripts/utils/ajax-watcher.js.coffee
|
160
|
+
- assets/javascripts/utils/bootstrap-modal-reload.js.coffee
|
161
|
+
- assets/javascripts/utils/form-data-async.js.coffee
|
162
|
+
- assets/javascripts/utils/i18n.js.coffee
|
163
|
+
- assets/javascripts/utils/on-future-elements.js.coffee
|
164
|
+
- assets/stylesheets/admin/bootstrap-settings.css.scss
|
165
|
+
- assets/stylesheets/admin/global.css.scss
|
166
|
+
- assets/stylesheets/admin/styles/ajax-indicator.css.scss
|
167
|
+
- assets/stylesheets/admin/styles/bootstrap-modal.css.scss
|
168
|
+
- assets/stylesheets/admin/styles/language-selector.css.scss
|
169
|
+
- assets/stylesheets/admin/styles/page-header.css.scss
|
170
|
+
- assets/stylesheets/admin/styles/sticky-footer-navbar.css.scss
|
171
|
+
- assets/stylesheets/admin/styles/table.css.scss
|
172
|
+
- assets/stylesheets/admin/styles/top-menu.css.scss
|
173
|
+
- assets/stylesheets/admin/utils/center-absolutely.css.scss
|
174
|
+
- assets/stylesheets/controllers/admin.css.scss
|
175
|
+
- assets/vendor/bootstrap-datetimepicker.css.scss
|
176
|
+
- assets/vendor/bootstrap-datetimepicker.js.coffee
|
177
|
+
- assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css
|
178
|
+
- assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js
|
179
|
+
- assets/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.ru.js
|
180
|
+
- assets/vendor/moment.js.coffee
|
181
|
+
- assets/vendor/momentjs/moment-with-langs.min.js
|
182
|
+
- assets/vendor/selectize.css.scss
|
183
|
+
- assets/vendor/selectize.js.coffee
|
184
|
+
- assets/vendor/selectize/selectize.bootstrap3.css
|
185
|
+
- assets/vendor/selectize/selectize.css
|
186
|
+
- assets/vendor/selectize/selectize.default.css
|
187
|
+
- assets/vendor/selectize/selectize.js
|
188
|
+
- assets/vendor/smart-list-table.css.scss
|
189
|
+
- assets/vendor/smart-list-table.js.coffee
|
190
|
+
- assets/vendor/smart-list-table/smart-list-table-row.js.coffee
|
191
|
+
- assets/vendor/smart-list-table/smart-list-table.css.scss
|
192
|
+
- assets/vendor/smart-list-table/smart-list-table.js.coffee
|
193
|
+
- assets/vendor/smart-tree-table.css.scss
|
194
|
+
- assets/vendor/smart-tree-table.js.coffee
|
195
|
+
- assets/vendor/smart-tree-table/smart-tree-table-drag-n-drop.js.coffee
|
196
|
+
- assets/vendor/smart-tree-table/smart-tree-table-row.js.coffee
|
197
|
+
- assets/vendor/smart-tree-table/smart-tree-table.css.scss
|
198
|
+
- assets/vendor/smart-tree-table/smart-tree-table.js.coffee
|
199
|
+
- assets/vendor/spin.js
|
200
|
+
- config/README.md
|
201
|
+
- config/development/.keep
|
202
|
+
- config/production/.keep
|
203
|
+
- db/model/README.md
|
204
|
+
- db/model/admin/user_new_form.rb
|
205
|
+
- db/model/user.rb
|
206
|
+
- db/seed/01_admin_roles.seed
|
207
|
+
- db/seed/02_admin_access.seed
|
208
|
+
- db/seed/development/.keep
|
209
|
+
- db/seed/development/20_users.seed
|
210
|
+
- db/seed/development/admin_users.seed
|
211
|
+
- db/seed/production/.keep
|
212
|
+
- lib/aerogel/admin.rb
|
213
|
+
- lib/aerogel/admin/core.rb
|
214
|
+
- lib/aerogel/admin/menu.rb
|
215
|
+
- lib/aerogel/admin/table_builder.rb
|
216
|
+
- lib/aerogel/admin/tabs_builder.rb
|
217
|
+
- lib/aerogel/admin/version.rb
|
218
|
+
- locales/actions.en.yml
|
219
|
+
- locales/actions.ru.yml
|
220
|
+
- locales/admin.en.yml
|
221
|
+
- locales/admin.ru.yml
|
222
|
+
- locales/models.en.yml
|
223
|
+
- locales/models.ru.yml
|
224
|
+
- locales/views.en.yml
|
225
|
+
- locales/views.ru.yml
|
226
|
+
- public/README.md
|
227
|
+
- rake/README.md
|
228
|
+
- views/admin/index.html.erb
|
229
|
+
- views/admin/table_builder/standard/_table_column.html.erb
|
230
|
+
- views/admin/table_builder/standard/_table_row.html.erb
|
231
|
+
- views/admin/table_builder/standard/table.html.erb
|
232
|
+
- views/admin/tabs_builder/standard/_tab.html.erb
|
233
|
+
- views/admin/tabs_builder/standard/tabs.html.erb
|
234
|
+
- views/admin/users/_tabs.html.erb
|
235
|
+
- views/admin/users/access/delete.html.erb
|
236
|
+
- views/admin/users/access/edit.html.erb
|
237
|
+
- views/admin/users/access/index.html.erb
|
238
|
+
- views/admin/users/access/new.html.erb
|
239
|
+
- views/admin/users/delete.html.erb
|
240
|
+
- views/admin/users/edit.html.erb
|
241
|
+
- views/admin/users/index.html.erb
|
242
|
+
- views/admin/users/new.html.erb
|
243
|
+
- views/admin/users/roles/delete.html.erb
|
244
|
+
- views/admin/users/roles/edit.html.erb
|
245
|
+
- views/admin/users/roles/index.html.erb
|
246
|
+
- views/admin/users/roles/new.html.erb
|
247
|
+
- views/form_builder/standard/field_multiselect.erb
|
248
|
+
- views/form_builder/standard/field_select.erb
|
249
|
+
- views/layouts/admin.html.erb
|
250
|
+
- views/layouts/admin/_ajax_indicator.html.erb
|
251
|
+
- views/layouts/admin/_alerts.html.erb
|
252
|
+
- views/layouts/admin/_menu.html.erb
|
253
|
+
- views/layouts/admin/_menu_item.html.erb
|
254
|
+
- views/layouts/admin/_modals.html.erb
|
255
|
+
- views/layouts/admin/modal.html.erb
|
256
|
+
homepage: https://github.com/kukushkin/aerogel-admin
|
257
|
+
licenses:
|
258
|
+
- MIT
|
259
|
+
metadata: {}
|
260
|
+
post_install_message:
|
261
|
+
rdoc_options: []
|
262
|
+
require_paths:
|
263
|
+
- lib
|
264
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
269
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '0'
|
274
|
+
requirements: []
|
275
|
+
rubyforge_project:
|
276
|
+
rubygems_version: 2.2.2
|
277
|
+
signing_key:
|
278
|
+
specification_version: 4
|
279
|
+
summary: Admin panel for aerogel CMS
|
280
|
+
test_files: []
|