linaro-jekyll-theme 0.10.69 → 0.10.70

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: d6913c5ac3a50d9c1612b0e8fb271533db496c22
4
- data.tar.gz: a1ca2756c3726f9ea9859f38321273d1e33cab64
3
+ metadata.gz: 050dd83d3b2dac08a3d2e922c35ce3ba26ef9bb6
4
+ data.tar.gz: a68d34aa3332e1cd35686e81fbbd3220104a474e
5
5
  SHA512:
6
- metadata.gz: fc539318327710386cb364b90c90d0396598b56b6afeb13b92ad079bb4bbd9277a54fb1d02359a8cd6d01b95b23c1c050c09217e8f15182a2d533ec5246d069a
7
- data.tar.gz: 6cb8e283debd633ed338e6279ed0e54442660df9e5ade1c9167c2d242b0c7d7781727f35841e98afdd2543d7a07078f7c71a92742c9b848796dd59122450fe9f
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: 96boards
5
- image: /assets/images/Linaro-Logo_light.png
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: 96boards Overview
11
+ - text: Linaro Overview
11
12
  url: /about/
12
- - text: Specifications
13
- url: /Specifications/
14
- - text: Compliance
15
- url: /compliance/
16
- - text: Membership
17
- url: /membership/
18
- - title: Products
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: Latest Boards
21
- url: /products/
22
- - text: Consumer Edition(CE)
23
- url: /products/ce/
24
- - text: Enterprise Edition (EE)
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: Contribute
37
- url: /projects/contribute.md/
38
- - text: FAQ
39
- url: /projects/faq.md/
40
- - text: Submit a Project
41
- url: /projects/submit.md/
42
- separator: true
43
- - text: OpenHours
44
- url: /openhours/
45
- - title: Documentation
46
- url: /documentation/
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: Discussion Forum
52
- url: https://discuss.96boards.org/
53
- - text: DragonBoard410c
54
- url: https://discuss.96boards.org/c/products/dragonboard410c
55
- - text: HiKey
56
- url: https://discuss.96boards.org/c/products/hikey
57
- - text: HiKey 960
58
- url: https://discuss.96boards.org/c/products/hikey960
59
- - text: MediaTek-x20
60
- url: https://discuss.96boards.org/c/products/mediatek-x20
61
- - text: Bubblegum-96
62
- url: https://discuss.96boards.org/c/products/bubblegum96
63
- - text: Polpar
64
- url: https://discuss.96boards.org/c/products/poplar
65
- - text: General Forum
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="menu-item dropdown dropdown-submenu">
45
- {% for sub-option in menu_option.options %}
46
- {% if sub-option.options %}
47
- <ul class="dropdown-menu">
48
- {% for sub-sub-option in sub-option.options %}
49
- {% if sub-sub-option.options %}
50
- <li class="menu-item dropdown dropdown-submenu">
51
- {% for sub-sub-sub-option in sub-sub-option.options %}
52
- {% if sub-sub-sub-option.options %}
53
- <ul class="dropdown-menu">
54
- {% for sub-sub-sub-sub-option in sub-sub-sub-option.options %}
55
- <li>
56
- <a href="{{sub-sub-sub-sub-option.url}}">{{sub-sub-sub-sub-option.text}}</a>
57
- </li>
58
- {% endfor %}
59
- </ul>
60
- {% else %}
61
- <a href="{{sub-sub-sub-option.url}}" class="dropdown-toggle" data-toggle="dropdown">{{sub-sub-sub-option.text}}</a>
62
- {% endif %}
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.69
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-04 00:00:00.000000000 Z
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