ish_manager 0.1.8.493 → 0.1.8.495

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f0d7a7dfccca788e3bd43f3d25883eaea13aa4c5fe5737a0d3e688c10bf9e17
4
- data.tar.gz: 78de107a75261fe3e5331836371a30ffe238afa13bbe219fa9eccd0f901c188b
3
+ metadata.gz: 61a08aa42686c6ad6bb986b26249d6fa7d43d286e178370ab85389e4220437f9
4
+ data.tar.gz: 1a99d14da57b8625b7ffd4e431df56eaf87f54d74fb7f4e311e99f1f59fbdb6b
5
5
  SHA512:
6
- metadata.gz: 54d63ada32b6affdc1e61239e90cb8f9d441a3f05a296135149b259d994ebea598a3dee4dd9790038d300c813459a9f578c49a42a4250a7a0de61def5b144b5e
7
- data.tar.gz: 7394cef7245039de5a437c8d0964aae420dca85aa31d9dba6361ee80f92d2f524974408c5d173d787b83095662d6f56970dd660949e1357a3632f6dcc9dbf5de
6
+ metadata.gz: 72a7c92da0efda3cac82cbf74529ae5ab301a3857f4e5c46499cff036ca0ef5e879f9e9f4171b5356422fd494128df45b72e55373b0baefba18a8778d905224d
7
+ data.tar.gz: 52c18f478b17fa446453169135c3d394f3ad07b1436176e4b7dfbee5175425d82f480aafec329ef3c8035eea739692ad3d2a03441dd925f912e8adc75f59b6e2
@@ -83,6 +83,11 @@ ul:not(.browser-default).bullets, {
83
83
 
84
84
 
85
85
  /* A */
86
+
87
+ .absolute {
88
+ position: absolute;
89
+ }
90
+
86
91
  .alert {
87
92
  border: 1px solid red;
88
93
  padding: .8em;
@@ -27,7 +27,7 @@ class ::IshManager::InvoicesController < IshManager::ApplicationController
27
27
  end
28
28
 
29
29
  @pdf = @invoice.generate_monthly_invoice
30
- path = Rails.root.join 'tmp', @invoice.filename
30
+ path = "/tmp/#{@invoice.filename}"
31
31
  @pdf.render_file path
32
32
  data = File.read path
33
33
 
@@ -2,7 +2,6 @@
2
2
  .appliances--index
3
3
  %h5 Appliances (#{appliances.length})
4
4
  - if appliances.present?
5
- %hr
6
5
  %ul.items
7
6
  - appliances.each do |i|
8
7
  %li
@@ -18,5 +17,4 @@
18
17
  - else
19
18
  <no-serverhost>
20
19
  %li.host <b>host:</b> #{i.host}
21
- %hr
22
20
 
@@ -3,8 +3,8 @@
3
3
  .application--main-header-admin.main-header{ class: "#{ENV['RAILS_ENV']} #{ENV['RAILS_ENV'][0...3]=="dev" ? "development" : ''}" }
4
4
  %i.fa.fa-compress.collapse-expand#collapseHeaderMain
5
5
  Piousbox Suite
6
- = link_to '[Current Issue]', '/'
7
- = link_to '[Dashboard]', '/manager'
6
+ -# = link_to '[Current Issue]', '/'
7
+ -# = link_to '[Dashboard]', '/manager'
8
8
  .container
9
9
 
10
10
  %i.fa.fa-compress.collapse-expand#collapseHeaderPiCMS
@@ -1,5 +1,5 @@
1
1
 
2
- .leadsets-show.max-width
2
+ .leadsets-show.padded
3
3
  .header
4
4
  %h2.title
5
5
  Leadset `#{@leadset.name}`
@@ -31,12 +31,14 @@
31
31
 
32
32
  = render 'ish_manager/invoices/index_list', invoices: @invoices
33
33
 
34
+ %p Next invoice number: #{@leadset.next_invoice_number}
35
+
34
36
  = form_tag create_monthly_invoice_for_leadset_path({ leadset_id: @leadset.id }) do
35
- %label Invoice for month
36
- = text_field_tag 'month_on'
37
- %label (x?)
37
+ %label Create invoice for month
38
+ = text_field_tag 'month_on', nil, placeholder: 'YYYY-MM-DD'
39
+ %label (replace ?)
38
40
  = check_box_tag 'replace'
39
- = submit_tag '>', data: { confirm: 'Are you sure?' }
41
+ = submit_tag 'Go >', data: { confirm: 'Are you sure?' }
40
42
  %hr
41
43
 
42
44
  .col-md-6
@@ -17,4 +17,3 @@
17
17
  %li.nginx_root <b>nginx_root:</b> #{i.nginx_root}
18
18
  %li.appliances
19
19
  = render 'ish_manager/appliances/index', appliances: i.appliances
20
- %hr
@@ -47,6 +47,7 @@
47
47
 
48
48
  = render :partial => "ish_manager/application/main_header_#{@current_profile.role_name}"
49
49
  = render 'alerts_notices' if notice || alert
50
+ %span.absolute.collapse-expand#mainW
50
51
  = yield
51
52
  = render 'ish_manager/application/main_footer'
52
53
  = render 'analytics' if Rails.env.production?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.493
4
+ version: 0.1.8.495
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-28 00:00:00.000000000 Z
11
+ date: 2023-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails