diff --git a/_includes/index.html b/_includes/index.html index ce39f4e5..e58118af 100644 --- a/_includes/index.html +++ b/_includes/index.html @@ -4,7 +4,7 @@ http://opensource.org/licenses/MIT. {% endcomment %}

{% translate listintro %}

-
+
Youtube video
diff --git a/_less/screen.less b/_less/screen.less index ceb0324d..e37288f7 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -2621,7 +2621,7 @@ h2 .rssicon{ margin-top:10px; padding:0; } - .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div:hover>div{ + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div.hover>div{ display:block; background:none; width:auto; @@ -2630,16 +2630,25 @@ h2 .rssicon{ margin-top:10px; } .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>p, - .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>div{ + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>div, + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>span{ + display:none; position:relative; width:auto; + height:auto; + visibility:visible; + opacity:1; border:0; background:none; padding:0; top:0; left:-20px; } - .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div:hover>div>span{ + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div.hover>div>p, + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div.hover>div>div{ + display:block; + } + .wallets.walletsmobile>div>div>h2:first-child+div+div+div>div.hover>div>span{ display:none; } .download{ diff --git a/_templates/choose-your-wallet.html b/_templates/choose-your-wallet.html index 8039de2f..4dd79050 100755 --- a/_templates/choose-your-wallet.html +++ b/_templates/choose-your-wallet.html @@ -955,7 +955,7 @@ wallets:

{{ wallet[1].title }}

{% for os in platform.os %}{% translate platform{{os}} %}{% endfor %}
{% if platform.link == 'bitcoincore' %}{% translate walletdownload %}{% elsif platform.link contains 'play.google.com' or platform.link contains 'itunes.apple.com' or platform.link contains 'chrome.google.com' %}{% translate walletdownload %}{% else %}{% translate walletvisit %}{% endif %}{% if platform.source %}{% translate walletsourcecode %}{% endif %}
-
+
{% for check in platform.check %}{% if check[0] == 'privacy' and platform.privacycheck %}
{% translate {{check[1]}} %}
{% for privacycheck in platform.privacycheck %} @@ -985,7 +985,7 @@ wallets:

{{ wallet[1].title }}

{% for os in platform[1].os %}{% translate platform{{os}} %}{% endfor %}
{% if platform[1].link == 'bitcoincore' %}{% translate walletdownload %}{% elsif platform[1].link contains 'play.google.com' or platform[1].link contains 'itunes.apple.com' or platform[1].link contains 'chrome.google.com' %}{% translate walletdownload %}{% else %}{% translate walletvisit %}{% endif %}{% if platform[1].source %}{% translate walletsourcecode %}{% endif %}
-
+
{% for check in platform[1].check %}{% if check[0] == 'privacy' and platform[1].privacycheck %}
{% translate {{check[1]}} %}
{% for privacycheck in platform[1].privacycheck %} diff --git a/_templates/development.html b/_templates/development.html index d4bbbd1c..60d02eaf 100755 --- a/_templates/development.html +++ b/_templates/development.html @@ -56,7 +56,7 @@ id: development
  • picocoin - A tiny library with lightweight client and utilities, written in C.
  • python-bitcoinlib - A library for structures and protocols, written in Python.
  • Python Blkmaker - A client library for the getblocktemplate mining protocol, written in Python.
  • -
  • {% translate moremore %}
  • +
  • {% translate moremore %}
  • diff --git a/_templates/press.html b/_templates/press.html index 22c4121e..30a5ddfa 100644 --- a/_templates/press.html +++ b/_templates/press.html @@ -55,26 +55,26 @@ dialogs:
    - {% translate whatisbitcoin faq %} + {% translate whatisbitcoin faq %}

    {% translate whatisbitcointxt1 faq %}

    - {% translate howitworks faq %} + {% translate howitworks faq %}

    {% translate howitworkstxt1 faq %}

    {% translate howitworkstxt2 faq %}

    - {% translate whatismining faq %} + {% translate whatismining faq %}

    {% translate whatisminingtxt1 faq %}

    - {% translate acquire faq %} + {% translate acquire faq %}
    • {% translate acquireli1 faq %}
    • @@ -86,7 +86,7 @@ dialogs:
    - {% translate used faq %} + {% translate used faq %}

    {% translate usedtxt1 faq %}

    @@ -95,14 +95,14 @@ dialogs:

    - {% translate makepayment faq %} + {% translate makepayment faq %}

    {% translate makepaymenttxt1 faq %}

    ScreenshotScreenshot

    - {% translate advantages faq %} + {% translate advantages faq %}
    • {% translate advantagesli1 faq %}
    • @@ -114,7 +114,7 @@ dialogs:
    - {% translate disadvantages faq %} + {% translate disadvantages faq %}
    • {% translate disadvantagesli1 faq %}
    • @@ -124,13 +124,13 @@ dialogs:
    - {% translate secure faq %} + {% translate secure faq %}

    {% translate securetxt1 faq %}

    - {% translate islegal faq %} + {% translate islegal faq %}

    {% translate islegaltxt1 faq %}

    {% translate islegaltxt2 faq %}

    @@ -141,13 +141,13 @@ dialogs:
    - {% translate taxes faq %} + {% translate taxes faq %}

    {% translate taxestxt1 faq %}

    - {% translate illegalactivities faq %} + {% translate illegalactivities faq %}

    {% translate illegalactivitiestxt1 faq %}

    {% translate illegalactivitiestxt2 faq %}

    @@ -155,51 +155,51 @@ dialogs:
    - {% translate bubble faq %} + {% translate bubble faq %}

    {% translate bubbletxt1 faq %}

    - {% translate whyvalue faq %} + {% translate whyvalue faq %}

    {% translate whyvaluetxt1 faq %}

    - {% translate ponzi faq %} + {% translate ponzi faq %}

    {% translate ponzitxt1 faq %}

    {% translate ponzitxt2 faq %}

    - {% translate creator faq %} + {% translate creator faq %}

    {% translate creatortxt1 faq %}

    {% translate creatortxt2 faq %}

    - {% translate worthless faq %} + {% translate worthless faq %}

    {% translate worthlesstxt1 faq %}

    - {% translate virtual faq %} + {% translate virtual faq %}

    {% translate virtualtxt1 faq %}

    - {% translate trust faq %} + {% translate trust faq %}

    {% translate trusttxt1 faq %}

    - {% translate anonymous faq %} + {% translate anonymous faq %}

    {% translate anonymoustxt1 faq %}

    {% translate anonymoustxt2 faq %}

    @@ -252,7 +252,7 @@ What is Bitcoin - Weusecoins

    {{ page.dialogs.quotenavalravikant }}Naval Ravikant, Founder of Angellist

    {{ page.dialogs.quotemaxkeiser }}Max Keiser, Journalist & TV Host

    -{{ page.dialogs.materialquotemore }} +{{ page.dialogs.materialquotemore }}
    diff --git a/_templates/secure-your-wallet.html b/_templates/secure-your-wallet.html index f98c565d..5256d5e6 100755 --- a/_templates/secure-your-wallet.html +++ b/_templates/secure-your-wallet.html @@ -50,7 +50,7 @@ id: secure-your-wallet

    {% translate offlinetxt %}

    -

    {% translate offlinetx %}

    +

    {% translate offlinetx %}

    {% translate offlinetxtxt1 %}

    1. {% translate offlinetxtxt2 %}
    2. @@ -62,7 +62,7 @@ id: secure-your-wallet
      diff --git a/js/main.js b/js/main.js index baf316bf..77eee62f 100644 --- a/js/main.js +++ b/js/main.js @@ -119,15 +119,18 @@ return false; function loadYoutubeVideo(e) { // Load Youtube video on target node on click. -var t = getEvent(e, 'target'), - nd = document.createElement('IFRAME'); -while (t.getAttribute('data-youtubeurl') === null || t.getAttribute('data-youtubeurl') === '') t = t.parentNode; -nd.src = t.getAttribute('data-youtubeurl'); -nd.setAttribute('frameborder', 0); -nd.setAttribute('allowfullscreen', true); -t.innerHTML = ''; -t.appendChild(nd); -t.onclick = ''; +function init(e) { + var t = getEvent(e, 'target'), + nd = document.createElement('IFRAME'); + while (t.getAttribute('data-youtubeurl') === null || t.getAttribute('data-youtubeurl') === '') t = t.parentNode; + nd.src = t.getAttribute('data-youtubeurl'); + nd.setAttribute('frameborder', 0); + nd.setAttribute('allowfullscreen', true); + t.innerHTML = ''; + t.appendChild(nd); + t.onclick = ''; +} +onTouchClick(e, init); } function expandBox(t) { @@ -148,36 +151,48 @@ setTimeout(function() { function boxShow(e) { // Display the box content when the user click a box on the "Secure your wallet" page. -var t = getEvent(e, 'target'); -while (t.nodeName != 'DIV') t = t.parentNode; -expandBox(t); -cancelEvent(e); +function init(e) { + var t = getEvent(e, 'target'); + while (t.nodeName != 'DIV') t = t.parentNode; + expandBox(t); + cancelEvent(e); +} +onTouchClick(e, init); } function faqShow(e) { // Display the content of a question in the FAQ at user request. -var t = getEvent(e, 'target'); -while (t.nodeType != 1 || t.nodeName != 'DIV') t = t.nextSibling; -expandBox(t); -cancelEvent(e); +function init(e) { + var t = getEvent(e, 'target'); + while (t.nodeType != 1 || t.nodeName != 'DIV') t = t.nextSibling; + expandBox(t); + cancelEvent(e); +} +onTouchClick(e, init); } function materialShow(e) { // Display more materials on the "Press center" page at user request. -var t = getEvent(e, 'target'), - p = t; -while (p.nodeType != 1 || p.nodeName != 'DIV') p = p.parentNode; -expandBox(p); -cancelEvent(e); +function init(e) { + var t = getEvent(e, 'target'), + p = t; + while (p.nodeType != 1 || p.nodeName != 'DIV') p = p.parentNode; + expandBox(p); + cancelEvent(e); +} +onTouchClick(e, init); } function librariesShow(e) { // Display more open source projects on the "Development" page at user request. -var t = getEvent(e, 'target'), - p = t; -while (p.nodeType != 1 || p.nodeName != 'UL') p = p.parentNode; -expandBox(p); -cancelEvent(e); +function init(e) { + var t = getEvent(e, 'target'), + p = t; + while (p.nodeType != 1 || p.nodeName != 'UL') p = p.parentNode; + expandBox(p); + cancelEvent(e); +} +onTouchClick(e, init); } function freenodeShow(e) { @@ -384,6 +399,16 @@ onTouchClick(e, function() { }); } +function walletScoreListener(e) { +// Listen for events on wallet scores and display them on tap. +var init = function(e) { + var t = getEvent(e, 'target'); + while (!t.parentNode.parentNode.parentNode.id) t = t.parentNode; + (t.className.indexOf('hover') === -1) ? addClass(t, 'hover') : removeClass(t, 'hover'); +}; +onTouchClick(e, init); +} + function walletShowPlatform(platform) { // Show wallets for given platform in the menu. var t = null,