ui_bibz 2.0.0.alpha8 → 2.0.0.alpha9
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d994da13cc8dffb8a53814c5e82c09ce66b926fe
|
4
|
+
data.tar.gz: d384e0576e36d45b7afe84c66515414706b4c517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2df8ff3e804c9bb4d2eefa746ea0c6817e0b89e453113422ad669a47d0a7258852113e2576495c91d8954d08492ff1162f0ce25f769ba8bc497c03732330293
|
7
|
+
data.tar.gz: 684081a938d52d29690900a6ed21e5a47cf07e95a48a5f3567147a4435c70e241a178617a5e24083f95c6648ffd773278694b024a2b652b0c28fe869f31a883d
|
data/Gemfile.lock
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
table
|
6
6
|
th
|
7
7
|
border-top: none
|
8
|
+
|
9
|
+
.progress
|
10
|
+
margin: 5px 0px 0px 0px
|
11
|
+
border: 1px solid $gray-light
|
12
|
+
border-radius: $border-radius
|
13
|
+
|
8
14
|
.card-header
|
9
15
|
//background-color: $table-bg-active
|
10
16
|
.title
|
@@ -21,6 +27,7 @@
|
|
21
27
|
.card-table, .card-body
|
22
28
|
overflow-x: auto
|
23
29
|
min-height: 200px
|
30
|
+
|
24
31
|
.card-footer
|
25
32
|
//background-color: $table-bg-active
|
26
33
|
padding: 10px 10px
|
@@ -14,6 +14,8 @@ module UiBibz::Ui::Ux
|
|
14
14
|
case @col.as
|
15
15
|
when :boolean
|
16
16
|
boolean_render
|
17
|
+
when :progress
|
18
|
+
progress_render
|
17
19
|
end
|
18
20
|
end
|
19
21
|
|
@@ -28,5 +30,9 @@ module UiBibz::Ui::Ux
|
|
28
30
|
glyph.render
|
29
31
|
end
|
30
32
|
|
33
|
+
def progress_render
|
34
|
+
UiBibz::Ui::Core::Progress.new(@content, state: (@col.state || :primary)).render
|
35
|
+
end
|
36
|
+
|
31
37
|
end
|
32
38
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module UiBibz::Ui::Ux
|
2
2
|
class Column < UiBibz::Ui::Core::Component
|
3
3
|
|
4
|
-
attr_accessor :hidden, :link, :name, :class, :as, :data_index, :date_format, :sort, :format, :date_format, :count, :custom_sort, :parent, :id
|
4
|
+
attr_accessor :hidden, :link, :state, :name, :class, :as, :data_index, :date_format, :sort, :format, :date_format, :count, :custom_sort, :parent, :id
|
5
5
|
|
6
6
|
def initialize content = nil, options = nil, html_options = nil, &block
|
7
7
|
super
|
@@ -19,6 +19,7 @@ module UiBibz::Ui::Ux
|
|
19
19
|
@format = @options[:format]
|
20
20
|
@class = @options[:class]
|
21
21
|
@hidden = @options[:hidden]
|
22
|
+
@state = @options[:state]
|
22
23
|
end
|
23
24
|
|
24
25
|
def linkable?
|
data/lib/ui_bibz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ui_bibz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|