mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add mobile platform pages.
This commit is contained in:
parent
771951cb77
commit
3e422f1e4d
6 changed files with 94 additions and 0 deletions
|
@ -575,6 +575,12 @@ collections:
|
||||||
releases:
|
releases:
|
||||||
output: true
|
output: true
|
||||||
permalink: /en/release/:path
|
permalink: /en/release/:path
|
||||||
|
## _wallets
|
||||||
|
wallets:
|
||||||
|
output: false
|
||||||
|
platforms:
|
||||||
|
output: true
|
||||||
|
permalink: /en/wallets/:path/
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
- scope:
|
- scope:
|
||||||
|
|
44
_includes/templates/wallet-platform.html
Normal file
44
_includes/templates/wallet-platform.html
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{% comment %}
|
||||||
|
This file is licensed under the MIT License (MIT) available on
|
||||||
|
http://opensource.org/licenses/MIT.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
<h1>{% translate pagetitle %}</h1>
|
||||||
|
<p class="summary">{% translate pagedesc %}</p>
|
||||||
|
|
||||||
|
<div class="walletmenu" id="walletmenu" onclick="walletMenuListener(event);" ontouchstart="walletMenuListener(event);">
|
||||||
|
<ul>
|
||||||
|
<li class="wallet-mobile">
|
||||||
|
<a id="mobile" data-walletcompat="mobile">{% translate walletcatmobile %}</a>
|
||||||
|
<ul>
|
||||||
|
<li class="wallet-android"><a id="android" data-walletcompat="android">{% translate platformandroid %}</a></li>
|
||||||
|
<li class="wallet-ios"><a id="ios" data-walletcompat="ios">{% translate platformios %}</a></li>
|
||||||
|
<li class="wallet-windowsphone"><a id="windowsphone" data-walletcompat="windowsphone">{% translate platformwindowsphone %}</a></li>
|
||||||
|
<li class="wallet-blackberry"><a id="blackberry" data-walletcompat="blackberry">{% translate platformblackberry %}</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="wallet-desktop">
|
||||||
|
<a id="desktop" data-walletcompat="desktop">{% translate walletcatdesktop %}</a>
|
||||||
|
<ul>
|
||||||
|
<li class="wallet-windows"><a id="windows" data-walletcompat="windows">{% translate platformwindows %}</a></li>
|
||||||
|
<li class="wallet-mac"><a id="mac" data-walletcompat="mac">{% translate platformmac %}</a></li>
|
||||||
|
<li class="wallet-linux"><a id="linux" data-walletcompat="linux">{% translate platformlinux %}</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="wallet-hardware"><a id="hardware" data-walletcompat="hardware">{% translate walletcathardware %}</a></li>
|
||||||
|
<li class="wallet-web"><a id="web" data-walletcompat="web">{% translate walletcatweb %}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wallets" id="wallets" onclick="walletListener(event);" ontouchstart="walletListener(event);">
|
||||||
|
{% for wallet in site.wallets %}
|
||||||
|
{% if wallet.compat contains page.platform and wallet.compat contains page.os %}
|
||||||
|
<div>
|
||||||
|
<a>
|
||||||
|
<img src="/img/wallet/{{ wallet.id }}.png" alt="{{ wallet.title }}" />
|
||||||
|
{{ wallet.titleshort }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# This file is licensed under the MIT License (MIT) available on
|
||||||
|
# http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
|
layout: base
|
||||||
|
id: wallets-mobile-android
|
||||||
|
platform: mobile
|
||||||
|
os: android
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %}
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# This file is licensed under the MIT License (MIT) available on
|
||||||
|
# http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
|
layout: base
|
||||||
|
id: wallets-mobile-blackberry
|
||||||
|
platform: mobile
|
||||||
|
os: blackberry
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %}
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# This file is licensed under the MIT License (MIT) available on
|
||||||
|
# http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
|
layout: base
|
||||||
|
id: wallets-mobile-ios
|
||||||
|
platform: mobile
|
||||||
|
os: ios
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %}
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# This file is licensed under the MIT License (MIT) available on
|
||||||
|
# http://opensource.org/licenses/MIT.
|
||||||
|
|
||||||
|
layout: base
|
||||||
|
id: wallets-mobile-windowsphone
|
||||||
|
platform: mobile
|
||||||
|
os: windowsphone
|
||||||
|
---
|
||||||
|
|
||||||
|
{% include templates/wallet-platform.html platform=page.platform os=page.os id=page.id %}
|
Loading…
Add table
Add a link
Reference in a new issue