wco_models 3.1.0.46 → 3.1.0.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config-trash/wco_models_manifest.js +5 -0
- data/app/assets/stylesheets/wco/application.css +5 -9
- data/app/assets/stylesheets/wco/pagination.scss +52 -0
- data/app/models/ability.rb +3 -0
- data/app/models/wco/lead.rb +1 -1
- data/app/models/wco/leadset.rb +1 -1
- data/app/models/wco_hosting/appliance_tmpl.rb +2 -2
- metadata +3 -2
- data/app/assets/config/wco_models_manifest.js +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3147cfe33bdd89500f5331afad95a8be2b283fbb7b7426e64a0022ef7cadee7f
|
4
|
+
data.tar.gz: 84feaedc4b04015e78d9d950818a4e5bbe468c77975f1d30452648cd9b087fb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bce10b4ec941773ecdf5157517163f7c283304055f2a6d8c11f40fc23429f0c65b2d04e062e914a7bd0abc4c3c58cce7844111687267ff7584eaf390fc334a2b
|
7
|
+
data.tar.gz: 241e9cb262887e972942bc74794628f04c4201e7acac6f50c735dbd3d4192873479e38a3e140f7b1b983de0c5970a212e4560fb94dddff6a8505abef1d95e0a0
|
@@ -2,9 +2,13 @@
|
|
2
2
|
*= require vendor/bootstrap-4.6.2.min
|
3
3
|
*
|
4
4
|
*= require ./utils
|
5
|
-
*=
|
5
|
+
*= require_tree .
|
6
6
|
**/
|
7
7
|
|
8
|
+
/* body {
|
9
|
+
color: red !important;
|
10
|
+
} */
|
11
|
+
|
8
12
|
.select2 {
|
9
13
|
min-width: 200px;
|
10
14
|
width: 100%;
|
@@ -29,11 +33,3 @@
|
|
29
33
|
}
|
30
34
|
}
|
31
35
|
}
|
32
|
-
|
33
|
-
|
34
|
-
/* .min-w-100px {
|
35
|
-
min-width: 100px;
|
36
|
-
}
|
37
|
-
.min-w-40px {
|
38
|
-
min-width: 40px;
|
39
|
-
} */
|
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
.pagination a,
|
3
|
+
.pagination span.current,
|
4
|
+
.pagination span.gap {
|
5
|
+
float: left;
|
6
|
+
padding: 0 14px;
|
7
|
+
line-height: 38px;
|
8
|
+
text-decoration: none;
|
9
|
+
background-color: white;
|
10
|
+
border: 1px solid #DDD;
|
11
|
+
border-left-width: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.pagination {
|
15
|
+
border-left: 1px solid #ddd;
|
16
|
+
|
17
|
+
li.active {
|
18
|
+
padding: 0 14px;
|
19
|
+
line-height: 38px;
|
20
|
+
|
21
|
+
a {
|
22
|
+
background-color: #ee6e73;
|
23
|
+
color: white;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
.first{
|
27
|
+
padding : 0;
|
28
|
+
float: none;
|
29
|
+
border: none;
|
30
|
+
}
|
31
|
+
.prev {
|
32
|
+
padding : 0;
|
33
|
+
float: none;
|
34
|
+
border: none;
|
35
|
+
}
|
36
|
+
.page{
|
37
|
+
padding : 0;
|
38
|
+
float: none;
|
39
|
+
border: none;
|
40
|
+
}
|
41
|
+
.next{
|
42
|
+
padding : 0;
|
43
|
+
float: none;
|
44
|
+
border: none;
|
45
|
+
}
|
46
|
+
.last{
|
47
|
+
padding : 0;
|
48
|
+
float: none;
|
49
|
+
border: none;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
data/app/models/ability.rb
CHANGED
data/app/models/wco/lead.rb
CHANGED
data/app/models/wco/leadset.rb
CHANGED
@@ -7,7 +7,7 @@ class Wco::Leadset
|
|
7
7
|
|
8
8
|
field :company_url
|
9
9
|
validates :company_url, presence: true, uniqueness: true
|
10
|
-
index({ company_url: 1 }, { name: 'company_url' })
|
10
|
+
index({ company_url: 1 }, { unique: true, name: 'company_url' })
|
11
11
|
|
12
12
|
field :email
|
13
13
|
index({ email: 1 }, { name: 'email' })
|
@@ -6,12 +6,12 @@ class WcoHosting::ApplianceTmpl
|
|
6
6
|
include Mongoid::Paranoia
|
7
7
|
store_in collection: 'wco_appliance_tmpls'
|
8
8
|
|
9
|
-
field :kind
|
9
|
+
field :kind, type: :string
|
10
10
|
validates :kind, uniqueness: { scope: :version }, presence: true
|
11
11
|
|
12
12
|
field :version, type: :string, default: '0.0.0'
|
13
13
|
validates :version, uniqueness: { scope: :kind }, presence: true
|
14
|
-
index({ kind: -1, version: -1 }, { name:
|
14
|
+
index({ kind: -1, version: -1 }, { name: 'kind_version' })
|
15
15
|
|
16
16
|
def name
|
17
17
|
"#{kind} #{version}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wco_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Pudeyev
|
@@ -341,7 +341,7 @@ extra_rdoc_files: []
|
|
341
341
|
files:
|
342
342
|
- README.txt
|
343
343
|
- Rakefile
|
344
|
-
- app/assets/config/wco_models_manifest.js
|
344
|
+
- app/assets/config-trash/wco_models_manifest.js
|
345
345
|
- app/assets/javascripts/vendor/bootstrap-4.6.2.min.js
|
346
346
|
- app/assets/javascripts/vendor/fontawesome-5.0.13.js
|
347
347
|
- app/assets/javascripts/vendor/fontawesome-5.15.4.min.js
|
@@ -363,6 +363,7 @@ files:
|
|
363
363
|
- app/assets/javascripts/wco/shared.js
|
364
364
|
- app/assets/stylesheets/vendor/bootstrap-4.6.2.min.css
|
365
365
|
- app/assets/stylesheets/wco/application.css
|
366
|
+
- app/assets/stylesheets/wco/pagination.scss
|
366
367
|
- app/assets/stylesheets/wco/utils.scss
|
367
368
|
- app/controllers/wco/application_controller.rb
|
368
369
|
- app/controllers/wco/galleries_controller.rb
|