Description:
manage
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r877:93c4562b9761 - - The requested commit is too big and content was truncated. 14 files changed. Show full diff

new file 100644
@@ -1,1 +1,5
1 $font-size-base: 0.875rem;
1 $font-size-base: 0.875rem;
2 +
3 + $primary: #0074d9;
4 + //$danger: #ff4136;
5 +
@@ -26,24 +26,25
26
26
27 def show
27 def show
28 @user = User.find(params[:id])
28 @user = User.find(params[:id])
29 end
29 end
30
30
31 def new
31 def new
32 @user = User.new
32 @user = User.new
33 end
33 end
34
34
35 def create
35 def create
36 @user = User.new(user_params)
36 @user = User.new(user_params)
37 @user.activated = true
37 @user.activated = true
38 + byebug
38 if @user.save
39 if @user.save
39 flash[:notice] = 'User was successfully created.'
40 flash[:notice] = 'User was successfully created.'
40 redirect_to :action => 'index'
41 redirect_to :action => 'index'
41 else
42 else
42 render :action => 'new'
43 render :action => 'new'
43 end
44 end
44 end
45 end
45
46
46 def clear_last_ip
47 def clear_last_ip
47 @user = User.find(params[:id])
48 @user = User.find(params[:id])
48 @user.last_ip = nil
49 @user.last_ip = nil
49 @user.save
50 @user.save
@@ -35,22 +35,23
35 import "datatables-rowreorder"
35 import "datatables-rowreorder"
36 import "datatables-scroller"
36 import "datatables-scroller"
37 import "datatables-searchbuilder"
37 import "datatables-searchbuilder"
38 import "datatables-searchbuilder-bs5"
38 import "datatables-searchbuilder-bs5"
39 import "datatables-searchpanes"
39 import "datatables-searchpanes"
40 import "datatables-searchpanes-bs5"
40 import "datatables-searchpanes-bs5"
41 import "datatables-select"
41 import "datatables-select"
42 import "datatables-staterestore"
42 import "datatables-staterestore"
43 import "datatables-staterestore-bs5"
43 import "datatables-staterestore-bs5"
44 /* */
44 /* */
45
45
46 import "select2"
46 import "select2"
47 + import "chart"
47
48
48 //my own customization
49 //my own customization
49 import 'custom'
50 import 'custom'
50
51
51
52
52 //trigger import map ready
53 //trigger import map ready
53 console.log('application.js ready')
54 console.log('application.js ready')
54 window.importmapScriptsLoaded = true
55 window.importmapScriptsLoaded = true
55 const import_map_loaded = new CustomEvent('import-map-loaded', { });
56 const import_map_loaded = new CustomEvent('import-map-loaded', { });
56 document.dispatchEvent(import_map_loaded);
57 document.dispatchEvent(import_map_loaded);
@@ -34,15 +34,12
34 target.addClass('btn-warning');
34 target.addClass('btn-warning');
35 target.text('...');
35 target.text('...');
36 });
36 });
37 if ($("#editor").length > 0) {
37 if ($("#editor").length > 0) {
38 e = ace.edit("editor");
38 e = ace.edit("editor");
39 e.setTheme('ace/theme/merbivore');
39 e.setTheme('ace/theme/merbivore');
40 e.getSession().setTabSize(2);
40 e.getSession().setTabSize(2);
41 e.getSession().setUseSoftTabs(true);
41 e.getSession().setUseSoftTabs(true);
42 }
42 }
43
43
44 //jQuery(".best_in_place").best_in_place();
44 //jQuery(".best_in_place").best_in_place();
45 });
45 });
46 -
47 - // ---
48 - // generated by coffee-script 1.9.2
@@ -17,26 +17,26
17 has_many :messages, -> { order(created_at: :desc) },
17 has_many :messages, -> { order(created_at: :desc) },
18 :class_name => "Message",
18 :class_name => "Message",
19 :foreign_key => "sender_id"
19 :foreign_key => "sender_id"
20
20
21 has_many :replied_messages, -> { order(created_at: :desc) },
21 has_many :replied_messages, -> { order(created_at: :desc) },
22 :class_name => "Message",
22 :class_name => "Message",
23 :foreign_key => "receiver_id"
23 :foreign_key => "receiver_id"
24
24
25 has_many :logins
25 has_many :logins
26
26
27 has_one :contest_stat, :class_name => "UserContestStat", :dependent => :destroy
27 has_one :contest_stat, :class_name => "UserContestStat", :dependent => :destroy
28
28
29 - belongs_to :site
29 + belongs_to :site, optional: true
30 - belongs_to :country
30 + belongs_to :country, optional: true
31
31
32 has_and_belongs_to_many :contests, -> { order(:name)}
32 has_and_belongs_to_many :contests, -> { order(:name)}
33
33
34 scope :activated_users, -> {where activated: true}
34 scope :activated_users, -> {where activated: true}
35
35
36 validates_presence_of :login
36 validates_presence_of :login
37 validates_uniqueness_of :login
37 validates_uniqueness_of :login
38 validates_format_of :login, :with => /\A[\_A-Za-z0-9]+\z/
38 validates_format_of :login, :with => /\A[\_A-Za-z0-9]+\z/
39 validates_length_of :login, :within => 3..30
39 validates_length_of :login, :within => 3..30
40
40
41 validates_presence_of :full_name
41 validates_presence_of :full_name
42 validates_length_of :full_name, :minimum => 1
42 validates_length_of :full_name, :minimum => 1
@@ -1,28 +1,28
1 - content_for :head do
1 - content_for :head do
2 <meta http-equiv ="refresh" content="60"/>
2 <meta http-equiv ="refresh" content="60"/>
3
3
4 %h1 Grader information
4 %h1 Grader information
5
5
6 %p
6 %p
7 = link_to 'Refresh', { :action => 'list' }, class: 'btn btn-info'
7 = link_to 'Refresh', { :action => 'list' }, class: 'btn btn-info'
8
8
9 .panel.panel-primary
9 .panel.panel-primary
10 .panel-heading
10 .panel-heading
11 Grader control:
11 Grader control:
12 .panel-body
12 .panel-body
13 - =link_to 'Start Graders in grading env', { action: 'start_grading'}, class: 'btn btn-default'
13 + =link_to 'Start Graders in grading env', { action: 'start_grading'}, class: 'btn btn-secondary'
14 - =link_to 'Start Graders in exam env', { action: 'start_exam'}, class: 'btn btn-default'
14 + =link_to 'Start Graders in exam env', { action: 'start_exam'}, class: 'btn btn-secondary'
15 - =link_to 'Stop all running Graders', { action: 'stop_all'}, class: 'btn btn-default'
15 + =link_to 'Stop all running Graders', { action: 'stop_all'}, class: 'btn btn-secondary'
16 - =link_to 'Clear all data', { action: 'clear_all'}, class: 'btn btn-default'
16 + =link_to 'Clear all data', { action: 'clear_all'}, class: 'btn btn-secondary'
17
17
18 .row
18 .row
19 .col-md-6
19 .col-md-6
20 - if @last_task
20 - if @last_task
21 Last task:
21 Last task:
22 = link_to "#{@last_task.id}", :action => 'view', :id => @last_task.id, :type => 'Task'
22 = link_to "#{@last_task.id}", :action => 'view', :id => @last_task.id, :type => 'Task'
23
23
24 %br/
24 %br/
25
25
26 - if @last_test_request
26 - if @last_test_request
27 Last test_request:
27 Last test_request:
28 = link_to "#{@last_test_request.id}", :action => 'view', :id => @last_test_request.id, :type => 'TestRequest'
28 = link_to "#{@last_test_request.id}", :action => 'view', :id => @last_test_request.id, :type => 'TestRequest'
@@ -1,27 +1,7
1 - = form_for @group do |f|
2 - - if @group.errors.any?
3 - #error_explanation
4 - %h2= "#{pluralize(@group.errors.count, "error")} prohibited this group from being saved:"
5 - %ul
6 - - @group.errors.full_messages.each do |msg|
7 - %li= msg
8 - .row
9 - .col-md-6
10 - .form-group.field
11 - = f.label :name
12 - = f.text_field :name, class: 'form-control'
13 .row
1 .row
14 .col-md-6
2 .col-md-6
15 - .form-group.field
3 + = simple_form_for @group do |f|
16 - = f.label :description
4 + = f.input :name
17 - = f.text_field :description, class: 'form-control'
5 + = f.input :description
18 - .row
6 + = f.input :enabled
19 - .col-md-6
7 + = f.button :submit, class: 'btn btn-primary'
20 - .checkbox
21 - = f.label :enabled do
22 - = f.check_box :enabled
23 - Enabled
24 - .row
25 - .col-md-6
26 - .form-group.actions
27 - = f.submit 'Save', class: 'btn btn-primary'
@@ -1,7 +1,9
1 %h1 Editing group
1 %h1 Editing group
2
2
3 = render 'form'
3 = render 'form'
4
4
5 - = link_to 'Show', @group
5 + .row.my-3
6 - \|
6 + .col-auto
7 - = link_to 'Back', groups_path
7 + = link_to 'Edit members and problems', @group, class: 'btn btn-info'
8 + .col-auto
9 + = link_to 'Back', groups_path, class: 'btn btn-secondary'
@@ -1,24 +1,23
1 %h1 Groups
1 %h1 Groups
2
2
3 %p
3 %p
4 - = link_to 'New Group', new_group_path, class: 'btn btn-primary'
4 + = link_to 'New Group', new_group_path, class: 'btn btn-success'
5 %table.table.table-hover
5 %table.table.table-hover
6 %thead
6 %thead
7 %tr
7 %tr
8 %th Name
8 %th Name
9 %th Description
9 %th Description
10 %th Enabled?
10 %th Enabled?
11 %th
11 %th
12 - %th
13 -
14 %tbody
12 %tbody
15 - @groups.each do |group|
13 - @groups.each do |group|
16 %tr{:class => "#{(group.enabled?) ? "success" : "danger"}", id: "group-#{group.id}"}
14 %tr{:class => "#{(group.enabled?) ? "success" : "danger"}", id: "group-#{group.id}"}
17 %td= group.name
15 %td= group.name
18 %td= group.description
16 %td= group.description
19 - %td= toggle_button(group.enabled?, toggle_group_path(group), "group-enabled-#{group.id}", size: ' ', block: ' ')
17 + %td= toggle_button(group.enabled?, toggle_group_path(group), "group-enabled-#{group.id}", block: ' ')
20 - %td= link_to 'View', group, class: 'btn btn-default'
18 + %td
21 - %td= link_to 'Destroy', group, :method => :delete, :data => { :confirm => 'Are you sure?' }, class: 'btn btn-danger'
19 + = link_to 'Edit members and problems', group, class: 'btn btn-secondary btn-sm'
20 + = link_to 'Destroy', group, :method => :delete, :data => { :confirm => 'Are you sure?' }, class: 'btn btn-danger btn-sm'
22
21
23 %br
22 %br
24
23
@@ -1,74 +1,84
1 - .container-fluid
1 + .row.mb-3
2 - .row
3 .col-md-6
2 .col-md-6
4 - %h1 Group #{@group.name}
3 + %h1 Editing Group members and problems
5 - .row
4 + .row.mb-3
5 + .col-md-6
6 + %b Name:
7 + = @group.name
8 + .row.mb-3
6 .col-md-6
9 .col-md-6
7 %b Description:
10 %b Description:
8 = @group.description
11 = @group.description
9 - %br
12 + .row.mb-3
13 + .col-md-6
10 = link_to 'Edit', edit_group_path(@group), class: 'btn btn-primary'
14 = link_to 'Edit', edit_group_path(@group), class: 'btn btn-primary'
11 - .row
15 + .row.mb-3
12 .col-md-12
16 .col-md-12
13 %h1 Group details
17 %h1 Group details
14 .row
18 .row
15 .col-md-6
19 .col-md-6
16 - .panel.panel-default
20 + .card
17 - .panel-heading
21 + .card-header
18 - .panel-title Users in this group
22 + Users in this group
19 - .panel-body
23 + .card-body
20 %ul
24 %ul
21 %li
25 %li
22 If you want to add several users to a group, it may be easier to just re-import those users in
26 If you want to add several users to a group, it may be easier to just re-import those users in
23 = link_to 'New list of users', new_list_user_admin_index_path
27 = link_to 'New list of users', new_list_user_admin_index_path
24 page. You can also use
28 page. You can also use
25 = link_to 'Bulk Manage User', bulk_manage_user_admin_index_path
29 = link_to 'Bulk Manage User', bulk_manage_user_admin_index_path
26 page.
30 page.
27 =form_tag add_user_group_path(@group), class: 'form-inline' do
31 =form_tag add_user_group_path(@group), class: 'form-inline' do
28 - .form-group
32 + .row
29 - =label_tag :user_id, "User"
33 + .col-auto
34 + =label_tag :user_id, "User", class: 'col-form-label'
35 + .col-auto
30 =select_tag :user_id, options_from_collection_for_select(User.all,'id','login_with_name'), class: 'select2', style: 'width: 25em';
36 =select_tag :user_id, options_from_collection_for_select(User.all,'id','login_with_name'), class: 'select2', style: 'width: 25em';
37 + .col-auto
31 =submit_tag "Add",class: 'btn btn-primary'
38 =submit_tag "Add",class: 'btn btn-primary'
32
39
33
40
34 %table.table.table-hover
41 %table.table.table-hover
35 %thead
42 %thead
36 %tr
43 %tr
37 %th Login
44 %th Login
38 %th Full name
45 %th Full name
39 %th Remark
46 %th Remark
40 %th= link_to 'Remove All', remove_all_user_group_path(@group), method: :delete, :data => { :confirm => "Remove ALL USERS from group?" }, class: 'btn btn-danger btn-sm'
47 %th= link_to 'Remove All', remove_all_user_group_path(@group), method: :delete, :data => { :confirm => "Remove ALL USERS from group?" }, class: 'btn btn-danger btn-sm'
41
48
42 %tbody
49 %tbody
43 - @group.users.each do |user|
50 - @group.users.each do |user|
44 %tr
51 %tr
45 %td= user.login
52 %td= user.login
46 %td= user.full_name
53 %td= user.full_name
47 %td= user.remark
54 %td= user.remark
48 %td= link_to 'Remove', remove_user_group_path(@group,user), :method => :delete, :data => { :confirm => "Remove #{user.full_name}?" }, class: 'btn btn-danger btn-sm'
55 %td= link_to 'Remove', remove_user_group_path(@group,user), :method => :delete, :data => { :confirm => "Remove #{user.full_name}?" }, class: 'btn btn-danger btn-sm'
49 .col-md-6
56 .col-md-6
50 - .panel.panel-default
57 + .card
51 - .panel-heading
58 + .card-header
52 - .panel-title Problems
59 + Problems
53 - .panel-body
60 + .card-body
54 %ul
61 %ul
55 %li
62 %li
56 If you want to add several problem to a group, it may be easier to bulk manage them in the
63 If you want to add several problem to a group, it may be easier to bulk manage them in the
57 = link_to 'Bulk Manage Problems', manage_problems_path
64 = link_to 'Bulk Manage Problems', manage_problems_path
58 page
65 page
59 - =form_tag add_problem_group_path(@group), class: 'form-inline' do
66 + =form_tag add_problem_group_path(@group) do
60 - .form-group
67 + .row
61 - =label_tag :problem_id, "Problem"
68 + .col-auto
69 + =label_tag :problem_id, "Problem",class: 'col-form-label'
70 + .col-auto
62 =select_tag :problem_id, options_from_collection_for_select(Problem.all,'id','long_name'), class: 'select2', style: 'width: 25em';
71 =select_tag :problem_id, options_from_collection_for_select(Problem.all,'id','long_name'), class: 'select2', style: 'width: 25em';
72 + .col-auto
63 =submit_tag "Add",class: 'btn btn-primary'
73 =submit_tag "Add",class: 'btn btn-primary'
64
74
65
75
66 %table.table.table-hover
76 %table.table.table-hover
67 %thead
77 %thead
68 %tr
78 %tr
69 %th name
79 %th name
70 %th Full name
80 %th Full name
71 %th Full score
81 %th Full score
72 %th= link_to 'Remove All', remove_all_problem_group_path(@group), method: :delete, :data => { :confirm => "Remove ALL PROBLEMS from group?" }, class: 'btn btn-danger btn-sm'
82 %th= link_to 'Remove All', remove_all_problem_group_path(@group), method: :delete, :data => { :confirm => "Remove ALL PROBLEMS from group?" }, class: 'btn btn-danger btn-sm'
73
83
74 %tbody
84 %tbody
@@ -126,30 +126,31
126 %td
126 %td
127 = link_to value[:length][:user], stat_user_path(value[:length][:user_id])
127 = link_to value[:length][:user], stat_user_path(value[:length][:user_id])
128 %br
128 %br
129 = "#{value[:length][:value]} @"
129 = "#{value[:length][:value]} @"
130 = link_to "#" + value[:length][:sub_id].to_s, submission_path(value[:length][:sub_id])
130 = link_to "#" + value[:length][:sub_id].to_s, submission_path(value[:length][:sub_id])
131 %td
131 %td
132 - if value[:first][:user] != '(NULL)' #TODO: i know... this is wrong...
132 - if value[:first][:user] != '(NULL)' #TODO: i know... this is wrong...
133 = link_to value[:first][:user], stat_user_path(value[:first][:user_id])
133 = link_to value[:first][:user], stat_user_path(value[:first][:user_id])
134 %br
134 %br
135 = "#{value[:first][:value]} @"
135 = "#{value[:first][:value]} @"
136 = link_to "#" + value[:first][:sub_id].to_s, submission_path( value[:first][:sub_id])
136 = link_to "#" + value[:first][:sub_id].to_s, submission_path( value[:first][:sub_id])
137
137
138 - %script{src:"https://cdn.jsdelivr.net/npm/chart.js"}
139 :javascript
138 :javascript
139 + $(document).on('import-map-loaded',(e) => {
140 data = #{@chart_dataset}
140 data = #{@chart_dataset}
141 config = {
141 config = {
142 type: 'bar',
142 type: 'bar',
143 data: data,
143 data: data,
144 options: {
144 options: {
145 plugins: {
145 plugins: {
146 legend: {
146 legend: {
147 display: false
147 display: false
148 },
148 },
149 },
149 },
150 }
150 }
151 }
151 }
152 Chart.defaults.font.size = 15
152 Chart.defaults.font.size = 15
153 //Chart.defaults.font.family = 'Sarabun Light'
153 //Chart.defaults.font.family = 'Sarabun Light'
154 chart = new Chart($('#chart'),config)
154 chart = new Chart($('#chart'),config)
155 + });
155
156
@@ -40,34 +40,24
40 = link_to 'View active users',{ :action => 'active'}, { class: 'btn btn-secondary '}
40 = link_to 'View active users',{ :action => 'active'}, { class: 'btn btn-secondary '}
41 = link_to 'Mass mailing',{ :action => 'mass_mailing'}, { class: 'btn btn-secondary '}
41 = link_to 'Mass mailing',{ :action => 'mass_mailing'}, { class: 'btn btn-secondary '}
42
42
43 - if GraderConfiguration.multicontests?
43 - if GraderConfiguration.multicontests?
44 %br/
44 %br/
45 %b Multi-contest:
45 %b Multi-contest:
46 = link_to '[Manage bulk users in contests]', :action => 'contest_management'
46 = link_to '[Manage bulk users in contests]', :action => 'contest_management'
47 View users in:
47 View users in:
48 - @contests.each do |contest|
48 - @contests.each do |contest|
49 = link_to "[#{contest.name}]", :action => 'contests', :id => contest.id
49 = link_to "[#{contest.name}]", :action => 'contests', :id => contest.id
50 = link_to "[no contest]", :action => 'contests', :id => 'none'
50 = link_to "[no contest]", :action => 'contests', :id => 'none'
51
51
52 - -# Total #{@user_count} users |
53 - -# - if !@paginated
54 - -# Display all users.
55 - -# \#{link_to '[show in pages]', :action => 'index', :page => '1'}
56 - -# - else
57 - -# Display in pages.
58 - -# \#{link_to '[display all]', :action => 'index', :page => 'all'} |
59 - -# \#{will_paginate @users, :container => false}
60 -
61 -
62 %table.table.table-hover.table-condense.datatable
52 %table.table.table-hover.table-condense.datatable
63 %thead
53 %thead
64 %th Login
54 %th Login
65 %th Full name
55 %th Full name
66 %th email
56 %th email
67 %th Remark
57 %th Remark
68 %th
58 %th
69 Activated
59 Activated
70 %sup{class: 'text-primary',data: {toggle: 'tooltip', placement: 'top'}, title: 'User has already confirmed the email?' } [?]
60 %sup{class: 'text-primary',data: {toggle: 'tooltip', placement: 'top'}, title: 'User has already confirmed the email?' } [?]
71 %th
61 %th
72 Enabled
62 Enabled
73 %sup{class: 'text-primary',data: {toggle: 'tooltip', placement: 'top'}, title: 'Allow the user to login?' } [?]
63 %sup{class: 'text-primary',data: {toggle: 'tooltip', placement: 'top'}, title: 'Allow the user to login?' } [?]
@@ -76,26 +66,26
76 %th
66 %th
77 %th
67 %th
78 %th
68 %th
79 - for user in @users
69 - for user in @users
80 %tr
70 %tr
81 %td= link_to user.login, stat_user_path(user)
71 %td= link_to user.login, stat_user_path(user)
82 %td= user.full_name
72 %td= user.full_name
83 %td= user.email
73 %td= user.email
84 %td= user.remark
74 %td= user.remark
85 %td= toggle_button(user.activated?, toggle_activate_user_path(user),"toggle_activate_user_#{user.id}")
75 %td= toggle_button(user.activated?, toggle_activate_user_path(user),"toggle_activate_user_#{user.id}")
86 %td= toggle_button(user.enabled?, toggle_enable_user_path(user),"toggle_enable_user_#{user.id}")
76 %td= toggle_button(user.enabled?, toggle_enable_user_path(user),"toggle_enable_user_#{user.id}")
87 %td= user.last_ip
77 %td= user.last_ip
88 - %td= link_to 'Clear IP', {:action => 'clear_last_ip', :id => user, :page=>params[:page]}, :confirm => 'This will reset last logging in ip of the user, are you sure?', class: 'btn btn-default btn-xs btn-block'
78 + %td= link_to 'Clear IP', {:action => 'clear_last_ip', :id => user, :page=>params[:page]}, :confirm => 'This will reset last logging in ip of the user, are you sure?', class: 'btn btn-secondary btn-sm btn-block'
89 - %td= link_to 'Show', {:action => 'show', :id => user}, class: 'btn btn-default btn-xs btn-block'
79 + %td= link_to 'Show', {:action => 'show', :id => user}, class: 'btn btn-secondary btn-sm btn-block'
90 - %td= link_to 'Edit', {:action => 'edit', :id => user}, class: 'btn btn-default btn-xs btn-block'
80 + %td= link_to 'Edit', {:action => 'edit', :id => user}, class: 'btn btn-secondary btn-sm btn-block'
91 - %td= link_to 'Destroy', {action: :destroy, id: user}, data: {confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-danger btn-xs btn-block'
81 + %td= link_to 'Destroy', {action: :destroy, id: user}, data: {confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-danger btn-sm btn-block'
92 %br/
82 %br/
93 = link_to '+ New user', { :action => 'new' }, { class: 'btn btn-success '}
83 = link_to '+ New user', { :action => 'new' }, { class: 'btn btn-success '}
94 = link_to '+ New list of users', { :action => 'new_list' }, { class: 'btn btn-success '}
84 = link_to '+ New list of users', { :action => 'new_list' }, { class: 'btn btn-success '}
95
85
96 :javascript
86 :javascript
97 $(document).on('import-map-loaded',(e) => {
87 $(document).on('import-map-loaded',(e) => {
98 $('.datatable').DataTable({
88 $('.datatable').DataTable({
99 'pageLength': 50
89 'pageLength': 50
100 });
90 });
101 })
91 })
@@ -46,12 +46,13
46 pin "datatables-searchpanes-bs5", to: "datatables/SearchPanes-2.0.2/js/searchPanes.bootstrap5.js"
46 pin "datatables-searchpanes-bs5", to: "datatables/SearchPanes-2.0.2/js/searchPanes.bootstrap5.js"
47 pin "datatables-select", to: "datatables/Select-1.4.0/js/dataTables.select.js"
47 pin "datatables-select", to: "datatables/Select-1.4.0/js/dataTables.select.js"
48 pin "datatables-staterestore", to: "datatables/StateRestore-1.1.1/js/dataTables.stateRestore.js"
48 pin "datatables-staterestore", to: "datatables/StateRestore-1.1.1/js/dataTables.stateRestore.js"
49 pin "datatables-staterestore-bs5", to: "datatables/StateRestore-1.1.1/js/stateRestore.bootstrap5.js"
49 pin "datatables-staterestore-bs5", to: "datatables/StateRestore-1.1.1/js/stateRestore.bootstrap5.js"
50
50
51 #select2
51 #select2
52 pin "select2", to: "select2.min.js"
52 pin "select2", to: "select2.min.js"
53
53
54 #my local js
54 #my local js
55 pin "custom", to: "custom.js"
55 pin "custom", to: "custom.js"
56
56
57 #pin "ace-rails-ap"
57 #pin "ace-rails-ap"
58 + pin "chart", to: 'chart.js' # @3.9.1
You need to be logged in to leave comments. Login now