killbill-aviate 2.3.0.pre.2 → 2.3.0.pre.3
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 +4 -4
- data/app/assets/javascripts/aviate_application.js +12 -0
- data/app/assets/stylesheets/aviate/aviate.css +2 -0
- data/app/assets/stylesheets/aviate_application.css +14 -0
- data/app/views/aviate/layouts/aviate_application.html.erb +2 -2
- data/app/views/aviate/wallets/_form.html.erb +46 -0
- data/lib/aviate/version.rb +1 -1
- metadata +4 -4
- data/app/assets/javascripts/application.js +0 -14
- data/app/assets/stylesheets/application.css +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cad7d7ad9fbd416727efbf8cd89c7b78c294d0ba75f6b09706930263ced1d90b
|
|
4
|
+
data.tar.gz: 2aec33e559117d4334cee70cf7d5066adc0d5af93a5040e0cc434451517fce72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be61ac59ce877a5a9ccd23c9e6b7189c9c33a64a76a58b2f95de27f8a3b0a2413be903d04d2a713142e137f4a9db333e517b8ce7cb196d8db5a87cbceaba3796
|
|
7
|
+
data.tar.gz: 4a15207d48327e1ca9e5f567890afb74ad38142ca685f8b416ee55bb7f045301fde0f2318e11603a95307aaef775f40d5cca0568b4f6d8575c750eff1cad9513
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This is a manifest file that'll be compiled into aviate_application.js, which will include all the
|
|
2
|
+
// files listed below.
|
|
3
|
+
//
|
|
4
|
+
// NOTE: this is intentionally NOT named application.js, to avoid colliding with the host app's own
|
|
5
|
+
// application.js manifest (Sprockets would otherwise resolve the logical name 'application' to
|
|
6
|
+
// whichever file is found first on the combined load path, silently dropping this file's requires).
|
|
7
|
+
//
|
|
8
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
9
|
+
// about supported directives.
|
|
10
|
+
//
|
|
11
|
+
//= require aviate/aviate
|
|
12
|
+
//= require assets/common
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that'll be compiled into aviate_application.css, which will include all the
|
|
3
|
+
* files listed below.
|
|
4
|
+
*
|
|
5
|
+
* NOTE: this is intentionally NOT named application.css. Host applications that mount this engine
|
|
6
|
+
* typically ship their own application.css manifest, and Sprockets resolves the logical asset name
|
|
7
|
+
* 'application' to whichever file is found first on the combined load path (usually the host app's).
|
|
8
|
+
* That silently drops these styles. Keeping this file namespaced ensures aviate/layouts/aviate_application
|
|
9
|
+
* always links to the right compiled asset regardless of the host app's own manifests.
|
|
10
|
+
*
|
|
11
|
+
*= require_self
|
|
12
|
+
*= require aviate/aviate
|
|
13
|
+
*= require assets/common
|
|
14
|
+
*/
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>Aviate</title>
|
|
5
5
|
<%= yield :scripts %>
|
|
6
|
-
<%= stylesheet_link_tag '
|
|
7
|
-
<%= javascript_include_tag '
|
|
6
|
+
<%= stylesheet_link_tag 'aviate_application', :media => 'all' %>
|
|
7
|
+
<%= javascript_include_tag 'aviate_application' %>
|
|
8
8
|
<%= csrf_meta_tags %>
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
.wallet-tooltip {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
width: 1.5rem;
|
|
7
|
+
margin: 0 0.25rem 0 0.5rem;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
cursor: help;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.wallet-tooltip:hover::after,
|
|
14
|
+
.wallet-tooltip:focus::after {
|
|
15
|
+
content: attr(data-tooltip);
|
|
16
|
+
display: block;
|
|
17
|
+
position: absolute;
|
|
18
|
+
bottom: calc(100% + 8px);
|
|
19
|
+
right: 0;
|
|
20
|
+
background: #333;
|
|
21
|
+
color: #fff;
|
|
22
|
+
padding: 6px 10px;
|
|
23
|
+
border-radius: 4px;
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
line-height: 1.4;
|
|
26
|
+
width: 280px;
|
|
27
|
+
white-space: normal;
|
|
28
|
+
text-align: left;
|
|
29
|
+
z-index: 1050;
|
|
30
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.wallet-tooltip:hover::before,
|
|
35
|
+
.wallet-tooltip:focus::before {
|
|
36
|
+
content: '';
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: calc(100% + 3px);
|
|
39
|
+
right: 0.5rem;
|
|
40
|
+
border: 5px solid transparent;
|
|
41
|
+
border-top-color: #333;
|
|
42
|
+
z-index: 1051;
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
46
|
+
|
|
1
47
|
<%= form_tag @wallet ? aviate_engine.top_off_config_account_wallet_path(@account.account_id, @wallet[:wallet_id]) : aviate_engine.account_wallets_path(@account.account_id), :class => 'form-horizontal', :method => :post, :multipart => true do %>
|
|
2
48
|
<%= hidden_field_tag :account_id, @account.account_id %>
|
|
3
49
|
<%= hidden_field_tag :wallet_id, @wallet[:wallet_id] if @wallet %>
|
data/lib/aviate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: killbill-aviate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.0.pre.
|
|
4
|
+
version: 2.3.0.pre.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kill Bill core team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06
|
|
11
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: killbill-assets-ui
|
|
@@ -76,10 +76,10 @@ files:
|
|
|
76
76
|
- README.md
|
|
77
77
|
- Rakefile
|
|
78
78
|
- app/assets/config/aviate_manifest.js
|
|
79
|
-
- app/assets/javascripts/application.js
|
|
80
79
|
- app/assets/javascripts/aviate/aviate.js
|
|
81
|
-
- app/assets/
|
|
80
|
+
- app/assets/javascripts/aviate_application.js
|
|
82
81
|
- app/assets/stylesheets/aviate/aviate.css
|
|
82
|
+
- app/assets/stylesheets/aviate_application.css
|
|
83
83
|
- app/controllers/aviate/configuration_controller.rb
|
|
84
84
|
- app/controllers/aviate/engine_controller.rb
|
|
85
85
|
- app/controllers/aviate/wallets_controller.rb
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// compiled file.
|
|
9
|
-
//
|
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
11
|
-
// about supported directives.
|
|
12
|
-
//
|
|
13
|
-
//= require aviate/aviate
|
|
14
|
-
//= require assets/common
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
11
|
-
* file per style scope.
|
|
12
|
-
*
|
|
13
|
-
*= require_self
|
|
14
|
-
*= require aviate/aviate
|
|
15
|
-
*= require assets/common
|
|
16
|
-
*/
|