chaltron 0.3.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -1
- data/app/assets/javascripts/chaltron.js +7 -5
- data/app/assets/javascripts/chaltron/datatables.js.coffee +2 -2
- data/app/assets/javascripts/chaltron/navbar.js.coffee +46 -0
- data/app/assets/javascripts/dataTables/dataTables.bootstrap4.min.js +8 -0
- data/app/assets/stylesheets/chaltron.scss +9 -9
- data/app/assets/stylesheets/chaltron/layout.scss +3 -29
- data/app/assets/stylesheets/chaltron/logs.scss +5 -0
- data/app/controllers/chaltron/ldap_controller.rb +5 -5
- data/app/controllers/chaltron/omniauth_callbacks_controller.rb +0 -1
- data/app/controllers/chaltron/sessions_controller.rb +0 -3
- data/app/controllers/chaltron/users_controller.rb +1 -3
- data/app/datatables/log_datatable.rb +3 -2
- data/app/helpers/chaltron/ldap_helper.rb +3 -3
- data/app/helpers/chaltron/logs_helper.rb +4 -13
- data/app/helpers/chaltron/users_helper.rb +20 -2
- data/app/helpers/chaltron_helper.rb +0 -16
- data/app/models/authorizable.rb +1 -1
- data/app/models/log.rb +10 -12
- data/app/models/user.rb +1 -5
- data/app/views/chaltron/ldap/multi_create.html.erb +39 -35
- data/app/views/chaltron/ldap/multi_new.html.erb +36 -30
- data/app/views/chaltron/ldap/search.html.erb +13 -10
- data/app/views/chaltron/logs/index.html.erb +22 -28
- data/app/views/chaltron/logs/show.html.erb +6 -6
- data/app/views/chaltron/users/_form.html.erb +8 -5
- data/app/views/chaltron/users/_side_filters.html.erb +10 -26
- data/app/views/chaltron/users/edit.html.erb +1 -1
- data/app/views/chaltron/users/index.html.erb +29 -31
- data/app/views/chaltron/users/new.html.erb +1 -1
- data/app/views/chaltron/users/self_edit.html.erb +27 -20
- data/app/views/chaltron/users/self_show.html.erb +8 -8
- data/app/views/chaltron/users/show.html.erb +10 -10
- data/app/views/devise/passwords/edit.html.erb +8 -7
- data/app/views/devise/passwords/new.html.erb +10 -7
- data/app/views/devise/sessions/_new_ldap.html.erb +17 -14
- data/app/views/devise/sessions/_new_local.html.erb +10 -7
- data/app/views/devise/sessions/new.html.erb +30 -25
- data/app/views/locales/en.yml +4 -4
- data/app/views/locales/it.yml +2 -2
- data/config/chaltron_navigation.rb +15 -23
- data/config/locales/en.yml +1 -6
- data/config/locales/it.yml +1 -6
- data/config/routes.rb +4 -5
- data/lib/chaltron.rb +1 -24
- data/lib/chaltron/bootstrap_form.rb +1 -1
- data/lib/chaltron/engine.rb +2 -3
- data/lib/chaltron/ldap/connection.rb +34 -93
- data/lib/chaltron/ldap/person.rb +3 -13
- data/lib/chaltron/ldap/user.rb +1 -5
- data/lib/chaltron/version.rb +1 -1
- data/lib/generators/chaltron/install_generator.rb +9 -3
- data/lib/generators/chaltron/templates/app/assets/stylesheets/home.scss +2 -20
- data/lib/generators/chaltron/templates/app/views/home/_carousel.html.erb +18 -18
- data/lib/generators/chaltron/templates/app/views/home/_faq.html.erb +10 -8
- data/lib/generators/chaltron/templates/app/views/home/_panel.html.erb +5 -7
- data/lib/generators/chaltron/templates/app/views/home/index.html.erb +12 -10
- data/lib/generators/chaltron/templates/app/views/home/test.html.erb +3 -5
- data/lib/generators/chaltron/templates/app/views/layouts/_footer.html.erb +7 -9
- data/lib/generators/chaltron/templates/app/views/layouts/_navbar.html.erb +8 -15
- data/lib/generators/chaltron/templates/config/initializers/chaltron.rb +4 -57
- data/lib/generators/chaltron/templates/config/navigation.rb +11 -10
- data/lib/templates/erb/scaffold/_form.html.erb +8 -5
- data/lib/templates/erb/scaffold/edit.html.erb +8 -8
- data/lib/templates/erb/scaffold/index.html.erb +15 -21
- data/lib/templates/erb/scaffold/new.html.erb +2 -6
- data/lib/templates/erb/scaffold/show.html.erb +9 -9
- metadata +24 -25
- data/app/assets/javascripts/dataTables/extras/dataTables.select.min.js +0 -23
- data/app/assets/stylesheets/dataTables/dataTables.bootstrap.css +0 -167
- data/app/assets/stylesheets/dataTables/extras/select.dataTables.css +0 -100
- data/app/models/application_record.rb +0 -3
- data/app/views/chaltron/logs/_log.html.erb +0 -14
@@ -2,11 +2,9 @@
|
|
2
2
|
<div class='container-fluid'>
|
3
3
|
<h1>Test #<%= @test %></h1>
|
4
4
|
<p>
|
5
|
-
|
6
|
-
'https://github.com/codeplant/simple-navigation' %>
|
7
|
-
|
8
|
-
'https://github.com/ShPakvel/simple_navigation_renderers' %>
|
9
|
-
to display navbar menu.
|
5
|
+
Chaltron uses <%= link_to 'simple-navigation',
|
6
|
+
'https://github.com/codeplant/simple-navigation' %>
|
7
|
+
to build navbar menu.
|
10
8
|
</p>
|
11
9
|
<p>
|
12
10
|
Edit <code>config/navigation.rb</code> to setup your own navbar
|
@@ -1,10 +1,8 @@
|
|
1
|
-
<nav class='navbar
|
2
|
-
|
3
|
-
<%=
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<%= content_tag :p, revision, class: 'navbar-text pull-right' unless revision.nil? %>
|
9
|
-
</div>
|
1
|
+
<nav class='navbar fixed-bottom navbar-dark bg-dark py-0'>
|
2
|
+
<%= content_tag :div, class: 'navbar-text' do %>
|
3
|
+
<%= icon('github') %>
|
4
|
+
Created with
|
5
|
+
<%= link_to 'chaltron', 'https://github.com/vicvega/chaltron', class: 'navbar-link' %>
|
6
|
+
<% end %>
|
7
|
+
<%= content_tag :div, revision, class: 'navbar-text ' unless revision.nil? %>
|
10
8
|
</nav>
|
@@ -1,17 +1,10 @@
|
|
1
|
-
<nav class='navbar navbar-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</button>
|
10
|
-
<%= link_to 'Home', root_url, class: 'navbar-brand' %>
|
11
|
-
</div>
|
12
|
-
<div class='collapse navbar-collapse' id='navbar-menu'>
|
13
|
-
<%= render_navigation expand_all: true %>
|
14
|
-
<%= render_navigation expand_all: true, context: :chaltron %>
|
15
|
-
</div>
|
1
|
+
<nav class='navbar fixed-top navbar-expand-lg navbar-dark bg-dark py-0'>
|
2
|
+
<%= link_to 'Home', root_url, class: 'navbar-brand' %>
|
3
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
|
4
|
+
<span class="navbar-toggler-icon"></span>
|
5
|
+
</button>
|
6
|
+
<div class="collapse navbar-collapse" id="navigation">
|
7
|
+
<%= render_navigation expand_all: true %>
|
8
|
+
<%= render_navigation expand_all: true, context: :chaltron %>
|
16
9
|
</div>
|
17
10
|
</nav>
|
@@ -2,66 +2,13 @@ Chaltron.setup do |config|
|
|
2
2
|
# Add new roles to the right and NEVER change role order, or you'll break every role bitmask
|
3
3
|
# config.roles = %w( admin user_admin )
|
4
4
|
|
5
|
-
# If
|
6
|
-
#
|
7
|
-
#
|
8
|
-
# Default values are the following:
|
9
|
-
# config.ldap_field_mappings = {
|
10
|
-
# first_name: 'givenname',
|
11
|
-
# last_name: 'cn',
|
12
|
-
# department: 'department',
|
13
|
-
# email: 'mail'
|
14
|
-
# }
|
5
|
+
# If ldap enabled (see config/initializers/devise.rb), set this to true to
|
6
|
+
# allow every ldap authenitcated users to access you application
|
7
|
+
# config.ldap_allow_all = false
|
15
8
|
|
16
|
-
#
|
17
|
-
# users to access you application
|
18
|
-
# config.ldap_allow_all = true
|
19
|
-
|
20
|
-
# You may set here default roles granted to new users (if automatically created)
|
9
|
+
# Default roles granted to new users (if automatically created)
|
21
10
|
# config.default_roles = []
|
22
11
|
|
23
|
-
# Here you may specify a different base for your LDAP groups
|
24
|
-
# If not specified the :base parameter defined in Devise.omniauth_configs[:ldap] will be used
|
25
|
-
# config.ldap_group_base = 'ou=groups,dc=example,dc=com'
|
26
|
-
|
27
|
-
# Here you may specify a filter to retrieve LDAP group membership
|
28
|
-
# Accept entry (an instance of Chaltron::LDAP::Person) as parameter
|
29
|
-
# Default is
|
30
|
-
# config.ldap_group_member_filter = -> (entry) { "uniquemember=#{entry.dn}" }
|
31
|
-
|
32
|
-
# Roles granted to new users may be retrieved by LDAP group membership.
|
33
|
-
# config.ldap_role_mappings = {
|
34
|
-
# 'DN_of_LDAP_group1' => 'role1',
|
35
|
-
# 'DN_of_LDAP_group2' => 'role2'
|
36
|
-
# }
|
37
|
-
|
38
|
-
# The following callback is called after a successful LDAP authentication
|
39
|
-
# The callback may manipulate the user instance and
|
40
|
-
# must return user if ok, nil if not allowed do login
|
41
|
-
# Takes two parameters:
|
42
|
-
# - user, current instance of User
|
43
|
-
# - ldap, a new instance of Chaltron::LDAP::Connection
|
44
|
-
# Default is the following (it does nothing and return user)
|
45
|
-
# config.ldap_after_authenticate = -> (user, ldap) { user }
|
46
|
-
#
|
47
|
-
# Example:
|
48
|
-
# config.ldap_after_authenticate = -> (user, ldap) {
|
49
|
-
# ldap.find_by_uid(user.username).entry.enabled == ['true'] ? user : nil
|
50
|
-
# }
|
51
|
-
|
52
|
-
# The following callback is called before logout of an LDAP user
|
53
|
-
# Takes two parameters:
|
54
|
-
# - user, current instance of User
|
55
|
-
# - ldap, a new instance of Chaltron::LDAP::Connection
|
56
|
-
# Default is the following (does nothing)
|
57
|
-
# config.ldap_before_logout = -> (user, ldap) { }
|
58
|
-
#
|
59
|
-
# Example:
|
60
|
-
# config.ldap_before_logout = -> (user, ldap) {
|
61
|
-
# ldap.update_attributes(user.extern_uid, { lastLogout: Time.now.strftime('%Y%m%d%H%M%S%z') })
|
62
|
-
# }
|
63
|
-
#
|
64
|
-
|
65
12
|
# If syslog enabled, all Log records will be available also in syslog flow
|
66
13
|
# config.enable_syslog = false
|
67
14
|
# config.syslog_facility = Syslog::LOG_SYSLOG
|
@@ -4,10 +4,11 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
4
4
|
# Specify a custom renderer if needed.
|
5
5
|
# The default renderer is SimpleNavigation::Renderer::List which renders HTML lists.
|
6
6
|
# The renderer can also be specified as option in the render_navigation call.
|
7
|
-
navigation.renderer =
|
7
|
+
# navigation.renderer = SimpleNavigation::Renderer::List
|
8
8
|
|
9
9
|
# Specify the class that will be applied to active navigation items.
|
10
|
-
# Defaults to 'selected'
|
10
|
+
# Defaults to 'selected'
|
11
|
+
navigation.selected_class = 'active'
|
11
12
|
|
12
13
|
# Specify the class that will be applied to the current leaf of
|
13
14
|
# active navigation items. Defaults to 'simple-navigation-active-leaf'
|
@@ -54,14 +55,14 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
54
55
|
# against the current URI. You may also use a proc, or the symbol <tt>:subpath</tt>.
|
55
56
|
#
|
56
57
|
|
57
|
-
primary.item :news,
|
58
|
-
primary.item :concerts, { icon: '
|
59
|
-
primary.item :video,
|
60
|
-
primary.item :info, { icon: '
|
61
|
-
info_nav.item :main_info_page,
|
62
|
-
info_nav.item :about_info_page,
|
63
|
-
info_nav.item :contact_info_page, { icon: '
|
58
|
+
primary.item :news, 'Link 1', home_test1_path, link_html: { icon: 'bullhorn' }
|
59
|
+
primary.item :concerts, 'Link 2', home_test2_path, link_html: { icon: 'line-chart' }
|
60
|
+
primary.item :video, 'Link 3', home_test3_path, link_html: { icon: 'book' }
|
61
|
+
primary.item :info, 'Submenu', '#', link_html: { icon: 'hand-o-down' } do |info_nav|
|
62
|
+
info_nav.item :main_info_page, 'Link 4', home_test4_path, link_html: { icon: 'paw' }
|
63
|
+
info_nav.item :about_info_page, 'Link 5', home_test5_path, link_html: { icon: 'headphones' }
|
64
|
+
info_nav.item :contact_info_page, 'Link 6', home_test6_path, link_html: { icon: 'soccer-ball-o' }
|
64
65
|
end
|
65
|
-
|
66
|
+
primary.item :user, 'Link7', home_test7_path, link_html: { icon: 'user' }
|
66
67
|
end
|
67
68
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%%= bootstrap_form_for(@<%= singular_table_name %>, layout: :horizontal) do |f| %>
|
1
|
+
<%%= bootstrap_form_for(@<%= singular_table_name %>, layout: :horizontal, label_col: 'col-sm-2 col-form-label', control_col: 'col-sm-10') do |f| %>
|
2
2
|
|
3
3
|
<% attributes.each do |attribute| -%>
|
4
4
|
<% if attribute.field_type == :check_box -%>
|
@@ -10,9 +10,12 @@
|
|
10
10
|
<% end -%>
|
11
11
|
<% end -%>
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
<div class='form-group row'>
|
14
|
+
<div class='col-sm-2'></div>
|
15
|
+
<div class='col-sm-10'>
|
16
|
+
<%%= f.submit 'Submit', class: 'btn btn-primary' %>
|
17
|
+
<%%= back_link class: 'btn btn-default pull-right' %>
|
18
|
+
</div>
|
19
|
+
</div>
|
17
20
|
|
18
21
|
<%% end %>
|
@@ -1,20 +1,20 @@
|
|
1
1
|
<div class='container-fluid'>
|
2
|
-
<h3 class='
|
2
|
+
<h3 class='pt-4'>Editing <%= singular_table_name %></h3>
|
3
3
|
<div class='row'>
|
4
4
|
|
5
5
|
<div class='col-md-3'>
|
6
|
-
<
|
7
|
-
<%%= link_to <%= index_helper %>_path, class: 'list-group-item' do %>
|
6
|
+
<div class='list-group'>
|
7
|
+
<%%= link_to <%= index_helper %>_path, class: 'list-group-item list-group-item-action' do %>
|
8
8
|
<%%= icon('list') %> <%= singular_table_name.capitalize %> index
|
9
9
|
<%% end %>
|
10
|
-
<%%= link_to @<%= singular_table_name %>, class: 'list-group-item' do %>
|
10
|
+
<%%= link_to @<%= singular_table_name %>, class: 'list-group-item list-group-item-action' do %>
|
11
11
|
<%%= icon('eye') %> Show
|
12
12
|
<%% end %>
|
13
13
|
<%%= link_to @<%= singular_table_name %>, data: {confirm: 'Are you sure?'},
|
14
|
-
method: :delete, class: 'list-group-item list-group-item-danger' do %>
|
15
|
-
|
16
|
-
|
17
|
-
</
|
14
|
+
method: :delete, class: 'list-group-item list-group-item-danger list-group-item-action' do %>
|
15
|
+
<%%= icon('trash') %> Delete
|
16
|
+
<%% end %>
|
17
|
+
</div>
|
18
18
|
</div>
|
19
19
|
|
20
20
|
<div class='col-md-9'>
|
@@ -1,26 +1,20 @@
|
|
1
1
|
<div class='container-fluid'>
|
2
|
-
<h3 class='
|
2
|
+
<h3 class='pt-4'><%= plural_table_name.titleize %></h3>
|
3
3
|
<div class='row'>
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<%% end -%>
|
19
|
-
</tbody>
|
20
|
-
<%% end %>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
4
|
+
<%%= content_tag 'table', class: 'table table-striped datatable' do %>
|
5
|
+
<thead>
|
6
|
+
<tr><% attributes.each do |attribute| %>
|
7
|
+
<th><%= attribute.name.humanize %></th><% end %>
|
8
|
+
</tr>
|
9
|
+
</thead>
|
10
|
+
<tbody>
|
11
|
+
<%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
|
12
|
+
<tr><% attributes.each do |attribute| %>
|
13
|
+
<td><%%= link_to <%= singular_table_name %>.<%= attribute.name %>, <%= singular_table_name %> %></td><% end %>
|
14
|
+
</tr>
|
15
|
+
<%% end -%>
|
16
|
+
</tbody>
|
17
|
+
<%% end %>
|
24
18
|
</div>
|
25
19
|
<hr>
|
26
20
|
<%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary btn-lg' do %>
|
@@ -1,8 +1,4 @@
|
|
1
1
|
<div class='container-fluid'>
|
2
|
-
<h3 class='
|
3
|
-
|
4
|
-
<div class='col-md-12'>
|
5
|
-
<%%= render 'form' %>
|
6
|
-
</div>
|
7
|
-
</div>
|
2
|
+
<h3 class='pt-4'>New <%= singular_table_name %></h3>
|
3
|
+
<%%= render 'form' %>
|
8
4
|
</div>
|
@@ -1,25 +1,25 @@
|
|
1
1
|
<div class='container-fluid'>
|
2
|
-
<h3 class='
|
2
|
+
<h3 class='pt-4'>Show <%= singular_table_name %></h3>
|
3
3
|
<div class='row'>
|
4
4
|
|
5
5
|
<div class='col-md-3'>
|
6
|
-
<
|
7
|
-
<%%= link_to <%= index_helper %>_path, class: 'list-group-item' do %>
|
6
|
+
<div class='list-group'>
|
7
|
+
<%%= link_to <%= index_helper %>_path, class: 'list-group-item list-group-item-action' do %>
|
8
8
|
<%%= icon('list') %> <%= singular_table_name.capitalize %> index
|
9
9
|
<%% end %>
|
10
|
-
<%%= link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'list-group-item' do %>
|
10
|
+
<%%= link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'list-group-item list-group-item-action' do %>
|
11
11
|
<%%= icon('wrench') %> Edit
|
12
12
|
<%% end %>
|
13
|
-
<%%= link_to new_<%= singular_table_name %>_path, class: 'list-group-item' do %>
|
13
|
+
<%%= link_to new_<%= singular_table_name %>_path, class: 'list-group-item list-group-item-action' do %>
|
14
14
|
<%%= icon('plus') %> New <%= singular_table_name %>
|
15
15
|
<%% end %>
|
16
|
-
</
|
16
|
+
</div>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<div class='col-md-9'>
|
20
|
-
<div class='
|
21
|
-
<div class='
|
22
|
-
<ul class='list-group'><% attributes.each do |attribute| %>
|
20
|
+
<div class='card'>
|
21
|
+
<div class='card-header'>Details</div>
|
22
|
+
<ul class='list-group list-group-flush'><% attributes.each do |attribute| %>
|
23
23
|
<li class='list-group-item'>
|
24
24
|
<span><%= attribute.human_name %>: </span>
|
25
25
|
<strong><%%= @<%= singular_table_name %>.<%= attribute.name %> %></strong>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chaltron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vicvega
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -25,21 +25,21 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: sass-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '5.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '5.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: devise
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: omniauth
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: gitlab_omniauth-ldap
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: autoprefixer-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,21 +95,21 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: bootstrap
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: sass
|
112
|
+
name: font-awesome-sass
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: simple-navigation
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name: jquery-datatables
|
154
|
+
name: jquery-datatables
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -389,12 +389,12 @@ files:
|
|
389
389
|
- app/assets/javascripts/chaltron/datatables.js.coffee
|
390
390
|
- app/assets/javascripts/chaltron/localization.js.coffee
|
391
391
|
- app/assets/javascripts/chaltron/main.js.coffee
|
392
|
-
- app/assets/javascripts/
|
392
|
+
- app/assets/javascripts/chaltron/navbar.js.coffee
|
393
|
+
- app/assets/javascripts/dataTables/dataTables.bootstrap4.min.js
|
393
394
|
- app/assets/stylesheets/chaltron.scss
|
394
395
|
- app/assets/stylesheets/chaltron/layout.scss
|
396
|
+
- app/assets/stylesheets/chaltron/logs.scss
|
395
397
|
- app/assets/stylesheets/chaltron/mixins.scss
|
396
|
-
- app/assets/stylesheets/dataTables/dataTables.bootstrap.css
|
397
|
-
- app/assets/stylesheets/dataTables/extras/select.dataTables.css
|
398
398
|
- app/controllers/chaltron/ldap_controller.rb
|
399
399
|
- app/controllers/chaltron/logs_controller.rb
|
400
400
|
- app/controllers/chaltron/omniauth_callbacks_controller.rb
|
@@ -405,7 +405,6 @@ files:
|
|
405
405
|
- app/helpers/chaltron/logs_helper.rb
|
406
406
|
- app/helpers/chaltron/users_helper.rb
|
407
407
|
- app/helpers/chaltron_helper.rb
|
408
|
-
- app/models/application_record.rb
|
409
408
|
- app/models/authorizable.rb
|
410
409
|
- app/models/locales/en.yml
|
411
410
|
- app/models/locales/it.yml
|
@@ -415,7 +414,6 @@ files:
|
|
415
414
|
- app/views/chaltron/ldap/multi_create.html.erb
|
416
415
|
- app/views/chaltron/ldap/multi_new.html.erb
|
417
416
|
- app/views/chaltron/ldap/search.html.erb
|
418
|
-
- app/views/chaltron/logs/_log.html.erb
|
419
417
|
- app/views/chaltron/logs/index.html.erb
|
420
418
|
- app/views/chaltron/logs/show.html.erb
|
421
419
|
- app/views/chaltron/users/_form.html.erb
|
@@ -505,7 +503,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
505
503
|
- !ruby/object:Gem::Version
|
506
504
|
version: '0'
|
507
505
|
requirements: []
|
508
|
-
|
506
|
+
rubyforge_project:
|
507
|
+
rubygems_version: 2.6.13
|
509
508
|
signing_key:
|
510
509
|
specification_version: 4
|
511
510
|
summary: Move faster and break things - revisited for rails 4
|