linaro-jekyll-theme 0.10.69 → 0.10.70
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/_data/nav.yml +52 -60
- data/_includes/_theme-includes/_navigation/nav.html +19 -34
- data/_sass/custom.scss +0 -0
- data/assets/js/vendor/cognito-forms.js +150 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 050dd83d3b2dac08a3d2e922c35ce3ba26ef9bb6
|
|
4
|
+
data.tar.gz: a68d34aa3332e1cd35686e81fbbd3220104a474e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8ad53539519f44bec9d0cc8c8fbb685d4b791936b30da33982f83f13ddef3fadce3a77b8a05f0839905664a52b51d525d27e7e0b90981d1eef5e15cb52e0b68
|
|
7
|
+
data.tar.gz: 332943ba160df36e8e73d22d09926c9679233a73a5f1106254b2301a5c596e6e27d7578995402cf6dd67a104af419cec2bf890cdf24b1d5676ad1b17f7c570d1
|
data/_data/nav.yml
CHANGED
|
@@ -1,70 +1,62 @@
|
|
|
1
1
|
search: true
|
|
2
|
-
# style: navbar-inverse navbar-fixed-top
|
|
3
2
|
brand:
|
|
4
|
-
text:
|
|
5
|
-
image:
|
|
3
|
+
text: OpenDataPlane
|
|
4
|
+
image: linaro-logo.png
|
|
6
5
|
url: /
|
|
7
6
|
pages:
|
|
7
|
+
- title: Home
|
|
8
|
+
url: /
|
|
8
9
|
- title: About
|
|
9
10
|
options:
|
|
10
|
-
- text:
|
|
11
|
+
- text: Linaro Overview
|
|
11
12
|
url: /about/
|
|
12
|
-
- text:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
- text: Organisation
|
|
14
|
+
options:
|
|
15
|
+
- text: Board of Directors
|
|
16
|
+
url: /about/board/
|
|
17
|
+
- text: Executive Team
|
|
18
|
+
url: /about/executive/
|
|
19
|
+
- text: Technical Steering Committee
|
|
20
|
+
url: /about/tsc/
|
|
21
|
+
- text: Office of the CTO
|
|
22
|
+
url: /about/octo/
|
|
23
|
+
url: /work/
|
|
24
|
+
- text: Members
|
|
25
|
+
url: /members/
|
|
26
|
+
- text: Careers
|
|
27
|
+
url: /careers/
|
|
28
|
+
- title: Work
|
|
19
29
|
options:
|
|
20
|
-
- text:
|
|
21
|
-
url: /
|
|
22
|
-
- text:
|
|
23
|
-
url: /
|
|
24
|
-
- text:
|
|
25
|
-
url: /products/ee/
|
|
26
|
-
- text: IoT Edition(IE)
|
|
27
|
-
url: /products/ie/
|
|
28
|
-
- text: Mezzanine Products
|
|
29
|
-
url: /products/mezzanine/
|
|
30
|
-
- text: Accessories
|
|
31
|
-
url: /products/accessories/
|
|
32
|
-
- title: Projects
|
|
33
|
-
options:
|
|
34
|
-
- text: Projects
|
|
30
|
+
- text: Core Engineering
|
|
31
|
+
url: /core/
|
|
32
|
+
- text: Segment Groups
|
|
33
|
+
url: /groups/
|
|
34
|
+
- text: Lead Projects
|
|
35
35
|
url: /projects/
|
|
36
|
-
- text:
|
|
37
|
-
url: /
|
|
38
|
-
- text:
|
|
39
|
-
url: /
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
- title: Blog
|
|
48
|
-
url: /blog/
|
|
49
|
-
- title: Forums
|
|
36
|
+
- text: Initiatives
|
|
37
|
+
url: /initiatives/
|
|
38
|
+
- text: Professional Services
|
|
39
|
+
url: /professional-services/
|
|
40
|
+
- title: Downloads
|
|
41
|
+
options:
|
|
42
|
+
- text: Software Downloads
|
|
43
|
+
url: /downloads/
|
|
44
|
+
- text: Developers
|
|
45
|
+
url: /developers/
|
|
46
|
+
- title: "News & Events"
|
|
50
47
|
options:
|
|
51
|
-
- text:
|
|
52
|
-
url:
|
|
53
|
-
- text:
|
|
54
|
-
url:
|
|
55
|
-
- text:
|
|
56
|
-
url:
|
|
57
|
-
- text:
|
|
58
|
-
url:
|
|
59
|
-
- text:
|
|
60
|
-
url: https://
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
url: https://discuss.96boards.org/c/general
|
|
67
|
-
- text: Specification
|
|
68
|
-
url: https://discuss.96boards.org/c/specification
|
|
69
|
-
- text: Login / Register
|
|
70
|
-
url: https://discuss.96boards.org/login
|
|
48
|
+
- text: "News & Events"
|
|
49
|
+
url: /hub/
|
|
50
|
+
- text: News
|
|
51
|
+
url: /news/
|
|
52
|
+
- text: Linaro Blog
|
|
53
|
+
url: /blog/
|
|
54
|
+
- text: Planet Linaro
|
|
55
|
+
url: /planet/
|
|
56
|
+
- text: Linaro Connect
|
|
57
|
+
url: https://connect.linaro.org
|
|
58
|
+
external: true
|
|
59
|
+
- text: Social Media Hub
|
|
60
|
+
url: /social/
|
|
61
|
+
- title: Contact
|
|
62
|
+
url: /contact/
|
|
@@ -41,40 +41,25 @@
|
|
|
41
41
|
<ul class="dropdown-menu">
|
|
42
42
|
{% for menu_option in section.options %}
|
|
43
43
|
{% if menu_option.options %}
|
|
44
|
-
<li class="
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{% endfor %}
|
|
64
|
-
</li>
|
|
65
|
-
{% else %}
|
|
66
|
-
<li class="menu-item ">
|
|
67
|
-
<a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a>
|
|
68
|
-
</li>
|
|
69
|
-
{% endif %}
|
|
70
|
-
{% endfor %}
|
|
71
|
-
</ul>
|
|
72
|
-
{% else %}
|
|
73
|
-
<a href="{{sub-option.url}}" class="dropdown-toggle" data-toggle="dropdown">{{sub-option.text}}</a>
|
|
74
|
-
{% endif %}
|
|
75
|
-
{% endfor %}
|
|
76
|
-
|
|
77
|
-
</li>
|
|
44
|
+
<li class="dropdown-submenu">
|
|
45
|
+
<a tabindex="-1" href="#">{{menu_option.text}}</a>
|
|
46
|
+
<ul class="dropdown-menu">
|
|
47
|
+
{% for sub-option in menu_option.options %}
|
|
48
|
+
{% if sub-option.options %}
|
|
49
|
+
<li class="dropdown-submenu">
|
|
50
|
+
<a href="#">{{sub-option.text}}</a>
|
|
51
|
+
<ul class="dropdown-menu">
|
|
52
|
+
{% for sub-sub-option in sub-option.options %}
|
|
53
|
+
<li><a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a></li>
|
|
54
|
+
{% endfor %}
|
|
55
|
+
</ul>
|
|
56
|
+
</li>
|
|
57
|
+
{% else %}
|
|
58
|
+
<li><a href="{{sub-option.url}}">{{sub-option.text}}</a></li>
|
|
59
|
+
{% endif %}
|
|
60
|
+
{% endfor %}
|
|
61
|
+
</ul>
|
|
62
|
+
</li>
|
|
78
63
|
{% endif %}
|
|
79
64
|
<li>
|
|
80
65
|
<a target="_self" href="{{menu_option.url}}" class="dropdown-item " title="{{menu_option.txt}}">{{menu_option.text}} {% if menu_option.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}</a>
|
data/_sass/custom.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
(function (window, document) {
|
|
2
|
+
// Ensure we have not already been loaded
|
|
3
|
+
if (window['Cognito'] && window['Cognito'].config && window['Cognito'].config.scripts && window['Cognito'].config.embedLoaded) return;
|
|
4
|
+
|
|
5
|
+
if (document.location.hash) {
|
|
6
|
+
var hash = decodeURIComponent(document.location.hash);
|
|
7
|
+
|
|
8
|
+
if (hash.match(/#.{44}[*!]/gi)) {
|
|
9
|
+
var frames = document.getElementsByTagName('iframe');
|
|
10
|
+
frames[frames.length - 1].src += hash;
|
|
11
|
+
frames[frames.length - 1].scrollIntoView();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Ensure we do not double-up the script
|
|
16
|
+
Cognito = window['Cognito'] = window['Cognito'] || {};
|
|
17
|
+
Cognito.config = Cognito['config'] || {};
|
|
18
|
+
|
|
19
|
+
Cognito.config.embedLoaded = true;
|
|
20
|
+
|
|
21
|
+
var readyHandlers = [];
|
|
22
|
+
|
|
23
|
+
// Locate an iframe element based upon the content window
|
|
24
|
+
function getIframe(frameWindow) {
|
|
25
|
+
var iframes = document.getElementsByTagName('iframe');
|
|
26
|
+
for (var i = 0; i < iframes.length; i++) {
|
|
27
|
+
if (frameWindow === iframes[i].contentWindow) {
|
|
28
|
+
return iframes[i];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Helper methods
|
|
36
|
+
// Prefill framed form
|
|
37
|
+
Cognito.prefill = function Cognito$prefill(/*entry [,frame]*/) {
|
|
38
|
+
var targetFrame;
|
|
39
|
+
var entry = arguments[0];
|
|
40
|
+
if (arguments.length > 1 && arguments[1].tagName && arguments[1].tagName.toLowerCase() === 'iframe') {
|
|
41
|
+
targetFrame = arguments[1];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (!targetFrame) {
|
|
45
|
+
var iframes = document.getElementsByTagName('iframe');
|
|
46
|
+
for (var i = 0; i < iframes.length && !targetFrame; i++) {
|
|
47
|
+
if (iframes[i].src.indexOf('cognito') > -1) {
|
|
48
|
+
targetFrame = iframes[i];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
readyHandlers.push(function () {
|
|
54
|
+
targetFrame.contentWindow.postMessage(JSON.stringify({ event: 'prefill', data: { entry: entry } }), '*');
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
// Allow end users to specify css to be applied to content within the form frame
|
|
59
|
+
Cognito.setCss = function Cognito$setCss(css) {
|
|
60
|
+
readyHandlers.push(function (source) {
|
|
61
|
+
source.postMessage(JSON.stringify({ event: 'setCss', data: { css: css } }), '*');
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
// Event handlers
|
|
66
|
+
var handlers =
|
|
67
|
+
{
|
|
68
|
+
// Adjust iframe height to match inner content
|
|
69
|
+
heightChanged: function handlers$heightChanged(source, params) {
|
|
70
|
+
var height = params.height;
|
|
71
|
+
|
|
72
|
+
var cognitoFrame = getIframe(source);
|
|
73
|
+
|
|
74
|
+
// Set frame height
|
|
75
|
+
cognitoFrame.height = (height) + "px";
|
|
76
|
+
|
|
77
|
+
// Ensure iframe is visible
|
|
78
|
+
if (cognitoFrame.style.display === 'none') {
|
|
79
|
+
cognitoFrame.style.display = 'block';
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
// Navigate current page, if needed
|
|
84
|
+
navigate: function handlers$navigate(source, params) {
|
|
85
|
+
if (params.url) {
|
|
86
|
+
window.top.document.location.href = params.url;
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
// Cognito document ready
|
|
91
|
+
domReady: function handlers$domReady(source, params) {
|
|
92
|
+
var iframe = getIframe(source);
|
|
93
|
+
iframe.setAttribute('scrolling', 'no');
|
|
94
|
+
|
|
95
|
+
var entry = '';
|
|
96
|
+
var foundEntry = /[\\?&]entry=([^&#]*)/.exec(document.location.search);
|
|
97
|
+
if (foundEntry) {
|
|
98
|
+
entry = foundEntry[1];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
var initData = {
|
|
102
|
+
embedUrl: document.location.href,
|
|
103
|
+
entry: entry
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
source.postMessage(JSON.stringify({ event: 'init', data: initData }), '*');
|
|
107
|
+
|
|
108
|
+
for (var i = 0; i < readyHandlers.length; i++) {
|
|
109
|
+
readyHandlers[i](source);
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
// Update hash
|
|
114
|
+
updateHash: function handlers$updateHash(source, params) {
|
|
115
|
+
document.location.hash = params.hash;
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
// Fire Event
|
|
119
|
+
fireEvent: function handlers$fireEvent(source, params) {
|
|
120
|
+
if (window.jQuery) {
|
|
121
|
+
var jqEvent = $.Event(params.name);
|
|
122
|
+
$(document).trigger(jqEvent, [params.data]);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
// Event handler for postmessage
|
|
128
|
+
function handleMessage(e) {
|
|
129
|
+
if (!e.data) return;
|
|
130
|
+
|
|
131
|
+
var payload;
|
|
132
|
+
try {
|
|
133
|
+
payload = JSON.parse(e.data);
|
|
134
|
+
} catch (e) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (!payload) return;
|
|
139
|
+
|
|
140
|
+
var handler = handlers[payload.event];
|
|
141
|
+
if (handler) {
|
|
142
|
+
handler(e.source, payload);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// Bind to postMessage
|
|
147
|
+
var eventMethod = window.addEventListener ? 'addEventListener' : 'attachEvent';
|
|
148
|
+
var event = window.addEventListener ? 'message' : 'onmessage';
|
|
149
|
+
window[eventMethod](event, handleMessage, false);
|
|
150
|
+
})(window, document);
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linaro-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.70
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Kirkby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -349,6 +349,7 @@ files:
|
|
|
349
349
|
- _sass/core/syntax.scss
|
|
350
350
|
- _sass/core/tables.scss
|
|
351
351
|
- _sass/core/theme.scss
|
|
352
|
+
- _sass/custom.scss
|
|
352
353
|
- _sass/home-page.scss
|
|
353
354
|
- _sass/main-blog.scss
|
|
354
355
|
- _sass/main-home.scss
|
|
@@ -403,6 +404,7 @@ files:
|
|
|
403
404
|
- assets/js/app/sticky.js
|
|
404
405
|
- assets/js/app/tables.js
|
|
405
406
|
- assets/js/vendor/bootstrap.min.js
|
|
407
|
+
- assets/js/vendor/cognito-forms.js
|
|
406
408
|
- assets/js/vendor/cookieconsent.min.js
|
|
407
409
|
- assets/js/vendor/flipclock.min.js
|
|
408
410
|
- assets/js/vendor/jquery.min.js
|