dvla_internal_frontend_toolkit 0.4.4 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab7277d83e2832cc876217bbe64121be9054f880
4
- data.tar.gz: cd8b21ddbebdb46b3406174fcb834be7309c54e6
3
+ metadata.gz: aeefeb157973c9fb76d0ab0335ecb5a0c32719b9
4
+ data.tar.gz: f56c03f4014ea251aef70d9164c8869b00d8f6cf
5
5
  SHA512:
6
- metadata.gz: f1324d6d0c9095433dcb1e40682ca2353efe834cb6d0f0d6e2ae522f214aa236e743b2899585bd4302ffd3122cd55796feb194739dbe442310ffa2b03d4a36ce
7
- data.tar.gz: 190eb63ea7e2b6e3b150dcea44048d209e63d4ea4bd5807004cff8feb3ae8ffcec2e28def1e0c30f12ccb543cab0e7059a4ed41199ed68f27bb33b18934563bc
6
+ metadata.gz: 448d68845a85e8d67b0d6e01a0e2f8a8327e4cac35a028e4240f462e1a3c44beb59c4d534a3ff4634a92bc0c5c01f265ecd7f6a178cb9a16a50c39206e198b8d
7
+ data.tar.gz: 798203f3c72f2785e36fe85c92820ed4573e98651f9a16d3a0c96ac8c3339b37f0634f06b69375e06acb66b13eb1b30d8792c76bba4fa62024cc2a4c9613a745
@@ -22,44 +22,12 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
@@ -22,48 +22,18 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
66
- <% if show_header_bar %>
34
+ <% if content_for?(:global_header_bar) %>
35
+ <%= yield :global_header_bar %>
36
+ <% else %>
67
37
  <div id="global-header-bar"></div>
68
38
  <% end %>
69
39
  </header>
@@ -22,44 +22,12 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
@@ -22,44 +22,12 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
@@ -22,44 +22,12 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
@@ -22,44 +22,12 @@
22
22
  <div id="coat-of-arms" alt=""></div>
23
23
  <div class="name">DVLA</div>
24
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 %>
25
+ <%= yield :header_application_title %>
34
26
  </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 %>
27
+ <%= yield :header_search %>
47
28
  </div>
48
29
  <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 %>
30
+ <%= yield :header_user_account %>
63
31
  </div>
64
32
  </div>
65
33
  </div>
@@ -1,3 +1,3 @@
1
1
  module DvlaInternalFrontendToolkit
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Betsworth