dvla_internal_frontend_toolkit 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ddb16780dc5e6049987b46d85e4b9ef5552641b
4
- data.tar.gz: 22c13e8632d10926857e8c34306b61e2cb10b701
3
+ metadata.gz: 556695fb14312b5087738e179062c0bcb3fd347f
4
+ data.tar.gz: 50cd5cbf0eb297f9be557ba8c5b49df41b3cbed5
5
5
  SHA512:
6
- metadata.gz: cce107a5ea3484b791a327e52113f82c63c258940d7ba40ef4550a874049e7b4a7b15d2925a63e1a93fa99c81220632bb52aebff880b5a2d92751162aad588aa
7
- data.tar.gz: 9900616f03632acfaa9fe2ee089c494990c229584255c64561dabd38c93bfc6d8221e8739743957129722813213a073e27895ed52c43a249105aafd36dd23da8
6
+ metadata.gz: ee1baf8583db0174f54d1abadeeb8c9af7f3301b06b3e07df67d658bce90a8183529cb57ad357faa853122be6abd8bf869010a49f2429b2f12e15bfbfd062787
7
+ data.tar.gz: e77b7f8fa941d45592c5c9a3e155c5567d67f35d045e75f13da6a30bf2b3f05345a372926c748af8373325cbf1d8f26f9ea0b758da4c6ce2b1c7c67f86833861
@@ -0,0 +1,43 @@
1
+ <%= yield :top_of_page %>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title><%= yield :page_title %> </title>
6
+ <meta name="viewport" content="width=device-width" />
7
+ <%= yield :head %>
8
+ </head>
9
+
10
+ <body class="<%= yield :body_classes %>">
11
+ <script>
12
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
13
+ </script>
14
+ <%= yield :body_start %>
15
+
16
+ <header role="banner" id="global-header" class="<%= yield :header_class%>">
17
+ <div id="header-wrapper">
18
+ <div id="header-contents">
19
+ <div id="header-float-left">
20
+ <div id="header-logo">
21
+ <a href="/" title="Home" id="logo" class="content">
22
+ <div id="coat-of-arms" alt=""></div>
23
+ <div class="name">DVLA</div>
24
+ <div class="service-name"><%= yield :service_name %></div>
25
+ </a>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </header>
31
+
32
+ <%= yield :after_header %>
33
+
34
+ <main id="content">
35
+ <div class="container-dialog">
36
+ <div class="dialog">
37
+ <%= yield :content %>
38
+ </div>
39
+ </div>
40
+ </main>
41
+ </body>
42
+
43
+ </html>
@@ -0,0 +1,53 @@
1
+ <%= yield :top_of_page %>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title><%= yield :page_title %> </title>
6
+ <meta name="viewport" content="width=device-width" />
7
+ <%= yield :head %>
8
+ </head>
9
+
10
+ <body class="<%= yield :body_classes %>">
11
+ <script>
12
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
13
+ </script>
14
+ <%= yield :body_start %>
15
+
16
+ <header role="banner" id="global-header" class="<%= yield :header_class%>">
17
+ <div id="header-wrapper">
18
+ <div id="header-contents">
19
+ <div id="header-float-left">
20
+ <div id="header-logo">
21
+ <a href="/" title="Home" id="logo" class="content">
22
+ <div id="coat-of-arms" alt=""></div>
23
+ <div class="name">DVLA</div>
24
+ <div class="service-name"><%= yield :service_name %></div>
25
+ </a>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </header>
31
+
32
+ <%= yield :after_header %>
33
+
34
+ <main id="content">
35
+ <div id="side-bar">
36
+ <% if content_for?(:tabs_left) %>
37
+ <% yield :tabs_left %>
38
+ <% else %>
39
+ <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>
44
+ </ul>
45
+ <% end %>
46
+ </div>
47
+ <div class="container-fluid">
48
+ <%= yield :content %>
49
+ </div>
50
+ </main>
51
+ </body>
52
+
53
+ </html>
@@ -0,0 +1,51 @@
1
+ <%= yield :top_of_page %>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title><%= yield :page_title %> </title>
6
+ <meta name="viewport" content="width=device-width" />
7
+ <%= yield :head %>
8
+ </head>
9
+
10
+ <body class="<%= yield :body_classes %>">
11
+ <script>
12
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
13
+ </script>
14
+ <%= yield :body_start %>
15
+
16
+ <header role="banner" id="global-header" class="<%= yield :header_class%>">
17
+ <div id="header-wrapper">
18
+ <div id="header-contents">
19
+ <div id="header-float-left">
20
+ <div id="header-logo">
21
+ <a href="/" title="Home" id="logo" class="content">
22
+ <div id="coat-of-arms" alt=""></div>
23
+ <div class="name">DVLA</div>
24
+ <div class="service-name"><%= yield :service_name %></div>
25
+ </a>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ <% if content_for?(:tabs_top) %>
31
+ <% yield :tabs_top %>
32
+ <% else %>
33
+ <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>
38
+ </ul>
39
+ <% end %>
40
+ </header>
41
+
42
+ <%= yield :after_header %>
43
+
44
+ <main id="content">
45
+ <div class="container-fluid">
46
+ <%= yield :content %>
47
+ </div>
48
+ </main>
49
+ </body>
50
+
51
+ </html>
@@ -0,0 +1,63 @@
1
+ <%= yield :top_of_page %>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title><%= yield :page_title %> </title>
6
+ <meta name="viewport" content="width=device-width" />
7
+ <%= yield :head %>
8
+ </head>
9
+
10
+ <body class="<%= yield :body_classes %>">
11
+ <script>
12
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
13
+ </script>
14
+ <%= yield :body_start %>
15
+
16
+ <header role="banner" id="global-header" class="<%= yield :header_class%>">
17
+ <div id="header-wrapper">
18
+ <div id="header-contents">
19
+ <div id="header-float-left">
20
+ <div id="header-logo">
21
+ <a href="/" title="Home" id="logo" class="content">
22
+ <div id="coat-of-arms" alt=""></div>
23
+ <div class="name">DVLA</div>
24
+ <div class="service-name"><%= yield :service_name %></div>
25
+ </a>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ <% if content_for?(:tabs_top) %>
31
+ <% yield :tabs_top %>
32
+ <% else %>
33
+ <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>
38
+ </ul>
39
+ <% end %>
40
+ </header>
41
+
42
+ <%= yield :after_header %>
43
+
44
+ <main id="content">
45
+ <div id="side-bar">
46
+ <% if content_for?(:tabs_left) %>
47
+ <% yield :tabs_left %>
48
+ <% else %>
49
+ <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>
54
+ </ul>
55
+ <% end %>
56
+ </div>
57
+ <div class="container-fluid">
58
+ <%= yield :content %>
59
+ </div>
60
+ </main>
61
+ </body>
62
+
63
+ </html>
@@ -0,0 +1,41 @@
1
+ <%= yield :top_of_page %>
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <title><%= yield :page_title %> </title>
6
+ <meta name="viewport" content="width=device-width" />
7
+ <%= yield :head %>
8
+ </head>
9
+
10
+ <body class="<%= yield :body_classes %>">
11
+ <script>
12
+ document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
13
+ </script>
14
+ <%= yield :body_start %>
15
+
16
+ <header role="banner" id="global-header" class="<%= yield :header_class%>">
17
+ <div id="header-wrapper">
18
+ <div id="header-contents">
19
+ <div id="header-float-left">
20
+ <div id="header-logo">
21
+ <a href="/" title="Home" id="logo" class="content">
22
+ <div id="coat-of-arms" alt=""></div>
23
+ <div class="name">DVLA</div>
24
+ <div class="service-name"><%= yield :service_name %></div>
25
+ </a>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </header>
31
+
32
+ <%= yield :after_header %>
33
+
34
+ <main id="content">
35
+ <div class="container-fluid">
36
+ <%= yield :content %>
37
+ </div>
38
+ </main>
39
+ </body>
40
+
41
+ </html>
@@ -1,3 +1,3 @@
1
1
  module DvlaInternalFrontendToolkit
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.3.0
4
+ version: 0.3.1
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-10-18 00:00:00.000000000 Z
13
+ date: 2017-10-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -67,7 +67,12 @@ files:
67
67
  - app/assets/fonts/Inter-UI-Medium.woff
68
68
  - app/assets/fonts/Inter-UI-Regular.woff
69
69
  - app/assets/fonts/dvla-icons.woff
70
+ - app/views/layouts/erb/layout-dialog.html.erb
70
71
  - app/views/layouts/erb/layout-fixed.html.erb
72
+ - app/views/layouts/erb/layout-fluid-tabs-left.html.erb
73
+ - app/views/layouts/erb/layout-fluid-tabs-top.html.erb
74
+ - app/views/layouts/erb/layout-fluid-tabs.html.erb
75
+ - app/views/layouts/erb/layout-fluid.html.erb
71
76
  - app/views/layouts/nunjucks/layout-dialog.html
72
77
  - app/views/layouts/nunjucks/layout-fixed.html
73
78
  - app/views/layouts/nunjucks/layout-fluid-tabs-left.html