mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
Merge pull request #1592 from harding/wallets-unhide-extras
Wallets: show up to 14 wallets
This commit is contained in:
commit
9bcf99e7b2
3 changed files with 17 additions and 8 deletions
13
Makefile
13
Makefile
|
@ -58,7 +58,9 @@ pre-build-tests-fast: check-for-non-ascii-urls check-for-wrong-filename-assignme
|
||||||
check-for-missing-copyright-licenses \
|
check-for-missing-copyright-licenses \
|
||||||
check-bundle \
|
check-bundle \
|
||||||
check-for-english-in-en-dir \
|
check-for-english-in-en-dir \
|
||||||
check-for-consistent-bitcoin-core-titles
|
check-for-consistent-bitcoin-core-titles \
|
||||||
|
check-for-too-many-wallets-on-one-platform
|
||||||
|
|
||||||
|
|
||||||
## Post-build tests which, aggregated together, take less than 10 seconds to run on a typical PC
|
## Post-build tests which, aggregated together, take less than 10 seconds to run on a typical PC
|
||||||
post-build-tests-fast: check-for-build-errors ensure-each-svg-has-a-png check-for-liquid-errors \
|
post-build-tests-fast: check-for-build-errors ensure-each-svg-has-a-png check-for-liquid-errors \
|
||||||
|
@ -259,7 +261,7 @@ check-bundle:
|
||||||
## Ensure all the dependencies are installed. If you build without this
|
## Ensure all the dependencies are installed. If you build without this
|
||||||
## check, you'll get confusing error messages when your deps aren't up
|
## check, you'll get confusing error messages when your deps aren't up
|
||||||
## to date
|
## to date
|
||||||
$S ! bundle check | grep -v "The Gemfile's dependencies are satisfied"
|
$S ! bundle check | egrep -v "(Resolving dependencies...|The Gemfile's dependencies are satisfied)"
|
||||||
|
|
||||||
travis-background-keepalive:
|
travis-background-keepalive:
|
||||||
$S { while ps aux | grep -q '[m]ake' ; do echo "Ignore me: Travis CI keep alive" ; sleep 1m ; done ; } &
|
$S { while ps aux | grep -q '[m]ake' ; do echo "Ignore me: Travis CI keep alive" ; sleep 1m ; done ; } &
|
||||||
|
@ -284,3 +286,10 @@ check-for-consistent-bitcoin-core-titles:
|
||||||
## Ensure all page titles in the en/bitcoin-core/ hierarchy mention
|
## Ensure all page titles in the en/bitcoin-core/ hierarchy mention
|
||||||
## Bitcoin Core
|
## Bitcoin Core
|
||||||
$S grep -r -L '^title:.*Bitcoin Core' en/bitcoin-core/ | eval $(ERROR_ON_OUTPUT)
|
$S grep -r -L '^title:.*Bitcoin Core' en/bitcoin-core/ | eval $(ERROR_ON_OUTPUT)
|
||||||
|
|
||||||
|
check-for-too-many-wallets-on-one-platform:
|
||||||
|
$S for platform in desktop windows mac linux mobile android ios blackberry windowsphone web hardware \
|
||||||
|
; do count=$$( grep -c "compat:.*$$platform" _templates/choose-your-wallet.html ) \
|
||||||
|
; if [ $$count -gt 14 ] \
|
||||||
|
; then echo "ERROR: too many wallets in $$platform platform. Remove one or change layout" \
|
||||||
|
; fi ; done
|
||||||
|
|
|
@ -1694,7 +1694,7 @@ button.active {
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallets{
|
.wallets{
|
||||||
width:605px;
|
width:705px;
|
||||||
height:250px;
|
height:250px;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
@ -1714,7 +1714,7 @@ button.active {
|
||||||
vertical-align:top;
|
vertical-align:top;
|
||||||
font-size:16px;
|
font-size:16px;
|
||||||
}
|
}
|
||||||
.wallets>div:nth-child(1n+13){
|
.wallets>div:nth-child(1n+15){
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.wallets>div>a{
|
.wallets>div>a{
|
||||||
|
|
|
@ -116,7 +116,7 @@ wallets:
|
||||||
- electrum:
|
- electrum:
|
||||||
title: "Electrum"
|
title: "Electrum"
|
||||||
titleshort: "Electrum"
|
titleshort: "Electrum"
|
||||||
compat: "desktop windows mac linux"
|
compat: "desktop windows mac linux mobile android"
|
||||||
level: 2
|
level: 2
|
||||||
platform:
|
platform:
|
||||||
desktop:
|
desktop:
|
||||||
|
@ -139,7 +139,7 @@ wallets:
|
||||||
privacyaddressreuse: "checkpassprivacyaddressrotation"
|
privacyaddressreuse: "checkpassprivacyaddressrotation"
|
||||||
privacydisclosure: "checkfailprivacydisclosurecentralized"
|
privacydisclosure: "checkfailprivacydisclosurecentralized"
|
||||||
privacynetwork: "checkpassprivacynetworksupporttorproxy"
|
privacynetwork: "checkpassprivacynetworksupporttorproxy"
|
||||||
android:
|
mobile:
|
||||||
text: "walletelectrum"
|
text: "walletelectrum"
|
||||||
link: "https://play.google.com/store/apps/details?id=org.electrum.electrum"
|
link: "https://play.google.com/store/apps/details?id=org.electrum.electrum"
|
||||||
source: "https://github.com/spesmilo/electrum"
|
source: "https://github.com/spesmilo/electrum"
|
||||||
|
@ -803,7 +803,7 @@ wallets:
|
||||||
- coinspace:
|
- coinspace:
|
||||||
title: "Coin.Space"
|
title: "Coin.Space"
|
||||||
titleshort: "Coin.Space"
|
titleshort: "Coin.Space"
|
||||||
compat: "mobile web android windowsphone"
|
compat: "mobile web android windowsphone ios"
|
||||||
level: 3
|
level: 3
|
||||||
platform:
|
platform:
|
||||||
mobile:
|
mobile:
|
||||||
|
@ -1215,7 +1215,7 @@ wallets:
|
||||||
<span></span>
|
<span></span>
|
||||||
<div>
|
<div>
|
||||||
<h2>{{ wallet[1].title }}</h2>
|
<h2>{{ wallet[1].title }}</h2>
|
||||||
<div>{% for os in platform.os %}<img src="/img/os/{{ os }}.png" alt="{% translate platform{{os}} %}" title="{% translate platform{{os}} %}" />{% endfor %}</div>
|
<div>{% for os in platform.os %}<img src="/img/os/{{ os }}.png" alt="{% translate platform{{os}} %}" title="{% translate platform{{os}} %}" />{% unless wallet[1].compat contains os %}{% die platform not listed in compat field %}{% endunless %}{% endfor %}</div>
|
||||||
<div>{% if platform.link == 'bitcoincore' %}<a href="/{{ page.lang }}/{% translate download url %}">{% translate walletdownload %}</a>{% elsif platform.link contains 'play.google.com' or platform.link contains 'itunes.apple.com' or platform.link contains 'chrome.google.com' %}<a href="{{ platform.link }}">{% translate walletdownload %}</a>{% else %}<a href="{{ platform.link }}">{% translate walletvisit %}</a>{% endif %}{% if platform.source %}<a href="{{ platform.source }}">{% translate walletsourcecode %}</a>{% endif %}</div>
|
<div>{% if platform.link == 'bitcoincore' %}<a href="/{{ page.lang }}/{% translate download url %}">{% translate walletdownload %}</a>{% elsif platform.link contains 'play.google.com' or platform.link contains 'itunes.apple.com' or platform.link contains 'chrome.google.com' %}<a href="{{ platform.link }}">{% translate walletdownload %}</a>{% else %}<a href="{{ platform.link }}">{% translate walletvisit %}</a>{% endif %}{% if platform.source %}<a href="{{ platform.source }}">{% translate walletsourcecode %}</a>{% endif %}</div>
|
||||||
<div ontouchstart="walletScoreListener(event);" onclick="walletScoreListener(event);">
|
<div ontouchstart="walletScoreListener(event);" onclick="walletScoreListener(event);">
|
||||||
{% for check in platform.check %}{% if check[0] == 'privacy' and platform.privacycheck %}
|
{% for check in platform.check %}{% if check[0] == 'privacy' and platform.privacycheck %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue