dvla_internal_frontend_toolkit 0.4.2 → 0.4.3
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/app/assets/stylesheets/dvla-internal-elements-styles.min.css +1 -1
- data/app/assets/stylesheets/styleguide/_styleguide.scss +83 -83
- data/app/views/layouts/erb/layout-dialog.html.erb +38 -2
- data/app/views/layouts/erb/layout-fixed.html.erb +38 -4
- data/app/views/layouts/erb/layout-fluid-tabs-left.html.erb +41 -5
- data/app/views/layouts/erb/layout-fluid-tabs-top.html.erb +41 -5
- data/app/views/layouts/erb/layout-fluid-tabs.html.erb +45 -9
- data/app/views/layouts/erb/layout-fluid.html.erb +37 -1
- data/lib/dvla_internal_frontend_toolkit/version.rb +1 -1
- metadata +2 -2
|
@@ -21,9 +21,45 @@
|
|
|
21
21
|
<a href="/" title="Home" id="logo" class="content">
|
|
22
22
|
<div id="coat-of-arms" alt=""></div>
|
|
23
23
|
<div class="name">DVLA</div>
|
|
24
|
-
<div class="service-name"><%= yield :service_name %></div>
|
|
25
24
|
</a>
|
|
25
|
+
<% if show_header_application_title %>
|
|
26
|
+
<div id="header-application-title">
|
|
27
|
+
<% if content_for?(:header_application_title) %>
|
|
28
|
+
<%= yield :header_application_title %}
|
|
29
|
+
<% else %>
|
|
30
|
+
<a href="#" title="Service home">SERVICE</a>
|
|
31
|
+
<% end %>
|
|
32
|
+
</div>
|
|
33
|
+
<% end %>
|
|
26
34
|
</div>
|
|
35
|
+
<% if show_header_search %>
|
|
36
|
+
<div id="header-search">
|
|
37
|
+
<% if content_for?(:header_search) %>
|
|
38
|
+
<%= yield :header_search %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<form>
|
|
41
|
+
<input type="text" placeholder="Search" />
|
|
42
|
+
<span class="search-btn"></span>
|
|
43
|
+
</form>
|
|
44
|
+
<% end %>
|
|
45
|
+
</div>
|
|
46
|
+
<% end %>
|
|
47
|
+
</div>
|
|
48
|
+
<div id="header-float-right">
|
|
49
|
+
<% if show_header_user_account %>
|
|
50
|
+
<div id="user-account">
|
|
51
|
+
<% if content_for?(:header_user_account) %>
|
|
52
|
+
<%= yield :header_user_account %>
|
|
53
|
+
<% else %>
|
|
54
|
+
<div id="logout">
|
|
55
|
+
<a href="#">Log out</a>
|
|
56
|
+
</div>
|
|
57
|
+
<div id="user-account-email">
|
|
58
|
+
demo.email@dvla.gov.uk
|
|
59
|
+
</div>
|
|
60
|
+
<% end %>
|
|
61
|
+
</div>
|
|
62
|
+
<% end %>
|
|
27
63
|
</div>
|
|
28
64
|
</div>
|
|
29
65
|
</div>
|
|
@@ -37,10 +73,10 @@
|
|
|
37
73
|
<%= yield :tabs_left %>
|
|
38
74
|
<% else %>
|
|
39
75
|
<ul>
|
|
40
|
-
<li>Tab title one</li>
|
|
41
|
-
<li class="active">Tab title two</li>
|
|
42
|
-
<li>Tab title three</li>
|
|
43
|
-
<li>Tab title four</li>
|
|
76
|
+
<li><a href="#">Tab title one</a></li>
|
|
77
|
+
<li class="active"><a href="#">Tab title two</a></li>
|
|
78
|
+
<li><a href="#">Tab title three</a></li>
|
|
79
|
+
<li><a href="#">Tab title four</a></li>
|
|
44
80
|
</ul>
|
|
45
81
|
<% end %>
|
|
46
82
|
</div>
|
|
@@ -21,9 +21,45 @@
|
|
|
21
21
|
<a href="/" title="Home" id="logo" class="content">
|
|
22
22
|
<div id="coat-of-arms" alt=""></div>
|
|
23
23
|
<div class="name">DVLA</div>
|
|
24
|
-
<div class="service-name"><%= yield :service_name %></div>
|
|
25
24
|
</a>
|
|
25
|
+
<% if show_header_application_title %>
|
|
26
|
+
<div id="header-application-title">
|
|
27
|
+
<% if content_for?(:header_application_title) %>
|
|
28
|
+
<%= yield :header_application_title %}
|
|
29
|
+
<% else %>
|
|
30
|
+
<a href="#" title="Service home">SERVICE</a>
|
|
31
|
+
<% end %>
|
|
32
|
+
</div>
|
|
33
|
+
<% end %>
|
|
26
34
|
</div>
|
|
35
|
+
<% if show_header_search %>
|
|
36
|
+
<div id="header-search">
|
|
37
|
+
<% if content_for?(:header_search) %>
|
|
38
|
+
<%= yield :header_search %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<form>
|
|
41
|
+
<input type="text" placeholder="Search" />
|
|
42
|
+
<span class="search-btn"></span>
|
|
43
|
+
</form>
|
|
44
|
+
<% end %>
|
|
45
|
+
</div>
|
|
46
|
+
<% end %>
|
|
47
|
+
</div>
|
|
48
|
+
<div id="header-float-right">
|
|
49
|
+
<% if show_header_user_account %>
|
|
50
|
+
<div id="user-account">
|
|
51
|
+
<% if content_for?(:header_user_account) %>
|
|
52
|
+
<%= yield :header_user_account %>
|
|
53
|
+
<% else %>
|
|
54
|
+
<div id="logout">
|
|
55
|
+
<a href="#">Log out</a>
|
|
56
|
+
</div>
|
|
57
|
+
<div id="user-account-email">
|
|
58
|
+
demo.email@dvla.gov.uk
|
|
59
|
+
</div>
|
|
60
|
+
<% end %>
|
|
61
|
+
</div>
|
|
62
|
+
<% end %>
|
|
27
63
|
</div>
|
|
28
64
|
</div>
|
|
29
65
|
</div>
|
|
@@ -31,10 +67,10 @@
|
|
|
31
67
|
<%= yield :tabs_top %>
|
|
32
68
|
<% else %>
|
|
33
69
|
<ul>
|
|
34
|
-
<li>Tab title one</li>
|
|
35
|
-
<li class="active">Tab title two</li>
|
|
36
|
-
<li>Tab title three</li>
|
|
37
|
-
<li>Tab title four</li>
|
|
70
|
+
<li><a href="#">Tab title one</a></li>
|
|
71
|
+
<li class="active"><a href="#">Tab title two</a></li>
|
|
72
|
+
<li><a href="#">Tab title three</a></li>
|
|
73
|
+
<li><a href="#">Tab title four</a></li>
|
|
38
74
|
</ul>
|
|
39
75
|
<% end %>
|
|
40
76
|
</header>
|
|
@@ -21,9 +21,45 @@
|
|
|
21
21
|
<a href="/" title="Home" id="logo" class="content">
|
|
22
22
|
<div id="coat-of-arms" alt=""></div>
|
|
23
23
|
<div class="name">DVLA</div>
|
|
24
|
-
<div class="service-name"><%= yield :service_name %></div>
|
|
25
24
|
</a>
|
|
25
|
+
<% if show_header_application_title %>
|
|
26
|
+
<div id="header-application-title">
|
|
27
|
+
<% if content_for?(:header_application_title) %>
|
|
28
|
+
<%= yield :header_application_title %}
|
|
29
|
+
<% else %>
|
|
30
|
+
<a href="#" title="Service home">SERVICE</a>
|
|
31
|
+
<% end %>
|
|
32
|
+
</div>
|
|
33
|
+
<% end %>
|
|
26
34
|
</div>
|
|
35
|
+
<% if show_header_search %>
|
|
36
|
+
<div id="header-search">
|
|
37
|
+
<% if content_for?(:header_search) %>
|
|
38
|
+
<%= yield :header_search %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<form>
|
|
41
|
+
<input type="text" placeholder="Search" />
|
|
42
|
+
<span class="search-btn"></span>
|
|
43
|
+
</form>
|
|
44
|
+
<% end %>
|
|
45
|
+
</div>
|
|
46
|
+
<% end %>
|
|
47
|
+
</div>
|
|
48
|
+
<div id="header-float-right">
|
|
49
|
+
<% if show_header_user_account %>
|
|
50
|
+
<div id="user-account">
|
|
51
|
+
<% if content_for?(:header_user_account) %>
|
|
52
|
+
<%= yield :header_user_account %>
|
|
53
|
+
<% else %>
|
|
54
|
+
<div id="logout">
|
|
55
|
+
<a href="#">Log out</a>
|
|
56
|
+
</div>
|
|
57
|
+
<div id="user-account-email">
|
|
58
|
+
demo.email@dvla.gov.uk
|
|
59
|
+
</div>
|
|
60
|
+
<% end %>
|
|
61
|
+
</div>
|
|
62
|
+
<% end %>
|
|
27
63
|
</div>
|
|
28
64
|
</div>
|
|
29
65
|
</div>
|
|
@@ -31,10 +67,10 @@
|
|
|
31
67
|
<%= yield :tabs_top %>
|
|
32
68
|
<% else %>
|
|
33
69
|
<ul>
|
|
34
|
-
<li>Tab title one</li>
|
|
35
|
-
<li class="active">Tab title two</li>
|
|
36
|
-
<li>Tab title three</li>
|
|
37
|
-
<li>Tab title four</li>
|
|
70
|
+
<li><a href="#">Tab title one</a></li>
|
|
71
|
+
<li class="active"><a href="#">Tab title two</a></li>
|
|
72
|
+
<li><a href="#">Tab title three</a></li>
|
|
73
|
+
<li><a href="#">Tab title four</a></li>
|
|
38
74
|
</ul>
|
|
39
75
|
<% end %>
|
|
40
76
|
</header>
|
|
@@ -47,10 +83,10 @@
|
|
|
47
83
|
<%= yield :tabs_left %>
|
|
48
84
|
<% else %>
|
|
49
85
|
<ul>
|
|
50
|
-
<li>Tab title one</li>
|
|
51
|
-
<li class="active">Tab title two</li>
|
|
52
|
-
<li>Tab title three</li>
|
|
53
|
-
<li>Tab title four</li>
|
|
86
|
+
<li><a href="#">Tab title one</a></li>
|
|
87
|
+
<li class="active"><a href="#">Tab title two</a></li>
|
|
88
|
+
<li><a href="#">Tab title three</a></li>
|
|
89
|
+
<li><a href="#">Tab title four</a></li>
|
|
54
90
|
</ul>
|
|
55
91
|
<% end %>
|
|
56
92
|
</div>
|
|
@@ -21,9 +21,45 @@
|
|
|
21
21
|
<a href="/" title="Home" id="logo" class="content">
|
|
22
22
|
<div id="coat-of-arms" alt=""></div>
|
|
23
23
|
<div class="name">DVLA</div>
|
|
24
|
-
<div class="service-name"><%= yield :service_name %></div>
|
|
25
24
|
</a>
|
|
25
|
+
<% if show_header_application_title %>
|
|
26
|
+
<div id="header-application-title">
|
|
27
|
+
<% if content_for?(:header_application_title) %>
|
|
28
|
+
<%= yield :header_application_title %}
|
|
29
|
+
<% else %>
|
|
30
|
+
<a href="#" title="Service home">SERVICE</a>
|
|
31
|
+
<% end %>
|
|
32
|
+
</div>
|
|
33
|
+
<% end %>
|
|
26
34
|
</div>
|
|
35
|
+
<% if show_header_search %>
|
|
36
|
+
<div id="header-search">
|
|
37
|
+
<% if content_for?(:header_search) %>
|
|
38
|
+
<%= yield :header_search %>
|
|
39
|
+
<% else %>
|
|
40
|
+
<form>
|
|
41
|
+
<input type="text" placeholder="Search" />
|
|
42
|
+
<span class="search-btn"></span>
|
|
43
|
+
</form>
|
|
44
|
+
<% end %>
|
|
45
|
+
</div>
|
|
46
|
+
<% end %>
|
|
47
|
+
</div>
|
|
48
|
+
<div id="header-float-right">
|
|
49
|
+
<% if show_header_user_account %>
|
|
50
|
+
<div id="user-account">
|
|
51
|
+
<% if content_for?(:header_user_account) %>
|
|
52
|
+
<%= yield :header_user_account %>
|
|
53
|
+
<% else %>
|
|
54
|
+
<div id="logout">
|
|
55
|
+
<a href="#">Log out</a>
|
|
56
|
+
</div>
|
|
57
|
+
<div id="user-account-email">
|
|
58
|
+
demo.email@dvla.gov.uk
|
|
59
|
+
</div>
|
|
60
|
+
<% end %>
|
|
61
|
+
</div>
|
|
62
|
+
<% end %>
|
|
27
63
|
</div>
|
|
28
64
|
</div>
|
|
29
65
|
</div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dvla_internal_frontend_toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Liam Betsworth
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-11-
|
|
13
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: railties
|