pugin 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3821098aad2b72659543b19745da997495da10d2
|
4
|
+
data.tar.gz: e2f6cbf55e31eecff857505845ead2300a93e772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c7307aa434b320c73c937e79c289db120625b53a92ec8057e8c8a7e5487a8165e142e02e69018b266ce18514f52b0bf080c81d7768dedd49f6c44dd3dad2d7
|
7
|
+
data.tar.gz: 88c811d77b8dd4fe7a1f5070615731de8c987e9a28c91214079df43fa104478ad70a3f6ccf8f550f136ef43b1f93ef147d527ed89149e09b77f2d4973ad62690
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
= render partial: 'pugin/icons/close'
|
1
|
+
%form{ action: '/search', method: 'get'}
|
2
|
+
.input-group
|
3
|
+
%label.sr-only{ for: 'search_global' } Enter a keyword
|
4
|
+
%input{ type: 'search', name: 'q', value: @query_parameter, id: 'search_global', autocomplete: 'off', maxlength: '1000', pattern: '^(?!.*<script|<Script).*$', required: '' }
|
5
|
+
%button{ class: 'btn--white', tabindex: '-1', type: 'submit', aria: { label: 'submit search' } }
|
6
|
+
= render partial: 'pugin/icons/search'
|
7
|
+
%a{ href: '/search', class: 'btn--toggle', aria: { label: 'open search' } }
|
8
|
+
= render partial: 'pugin/icons/search'
|
9
|
+
= render partial: 'pugin/icons/close'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
%svg{ width: '20', height: '20', viewbox: '0 0 20 20', xmlns: 'http://www.w3.org/2000/svg', aria: { hidden: 'true' }, data: { icon: 'close' } }
|
2
|
-
%title
|
2
|
+
%title Close
|
3
3
|
%g{ stroke: '#fff' }
|
4
4
|
%g
|
5
5
|
%line{ stroke: { width: '2' }, x1: '0', x2: '18', y1: '0', y2: '18' }
|
data/lib/pugin/version.rb
CHANGED
@@ -24,12 +24,11 @@
|
|
24
24
|
</svg>
|
25
25
|
|
26
26
|
</a>
|
27
|
-
<div class='search__global'>
|
28
27
|
<form action='/search' method='get'>
|
29
28
|
<div class='input-group'>
|
30
29
|
<label class='sr-only' for='search_global'>Enter a keyword</label>
|
31
|
-
<input id='search_global' maxlength='1000' name='q' pattern='^(?!.*<script|<Script).*$' required='' type='search'>
|
32
|
-
<button aria-label='submit search' class='btn--white'
|
30
|
+
<input autocomplete='off' id='search_global' maxlength='1000' name='q' pattern='^(?!.*<script|<Script).*$' required='' type='search'>
|
31
|
+
<button aria-label='submit search' class='btn--white' tabindex='-1' type='submit'>
|
33
32
|
<svg aria-hidden='true' data-icon='search' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
|
34
33
|
<title>Search icon</title>
|
35
34
|
<g fill='#fff'>
|
@@ -41,7 +40,7 @@
|
|
41
40
|
</button>
|
42
41
|
</div>
|
43
42
|
</form>
|
44
|
-
<a aria-label='open search' class='
|
43
|
+
<a aria-label='open search' class='btn--toggle' href='/search'>
|
45
44
|
<svg aria-hidden='true' data-icon='search' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
|
46
45
|
<title>Search icon</title>
|
47
46
|
<g fill='#fff'>
|
@@ -51,7 +50,7 @@
|
|
51
50
|
</svg>
|
52
51
|
|
53
52
|
<svg aria-hidden='true' data-icon='close' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
|
54
|
-
<title>
|
53
|
+
<title>Close</title>
|
55
54
|
<g stroke='#fff'>
|
56
55
|
<g>
|
57
56
|
<line stroke-width='2' x1='0' x2='18' y1='0' y2='18'></line>
|
@@ -63,7 +62,6 @@
|
|
63
62
|
</svg>
|
64
63
|
|
65
64
|
</a>
|
66
|
-
</div>
|
67
65
|
|
68
66
|
</div>
|
69
67
|
</header>
|