va_common 0.2.4 → 0.2.5
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 +8 -8
- data/lib/generators/files/_footer.html.erb +26 -17
- data/lib/generators/va_footer_generator.rb +1 -1
- data/lib/generators/va_header_generator.rb +1 -1
- data/lib/va_common/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: 1b4ac1c25ee61c8b892d1a6a01466d839e2271a6
|
|
4
|
+
data.tar.gz: 68ac102498f9117f94ad2c60d1d71e11ae84e832
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9e49aae5c6ada6b7e9a2e3a674459b136cad6378c25ab1a65e5e7901e125ecded3c9c6731811033235bc5557688bbfa01551e7fc1aedb863abee0fc44935819
|
|
7
|
+
data.tar.gz: 76665a8492ce574aec1d58c71cb943c2ea7cd0ff76b82fad1b538b05abbcaddbfcd0ad78f4039bdcfa70f623293045699b827fe299f4582281c122ad321b0cb0
|
data/README.md
CHANGED
|
@@ -28,25 +28,25 @@ For the js, include this in the application.js file
|
|
|
28
28
|
|
|
29
29
|
//= require va_common_main
|
|
30
30
|
|
|
31
|
-
To generate
|
|
31
|
+
To generate header and footer, run
|
|
32
32
|
|
|
33
|
-
$ rails generate
|
|
33
|
+
$ rails generate va_common
|
|
34
34
|
|
|
35
|
-
To generate the
|
|
35
|
+
To generate just the header, run
|
|
36
36
|
|
|
37
|
-
$ rails generate
|
|
37
|
+
$ rails generate va_header
|
|
38
38
|
|
|
39
|
-
To generate
|
|
39
|
+
To generate just the footer, run
|
|
40
40
|
|
|
41
|
-
$ rails generate
|
|
41
|
+
$ rails generate va_footer
|
|
42
42
|
|
|
43
43
|
Your primary view should look something like this:
|
|
44
44
|
|
|
45
45
|
<div class="container">
|
|
46
|
-
<%= render '
|
|
46
|
+
<%= render '../vendor/va_common/header' %>
|
|
47
47
|
<main role="main">
|
|
48
48
|
<%= yield %>
|
|
49
|
-
<%= render '
|
|
49
|
+
<%= render '../vendor/va_common/footer' %>
|
|
50
50
|
</main>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
<div class="disclaimer">
|
|
2
|
+
<div class="row">
|
|
3
|
+
<div class="small-12 columns">
|
|
4
|
+
|
|
5
|
+
<p>Please note: Content on this Web page is for informational purposes only. It is not intended to provide legal advice or to be a comprehensive statement or analysis of applicable statutes, regulations, and case law governing this topic. Rather, it’s a plain-language summary. If you are seeking claims assistance, your local VA regional office, a VA-recognized Veterans Service Organization, or a VA-accredited attorney or agent can help. <a href="http://www.va.gov/ogc/apps/accreditation/index.asp">Search for help near you</a>.</p>
|
|
6
|
+
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
1
10
|
<div class="footer" role="contentinfo">
|
|
2
11
|
<div class="content">
|
|
3
12
|
<div class="wow row fadeIn animated animated" style="visibility: visible; animation-name: fadeIn;">
|
|
@@ -37,22 +46,22 @@
|
|
|
37
46
|
<ul>
|
|
38
47
|
<li><b>Connect</b></li>
|
|
39
48
|
<!-- <li><a href="/contact/">Contact Us</a></li> -->
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
<li>
|
|
50
|
+
<div class="usa-social-links">
|
|
51
|
+
<a href="https://www.facebook.com/VeteransAffairs">
|
|
52
|
+
<svg width="26" height="39" role="img" aria-label="Facebook">
|
|
53
|
+
<title>Facebook</title>
|
|
54
|
+
<image xlink:href="<%= image_path('social-icons/svg/facebook25.svg')%>" src="<%= image_path('social-icons/png/facebook25.png')%>" width="26" height="39" />
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
<a href="https://twitter.com/DeptVetAffairs/">
|
|
58
|
+
<svg width="26" height="39" role="img" aria-label="Twitter">
|
|
59
|
+
<title>Twitter</title>
|
|
60
|
+
<image xlink:href="<%= image_path('social-icons/svg/twitter16.svg')%>" src="<%= image_path('social-icons/png/twitter16.png')%>" width="26" height="39" />
|
|
61
|
+
</svg>
|
|
62
|
+
</a>
|
|
63
|
+
</div>
|
|
64
|
+
</li>
|
|
56
65
|
</ul>
|
|
57
66
|
</div>
|
|
58
67
|
</div>
|
|
@@ -69,7 +78,7 @@
|
|
|
69
78
|
</div>
|
|
70
79
|
<div class="medium-7 columns">
|
|
71
80
|
<ul class="final-list">
|
|
72
|
-
<li><a href="http://www.va.gov">VA.gov</a></li>
|
|
81
|
+
<li><a href="http://www.va.gov">VA.gov</a></li>
|
|
73
82
|
<li><a href="http://www.section508.va.gov/">Accessibility</a></li>
|
|
74
83
|
<li><a href="http://www.va.gov/privacy/">Privacy</a></li>
|
|
75
84
|
<li><a href="http://usa.gov">USA.gov</a></li>
|
|
@@ -2,6 +2,6 @@ class VaFooterGenerator < Rails::Generators::Base
|
|
|
2
2
|
source_root File.expand_path("../files", __FILE__)
|
|
3
3
|
|
|
4
4
|
def create_footer_file
|
|
5
|
-
copy_file "_footer.html.erb", "app/
|
|
5
|
+
copy_file "_footer.html.erb", "app/vendor/va_common/_footer.html.erb"
|
|
6
6
|
end
|
|
7
7
|
end
|
|
@@ -2,6 +2,6 @@ class VaHeaderGenerator < Rails::Generators::Base
|
|
|
2
2
|
source_root File.expand_path("../files", __FILE__)
|
|
3
3
|
|
|
4
4
|
def create_header_file
|
|
5
|
-
copy_file "_header.html.erb", "app/
|
|
5
|
+
copy_file "_header.html.erb", "app/vendor/va_common/_header.html.erb"
|
|
6
6
|
end
|
|
7
7
|
end
|
data/lib/va_common/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: va_common
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emily Wright-Moore
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|