effective_bootstrap 0.5.3 → 0.5.4
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/README.md +20 -2
- data/app/assets/javascripts/effective_bootstrap/base.js.coffee +2 -0
- data/lib/effective_bootstrap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8224123bc10440a8cd960c788e6ae79e1d756d5d
|
|
4
|
+
data.tar.gz: 352ad70c20e806cd2a24c5b01542f50c5017e02d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0b02d46800dff70563557caaeb1138be1ae6adfa3ac656a147b1a4fd2db1c4c2139bc3f4abbfae0cb6ac16bdddce5837fbdbd4c10ebe8f434d76c7b323ce18d
|
|
7
|
+
data.tar.gz: 95502f78f26eb34af3253a4c80f4b8d8dcdd0cc230318168aac248734c0e3773affbf8a86a0e109a04d34004d812a30d8596459df8782460059efeb9edcd21c9
|
data/README.md
CHANGED
|
@@ -48,16 +48,17 @@ And to your `application.scss`:
|
|
|
48
48
|
|
|
49
49
|
## View Helpers
|
|
50
50
|
|
|
51
|
+
All these examples are in [haml](https://github.com/haml/haml).
|
|
52
|
+
|
|
51
53
|
### Collapse
|
|
52
54
|
|
|
53
55
|
https://getbootstrap.com/docs/4.0/components/collapse/
|
|
54
56
|
|
|
55
57
|
```haml
|
|
56
|
-
= collapse('Click to collapse') do
|
|
58
|
+
= collapse('Click to collapse/expand') do
|
|
57
59
|
%p You have revealed me!
|
|
58
60
|
```
|
|
59
61
|
|
|
60
|
-
|
|
61
62
|
### Dropdown
|
|
62
63
|
|
|
63
64
|
https://getbootstrap.com/docs/4.0/components/dropdowns/
|
|
@@ -115,6 +116,23 @@ https://getbootstrap.com/docs/4.0/components/navbar/
|
|
|
115
116
|
|
|
116
117
|
`nav_link_to` will automatically insert the `.active` class based on the request path.
|
|
117
118
|
|
|
119
|
+
### Tabs
|
|
120
|
+
|
|
121
|
+
https://getbootstrap.com/docs/4.0/components/navs/#tabs
|
|
122
|
+
|
|
123
|
+
```haml
|
|
124
|
+
= tabs do
|
|
125
|
+
= tab 'Demographics' do
|
|
126
|
+
%p Demographics tab
|
|
127
|
+
|
|
128
|
+
= tab 'Orders' do
|
|
129
|
+
%p Orders tab
|
|
130
|
+
|
|
131
|
+
- if resource.logs.present?
|
|
132
|
+
= tab 'Logs' do
|
|
133
|
+
%p Logs tab
|
|
134
|
+
```
|
|
135
|
+
|
|
118
136
|
## Icon Helpers
|
|
119
137
|
|
|
120
138
|
Unfortunately, Bootstrap 4 dropped support for glyphicons, so we use a combination of [Inline SVG](https://github.com/jamesmartin/inline_svg), with [Feather Icons](https://feathericons.com) and [FontAwesome](https://fontawesome.com) .svg images (no webfonts) to get back this functionality, even better than it was before.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_bootstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|