web47core 3.2.54 → 3.2.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a34b42627cf5e23b845dfb24666571df7e3ace8f9009acf470349b9700076183
4
- data.tar.gz: '046991ac068c6c577c00abe37a5c3f37ce366e8333084a0fa448772bc3c674f1'
3
+ metadata.gz: fcf07061592b947d5d53c2db7f4f80f6dc29688735331c15ef411b12637287fb
4
+ data.tar.gz: a1e1d095750964e8321a4cc139409ad373a3480e586da84b63c761b92bedc365
5
5
  SHA512:
6
- metadata.gz: 0cd6d348e0f8658a6fc963412be65c9142661b52e76bb54e2a3aaa1fe75b9874652dcd2ab468031f05fa7548bee737caf648a4106a9d067df4547f363921f769
7
- data.tar.gz: 7df9a01e2484e04f6df0184e7adfb0919321539c5d6e97e88bd7b62d9f7e67a253a68ef72a8715e9940a1614077f0c7694bb68282877ec56ec441ab7688aeca7
6
+ metadata.gz: b75eeab38b77e3f545a58f3ab1d230f4b3e4d24af7ae74eea7c83643b82624f1798696aad1580fb22af8739fe3f108fc8fe068547b965932baeb45edc7973460
7
+ data.tar.gz: cbb42d979eceb62cbdceb3557a26232d49fdbe9496b05a2d6d256401f993b937ced0260a8b060c8d41822aa5514c8dd2a9706be97407765e1c1fb858c6dc5a67
@@ -2,14 +2,14 @@
2
2
  .card
3
3
  .card-body
4
4
  .table-responsive.text-nowrap
5
- %table.table.card-table.border.table-striped
5
+ %table.table.border.table-hover.table-vcenter.datatable.card-table.no-wrap.responsive
6
6
  %thead
7
7
  %tr
8
8
  %th Host
9
9
  %th State
10
10
  %th Last Check In
11
11
  %th Actions
12
- %tbody.table-border-bottom-0
12
+ %tbody
13
13
  - Cron::Server.each do |server|
14
14
  %tr
15
15
  %td=[server.host_name, server.pid].join(':')
@@ -7,11 +7,11 @@
7
7
  .card
8
8
  .card-body
9
9
  .container
10
- .row
11
- = html5_text_field(@cron_tab, :min, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
12
- = html5_text_field(@cron_tab, :hour, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
13
- = html5_text_field(@cron_tab, :mday, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
14
- = html5_text_field(@cron_tab, :month, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
15
- = html5_text_field(@cron_tab, :wday, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
16
- = html5_checkbox(@cron_tab, :enabled, classes: %w[col-sm-12 col-md-6 col-lg-4 col-xl-3 xol-xxl-2] )
10
+ .row.row-cols-md-6.row-cols-lg-4.row-cols-xl-3.row-cols-sm-1.g-4
11
+ = html5_text_field(@cron_tab, :min)
12
+ = html5_text_field(@cron_tab, :hour)
13
+ = html5_text_field(@cron_tab, :mday)
14
+ = html5_text_field(@cron_tab, :month)
15
+ = html5_text_field(@cron_tab, :wday)
16
+ = html5_checkbox(@cron_tab, :enabled)
17
17
  .card-footer= render 'common/form_actions', form_cancel_path: cron_tabs_path
@@ -2,7 +2,7 @@
2
2
  .card
3
3
  .card-body
4
4
  .table-responsive.text-nowrap
5
- %table.table.card-table.border.table-striped
5
+ %table.table.border.table-hover.table-vcenter.datatable.card-table.no-wrap.responsive
6
6
  %thead
7
7
  %tr
8
8
  %th Name
@@ -0,0 +1 @@
1
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17l-2 2l2 2" /><path d="M10 19h9a2 2 0 0 0 1.75 -2.75l-.55 -1" /><path d="M8.536 11l-.732 -2.732l-2.732 .732" /><path d="M7.804 8.268l-4.5 7.794a2 2 0 0 0 1.506 2.89l1.141 .024" /><path d="M15.464 11l2.732 .732l.732 -2.732" /><path d="M18.196 11.732l-4.5 -7.794a2 2 0 0 0 -3.256 -.14l-.591 .976" />
@@ -0,0 +1 @@
1
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3.06 13a9 9 0 1 0 .49 -4.087" /><path d="M3 4.001v5h5" /><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
@@ -60,6 +60,8 @@ en:
60
60
  start: player-play-outline
61
61
  demote: thumb-down-outline
62
62
  promote: thumb-up-outline
63
+ recycle: recycle
64
+ restore: restore
63
65
  system_configurations:
64
66
  show:
65
67
  title: "%{name} System Configuration"
@@ -67,6 +69,14 @@ en:
67
69
  value_header: Value
68
70
  edit:
69
71
  title: Edit %{name} System Configuration
72
+ cron_tabs:
73
+ index:
74
+ title: Cron Tabs
75
+ edit:
76
+ title: Edit Cron Tab %{name}
77
+ cron_servers:
78
+ index:
79
+ title: Cron Servers
70
80
  cron:
71
81
  edit:
72
82
  title: Edit Cron Tab %{name}
@@ -54,9 +54,14 @@ module ArchiveAble
54
54
  def unarchived?
55
55
  !archived?
56
56
  end
57
- alias edit_able? unarchived?
58
- alias destroy_able? unarchived?
59
- alias delete_able? unarchived?
57
+
58
+ def edit_able?
59
+ super && unarchived?
60
+ end
61
+
62
+ def delete_able?
63
+ super && unarchived?
64
+ end
60
65
 
61
66
  # @abstract Archive the object
62
67
  # @param [Member|User] actor - the thing performing the action
@@ -346,4 +346,18 @@ module StandardModel
346
346
  send("#{name}=", attr.strip) if attr.respond_to?(:strip)
347
347
  end
348
348
  end
349
+
350
+ # @abstract if this object is deletable
351
+ # @return [Boolean] true if deletable, false otherwise
352
+ def delete_able?
353
+ true
354
+ end
355
+ alias destroy_able? delete_able?
356
+
357
+ # @abstract if this object is editable
358
+ # @return [Boolean] true if editable, false otherwise
359
+ def edit_able?
360
+ true
361
+ end
362
+ alias update_able? edit_able?
349
363
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '3.2.54'
4
+ VERSION = '3.2.56'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.54
4
+ version: 3.2.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder
@@ -566,7 +566,9 @@ files:
566
566
  - app/views/icons/_hourglass.html.erb
567
567
  - app/views/icons/_player-play-filled.html.erb
568
568
  - app/views/icons/_player-play-outline.html.erb
569
+ - app/views/icons/_recycle.html.erb
569
570
  - app/views/icons/_repeat.html.erb
571
+ - app/views/icons/_restore.html.erb
570
572
  - app/views/icons/_rotate.html.erb
571
573
  - app/views/icons/_run.html.erb
572
574
  - app/views/icons/_skull.html.erb