alchemy-mission_control-jobs 0.2.2 → 0.3.1

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: 693dcff88902c0309ca3c746d858faa6b71536deb90fb4bd78988b1d6ef69c0a
4
- data.tar.gz: 1971813b566a00490f533ebb81b5492f79d19ef7efd3a2bc89dc704861a3c295
3
+ metadata.gz: 688a89c4554ef9d11ccc580b738dfd44855a9975e7a9db8628152aa5e1ab4d4f
4
+ data.tar.gz: 67f6ad2c937e7bf5230a16eb1a03c286b5aafe978db6a5131a43d145fdf606aa
5
5
  SHA512:
6
- metadata.gz: 1ce2f379b1594b9ad20bbc2dac56bd734095e163076d1807f6aed3a27747e52171dbf674e466b8531148a8838745f0677aa72eaa23d80f52e80bbfcede2c2f14
7
- data.tar.gz: a1829b2b416c0d93879b9fbdb26bfeb7effb6475f08e3d92536dfbb703468276bc27813dd5a122ecd4a71e12df10b6484857c3409ad0adb32667fa3ed9b644b1
6
+ metadata.gz: fc2be7720d3d6e1fb18c04fc2cac20ede88db3989d14947cf842a937b3a269636f681e1df6c107fc3879236c40d29506b4392d1a05ff28e94d7c53b371906908
7
+ data.tar.gz: fc59a40b02a1837d185c7663cf6beb8d928e25819fb9f27e2eb208207421ffaca6b1d73f1f58d780dedde45410b888ea8234cb04fa42d2bc9eb93706dcfa27fc
data/README.md CHANGED
@@ -4,6 +4,8 @@ A simple integration of Mission Control — Jobs into AlchemyCMS. It adds a new
4
4
  interface and integrates the Mission Control - Jobs Backend via iframe into the Alchemy Backend. Mission Control Backend
5
5
  is only available for admin users.
6
6
 
7
+ ![Preview of Alchemy CMS Admin Interface with Job Menu Point selected](preview.png)
8
+
7
9
  ## Installation
8
10
 
9
11
  Add the gem to your Gemfile and restart the application.
@@ -27,5 +29,5 @@ rake changelog
27
29
  ```
28
30
 
29
31
  Amend that changelog into the previous commit. After that go to [Releases Page](https://github.com/sitediver/alchemy-mission_control-jobs/releases)
30
- and create a new release. Be aware the the tag has to start with `v` (e.g `v0.2.0`). Otherwise, the Release action will fail.
32
+ and create a new release. Be aware the tag has to start with `v` (e.g `v0.2.0`). Otherwise, the Release action will fail.
31
33
 
@@ -1,3 +1,7 @@
1
1
  :root {
2
- --bulma-scheme-main: var(--color-grey_light);
2
+ --bulma-scheme-main: var(--body-background-color, var(--color-grey_light));
3
+ }
4
+
5
+ main {
6
+ padding: 1rem 1.5rem;
3
7
  }
@@ -10,13 +10,14 @@
10
10
 
11
11
  <%= stylesheet_link_tag "mission_control/jobs/bulma.min" %>
12
12
  <%= stylesheet_link_tag "mission_control/jobs/application", "data-turbo-track": "reload" %>
13
+ <%= stylesheet_link_tag "alchemy/theme", "data-turbo-track": "reload" if Alchemy::VERSION.start_with?("8.") %>
13
14
  <%= stylesheet_link_tag "alchemy/mission_control/jobs/mission-control", "data-turbo-track": "reload" %>
14
- <%= javascript_importmap_tags "application", importmap: MissionControl::Jobs.importmap %>
15
+ <%= javascript_importmap_tags "application", importmap: MissionControl::Jobs.importmap %>
15
16
  </head>
16
17
  <body>
17
18
 
18
19
  <main>
19
- <%= render "layouts/mission_control/jobs/application_selection" %>
20
+ <%= render "layouts/mission_control/jobs/application_selection" if selectable_applications.any? %>
20
21
  <%= render "layouts/mission_control/jobs/flash" %>
21
22
  <%= render "layouts/mission_control/jobs/navigation" %>
22
23
  <%= yield %>
@@ -1,4 +1,5 @@
1
1
  Rails.application.config.to_prepare do
2
2
  MissionControl::Jobs.base_controller_class = "Alchemy::Admin::JobsController"
3
3
  MissionControl::Jobs.http_basic_auth_enabled = false
4
+ MissionControl::Jobs::ApplicationController.layout "admin/application"
4
5
  end
@@ -1,7 +1,7 @@
1
1
  module Alchemy
2
2
  module MissionControl
3
3
  module Jobs
4
- VERSION = "0.2.2"
4
+ VERSION = "0.3.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-mission_control-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Karnatz
@@ -154,7 +154,7 @@ files:
154
154
  - app/assets/stylesheets/alchemy/mission_control/jobs/mission-control.css
155
155
  - app/controllers/alchemy/admin/jobs_controller.rb
156
156
  - app/views/alchemy/admin/jobs/index.html.erb
157
- - app/views/layouts/mission_control/jobs/application.html.erb
157
+ - app/views/layouts/admin/application.html.erb
158
158
  - config/initializers/alchemy.rb
159
159
  - config/initializers/mission_control-jobs.rb
160
160
  - config/locales/alchemy.en.yml
@@ -175,7 +175,7 @@ metadata:
175
175
  post_install_message: "-------------------------------------------------------------\n
176
176
  \ Thank you for installing Alchemy MissionControl Jobs.\n-------------------------------------------------------------\n\nPlease
177
177
  make sure, that alchemy-mission-control-jobs is placed\nafter Alchemy CMS in your
178
- Gemfile! \n-------------------------------------------------------------\n\n"
178
+ Gemfile! \n-------------------------------------------------------------\n"
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib