mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Layout: Add Whitespace To Layouts
This commit is contained in:
parent
6bfb8849dd
commit
df3b8dcf28
14 changed files with 157 additions and 76 deletions
|
@ -1,3 +1,8 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div id="content" class="content">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<div id="content" class="content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <script type="text/javascript">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
fallbackSVG();
|
fallbackSVG();
|
||||||
addAnchorLinks();
|
addAnchorLinks();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div class="footerlicense">© Bitcoin Project 2009-{{ site.time | date: '%Y' }} {% translate footer layout %}</div>
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<div class="footerlicense">© Bitcoin Project 2009-{{ site.time | date: '%Y' }} {% translate footer layout %}</div>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div class="footermenu">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<div class="footermenu">
|
||||||
<a href="/en/alerts" class="statusmenu{% if site.STATUS == 1 %} alert{% endif %}">Network Status</a>
|
<a href="/en/alerts" class="statusmenu{% if site.STATUS == 1 %} alert{% endif %}">Network Status</a>
|
||||||
<a href="/{{ page.lang }}/{% translate legal url %}">{% translate menu-legal layout %}</a>
|
<a href="/{{ page.lang }}/{% translate legal url %}">{% translate menu-legal layout %}</a>
|
||||||
{% case page.lang %}
|
{% case page.lang %}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div class="footersponsor">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<div class="footersponsor">
|
||||||
<div><span>{% translate sponsor layout %}</span> <a href="https://bitcoinfoundation.org/"><img src="/img/brand/bitcoinfoundation.png" alt="Bitcoin Foundation"></a></div>
|
<div><span>{% translate sponsor layout %}</span> <a href="https://bitcoinfoundation.org/"><img src="/img/brand/bitcoinfoundation.png" alt="Bitcoin Foundation"></a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <ul class="lang">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
<ul class="lang">
|
||||||
<li><a href="#" onclick="return false;">{{ site.langs[page.lang] }}</a>
|
<li><a href="#" onclick="return false;">{{ site.langs[page.lang] }}</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><ul>
|
<li><ul>
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div id="langselect" class="langselect"><select onchange="window.location=this.value;">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
<div id="langselect" class="langselect"><select onchange="window.location=this.value;">
|
||||||
{% for lang in site.langsorder %}{% assign active = ''%}{% if lang == page.lang %}{% assign active = ' selected="selected"'%}{% endif %}
|
{% for lang in site.langsorder %}{% assign active = ''%}{% if lang == page.lang %}{% assign active = ' selected="selected"'%}{% endif %}
|
||||||
<option value="/{{ lang }}/{% translate {{page.id}} url {{lang}} %}"{{ active }}>{{ site.langs[lang] }}</option>
|
<option value="/{{ lang }}/{% translate {{page.id}} url {{lang}} %}"{{ active }}>{{ site.langs[lang] }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <a class="logo" href="/{{ page.lang }}/"><img src="/img/icons/logotop.svg" alt="Bitcoin"></a>
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<a class="logo" href="/{{ page.lang }}/"><img src="/img/icons/logotop.svg" alt="Bitcoin"></a>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <ul id="menusimple" class="menusimple" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<ul id="menusimple" class="menusimple" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
|
||||||
<li><a href="#" onclick="return false;">{% translate menu-intro layout %}</a>
|
<li><a href="#" onclick="return false;">{% translate menu-intro layout %}</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li{% if page.id == 'bitcoin-for-individuals' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate bitcoin-for-individuals url %}">{% translate menu-bitcoin-for-individuals layout %}</a></li>
|
<li{% if page.id == 'bitcoin-for-individuals' %} class="active"{% endif %}><a href="/{{ page.lang }}/{% translate bitcoin-for-individuals url %}">{% translate menu-bitcoin-for-individuals layout %}</a></li>
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <a id="menumobile" class="menumobile" onclick="mobileMenuShow(event);" ontouchstart="mobileMenuShow(event);" href="#"></a>
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<a id="menumobile" class="menumobile" onclick="mobileMenuShow(event);" ontouchstart="mobileMenuShow(event);" href="#"></a>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %}<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<meta property="og:image" content="https://bitcoin.org/img/icons/opengraph.png" />
|
<meta property="og:image" content="https://bitcoin.org/img/icons/opengraph.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||||
<title>{% capture title %}{% translate title %}{% endcapture %}{% if title != '' %}{{ title }}{% else %}{{ page.title }}{% endif %}</title>
|
<title>{% capture title %}{% translate title %}{% endcapture %}{% if title != '' %}{{ title }}{% else %}{{ page.title }}{% endif %}</title>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %}{% if site.ALERT %}
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
{% if site.ALERT %}
|
||||||
<div class="banner-message {{ site.ALERTCLASS }}">
|
<div class="banner-message {{ site.ALERTCLASS }}">
|
||||||
<a href="{{ site.ALERTURL }}"><span>{{ site.ALERT }}</span></a>
|
<a href="{{ site.ALERTURL }}"><span>{{ site.ALERT }}</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %}<div id="detectmobile" class="detectmobile"></div>
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<div id="detectmobile" class="detectmobile"></div>
|
||||||
|
|
|
@ -4,15 +4,33 @@
|
||||||
---
|
---
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html lang="{{ page.lang }}">
|
<html lang="{{ page.lang }}">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
{% include layout/base/html-head.html %}</head>
|
{% include layout/base/html-head.html %}
|
||||||
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{% include layout/base/pagetop-detect-mobile.html %}{% include layout/base/pagetop-alert.html %} <div class="head"><div>
|
{% include layout/base/pagetop-detect-mobile.html %}
|
||||||
{% include layout/base/head-language-dropdown.html %}{% include layout/base/head-mobile-menu.html %}{% include layout/base/head-logo.html %}{% include layout/base/head-language-select.html %}{% include layout/base/head-menu.html %} </div></div>
|
{% include layout/base/pagetop-alert.html %}
|
||||||
|
|
||||||
|
<div class="head"><div>
|
||||||
|
{% include layout/base/head-language-dropdown.html %}
|
||||||
|
{% include layout/base/head-mobile-menu.html %}
|
||||||
|
{% include layout/base/head-logo.html %}
|
||||||
|
{% include layout/base/head-language-select.html %}
|
||||||
|
{% include layout/base/head-menu.html %}
|
||||||
|
</div></div>
|
||||||
|
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{% include layout/base/content.html %} <div class="footer">
|
{% include layout/base/content.html %}
|
||||||
{% include layout/base/footer-menu.html %}{% include layout/base/footer-sponsor.html %}{% include layout/base/footer-license.html %} </div>
|
<div class="footer">
|
||||||
|
{% include layout/base/footer-menu.html %}
|
||||||
|
{% include layout/base/footer-sponsor.html %}
|
||||||
|
{% include layout/base/footer-license.html %}
|
||||||
</div>
|
</div>
|
||||||
{% include layout/base/footer-js.html %}</body>
|
</div>
|
||||||
|
|
||||||
|
{% include layout/base/footer-js.html %}
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue