mod_bootstrap 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/lib/mod_bootstrap/version.rb +1 -1
- data/mod_bootstrap.gemspec +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: daddd170adc5ffd326a8017680e3aee807d9bc40
|
4
|
+
data.tar.gz: c57b1f49b293d0c9b0d369c89fc58dc1db49769d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b54d27856fb85b7395084fb4cc0e8df34128b64fece47b1c33ada714240137e26e4b7b7ba61b2820eccc26df8116d5a0d78f278e7daade323f1d1acc68c5a483
|
7
|
+
data.tar.gz: 48e6f380716f3ac2e082b82c960ce1f79c674bfc1e5cb64dbcb86541fc3ba83229bc67c9aa1ba9e78c052c5ef7fe659f7e5684ea8f7e31f67e08181292c6783b
|
data/README.md
CHANGED
@@ -9,6 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
+
gem 'jquery-rails'
|
12
13
|
gem 'bootstrap-sass'
|
13
14
|
gem 'mod_bootstrap'
|
14
15
|
```
|
@@ -19,6 +20,7 @@ And then execute:
|
|
19
20
|
|
20
21
|
Or install it yourself as:
|
21
22
|
|
23
|
+
$ gem install jquery-rails
|
22
24
|
$ gem install bootstrap-sass
|
23
25
|
$ gem install mod_bootstrap
|
24
26
|
|
@@ -44,6 +46,24 @@ Require Bootstrap Javascripts in `app/assets/javascripts/application.js`:
|
|
44
46
|
|
45
47
|
`bootstrap-sprockets` provides individual Bootstrap Javascript files (`alert.js` or `dropdown.js`, for example), while
|
46
48
|
`bootstrap` provides a concatenated file containing all Bootstrap Javascripts.
|
49
|
+
|
50
|
+
To modify button and form layout
|
51
|
+
```html
|
52
|
+
<div class="form-group">
|
53
|
+
<input type="text" class="default-form-control">
|
54
|
+
</div>
|
55
|
+
<button class="btn unfil-primary-btn">Unfil Primary Button</button>
|
56
|
+
<button class="btn default-btn">Default Button</button>
|
57
|
+
<button class="btn primary-btn">Primary Button</button>
|
58
|
+
<button class="btn success-btn">Success Button</button>
|
59
|
+
<button class="btn info-btn">Info Button</button>
|
60
|
+
<button class="btn danger-btn">Danger Button</button>
|
61
|
+
<button class="btn rec-btn primary-btn"> Rectangle Button</button>
|
62
|
+
<button class="btn rd-btn primary-btn"> Round Button</button>
|
63
|
+
|
64
|
+
```
|
65
|
+
|
66
|
+
|
47
67
|
## Development
|
48
68
|
|
49
69
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/mod_bootstrap.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["arjunghimire0714@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = "Write a short summary, because RubyGems requires one.}"
|
13
|
-
spec.description = "
|
13
|
+
spec.description = "mod-bootstrap is a modify version of Bootstrap 3"
|
14
14
|
spec.homepage = "https://github.com/Arjunghimire/mod_bootstrap.git"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mod_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arjun Ghimire
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description:
|
55
|
+
description: mod-bootstrap is a modify version of Bootstrap 3
|
56
56
|
email:
|
57
57
|
- arjunghimire0714@gmail.com
|
58
58
|
executables: []
|