unirer-bootstrap 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/app/views/unirer/bootstrap/_meta.html.erb +6 -0
- data/lib/unirer/bootstrap/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ceb76346c53617fa6906eb86dd6af2e45ea170f
|
4
|
+
data.tar.gz: 1af49fcbdf89e80c75d68a9ab2c1569dd16f85a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aed5e6db75c440852012ecb5dc380a5f0616bd9995a21d00618e5c48a056d04aa09d185a64bd0ba76c38f25add347345837253124161788a45da69e02b7f791
|
7
|
+
data.tar.gz: f85efa36bf26a68831835c07a3d9ece9c2375ea5ce7292a44d7063d9216f43073479c7d2d585654216fa137b12dac9d73531d92866499d175e2e3be154519262
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Unirer Bootstrap
|
2
2
|
|
3
3
|
[![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/unirer-bootstrap.svg)](https://badge.fury.io/rb/unirer-bootstrap)
|
4
5
|
|
5
6
|
Unirer (UNIfied Resource Representation) is a series of resource representation engines. The Bootstrap resource representation engine includes Bootstrap-based resource representation templates & snippets.
|
6
7
|
Unirer (统一资源表现)是一系列的资源表现引擎。Bootstrap 资源表现引擎包括基于Bootstrap的资源表现模版和片段。
|
@@ -12,6 +13,7 @@ gem 'unirer-bootstrap'
|
|
12
13
|
|
13
14
|
## Include the Concern in Controllers & Respond the Calls:
|
14
15
|
```erb
|
16
|
+
<%= render partial: 'unirer/bootstrap/meta' %>
|
15
17
|
<%= render partial: 'unirer/bootstrap/script' %>
|
16
18
|
<%= render partial: 'unirer/bootstrap/style' %>
|
17
19
|
<%= render partial: 'unirer/bootstrap/form_field', locals: { model: model, form: f, name: :phone_number, type: :tel_field } %>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<meta charset="UTF-8" />
|
2
|
+
<meta name="format-detection" content="telephone=no" />
|
3
|
+
<meta name="msapplication-tap-highlight" content="no" />
|
4
|
+
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
|
5
|
+
<meta name="renderer" content="webkit" />
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unirer-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- app/helpers/unirer/bootstrap/application_helper.rb
|
43
43
|
- app/views/layouts/unirer/bootstrap/application.html.erb
|
44
44
|
- app/views/unirer/bootstrap/_form_field.html.erb
|
45
|
+
- app/views/unirer/bootstrap/_meta.html.erb
|
45
46
|
- app/views/unirer/bootstrap/_script.html.erb
|
46
47
|
- app/views/unirer/bootstrap/_style.html.erb
|
47
48
|
- config/routes.rb
|