Commit graph

72 commits

Author SHA1 Message Date
Igor Kuzmenko
c49e7187b5 Merge with master 2017-07-31 11:13:06 +02:00
David A. Harding
2dc026918a
Wallets: fix accidental wallet hiding on category change
Closes #1493

When a wallet was selected on mobile displays, its entry was copied to
another part of the page with its element id intact.  When a category
was changed, it prevented duplicate entries from being shown by
searching the page for matching ids, which unintentionally matched the
copied element.

This patch changes the id of the copied entry during the copy operation.
2017-05-10 15:01:46 -04:00
Cøbra
409df4c3b4 Remove ad infrastructure
Remove ad infrastructure
2016-03-09 16:40:10 +00:00
Cøbra
67cea35a06 Add semicolon
Add semicolon
2016-02-23 17:56:32 +00:00
Cøbra
ecbc26eaa1 Add ad infrastructure
Add ad infrastructure to begin experimenting with ads to cover site
costs.
2016-02-23 17:30:24 +00:00
Saivann
d1efe4d974 Fix JSHint warnings in javascript files 2015-08-21 02:20:14 -04:00
Saivann
d814977536 Beautify javascript (fixes #980) 2015-07-29 16:57:11 -04:00
Saivann
77511cb0d7 Auto-hide unselected wallet menu entries (thanks Craig Watkins) 2015-07-26 20:47:27 -04:00
Saivann
34550965b2 Make wallet scores and all onclick events compatible with iOS 2015-07-26 01:18:23 -04:00
Saivann
11c484c858 Avoid direct use of e.type
Some browsers need us to use window.event
2015-07-26 01:04:05 -04:00
Saivann
1bd4720304
Enable use of "use strict" and fix two global variable declarations 2015-07-10 14:09:06 -04:00
Saivann
3ac6158d37
Expand mobile menu entry by default on mobiles (thanks harding) 2015-07-08 13:09:59 -04:00
Saivann
f21f495948
Avoid updating wallets when de-selecting a menu entry 2015-07-08 00:12:22 -04:00
Saivann
be18e564c9 Fix global variable declarations 2015-07-07 16:27:17 -04:00
Saivann
5707cea630
Rework menus for mobile compatibility
Start supporting touch events for non-buggy iOS support and faster menus
Display and hide wallets on click instead of on mouseout to prevent accidental clicks or mouseout events
Add a wrapper function to detect ghost and accidental clicks
Reorganize wallet javascript functions for better readability
Fix bug in which a wallet would display on mouse over after user clicked inside it's bubble
Fix accidental use of global variables
2015-07-07 15:21:21 -04:00
Saivann
19cc8863c2
Merge branch 'jsexpandbox' 2015-06-29 11:54:52 -04:00
Saivann
3d9c178df3 Avoid duplicate code and non-reusable functions with hardcoded variables 2015-06-26 17:13:09 -04:00
Saivann
b27bcaf626 Simplify javascript code for expanding lists and blocks
Move styles to CSS stylesheets by using a class
Use a single function for all expanding boxes and lists
Separate CSS code for IE8 compatibility
2015-06-25 23:26:50 -04:00
David A. Harding
b347044eb2
Repository Move: Update Repository URLs
git ls-tree --full-tree -r HEAD \
  | sed 's/^.\{53\}//'          \
  | xargs sed -i 's^https://github.com/bitcoin/bitcoin.org^https://github.com/bitcoin-dot-org/bitcoin.org^g'
2015-06-23 09:08:40 -04:00
David A. Harding
6264930505 JS: Move addAnchorLinks from main.js to base.js
Thanks Saïvann!
2015-04-25 19:19:25 -04:00
Saivann
20d456204e Reduce future changes to the javascript code of the download page
Drop unnecessary code used in other pages
Load download links from links already on the page
2015-02-19 09:42:53 -05:00
David A. Harding
34edbe8461
Merge pull #682: Dev Docs: Add "Edit|History|Report Issue|Discuss" Links To Subheads 2014-12-16 07:13:19 -05:00
Saivann
4b7da55f46 Display no category by default on the wallet page 2014-12-15 14:27:03 -05:00
Saivann
b3b545c289 Adjust pageoffset to update the "Edit On GitHub" link slightly before the user scrolls the relevant subsection 2014-12-14 13:25:10 -05:00
David A. Harding
53d4a6eebe
Dev Docs: Move Manual Sourcefile Lines To Auto Helper (thanks saivann!) 2014-12-14 08:12:12 -05:00
David A. Harding
55645c0024 Merge remote-tracking branches 'saivann/notoc' and 'saivann/notocanchor' into notoc 2014-11-28 20:50:50 -05:00
Saivann
a9d2e73c1a Allow links in anchor affordance titles 2014-11-28 20:38:27 -05:00
Saivann
1652bc6eda Ignore .no_toc titles when selecting active toc entry 2014-11-28 20:06:12 -05:00
Saivann
2a139a51a1 Set license files and headers for bitcoin.org's content 2014-11-21 19:09:12 -05:00
Saivann
7a6484fc21 Add contextual link to source file on GitHub in devel-doc (thanks @icook @harding) 2014-11-16 23:32:58 -05:00
Saivann
00fffa1a4c Apply a few javascript optimizations 2014-11-16 00:58:13 -05:00
Saivann
409396ebdd Add space before comments in javascript 2014-11-16 00:51:47 -05:00
Saivann
d64416ef51 Replace javascript syntax by a more standard and readable one 2014-11-16 00:47:38 -05:00
saivann
6c2fd7a7c0 Merge pull request #632 from bitcoin/devdocautoscroll
Auto-scroll in devel-docs table of content
2014-11-03 09:52:44 -05:00
Saivann
99675dc0cd Auto-scroll in devel-docs table of content (thanks @harding) 2014-11-02 23:27:33 -05:00
Saivann
a6cf438938 Only display wallets for selected platform 2014-11-01 00:29:55 -04:00
Saivann
1b71345ef9 Fix issues with overusing CSS :hover in the wallet page (thanks @schildbach @harding) (fixes #544)
Click to see wallets when javascript is enabled
Click to select (lock) any platform in the menu
2014-09-10 00:02:33 -04:00
Saivann
eaf0b2262f Move language selection into the mobile menu (fixes #489) 2014-08-05 20:23:47 -04:00
Saivann
627fdb08c7 Allow disabled wallets to be displayed temporarily on click (thanks @schildbach) 2014-07-18 23:28:19 -04:00
Saivann
90b9e63026 Detect if mobile layout is used and display wallets accordingly (thanks @harding) 2014-07-17 16:32:10 -04:00
Saivann
a75b2f1391 New layout for the "Choose your wallet" page
Greatly simplify layout
Increase visibility for "you need to know" and "secure your wallet" pages
Providing increased transparency about security and zero-trust model for each wallet
Encourage diversity and decentralization by
  not recommending two single wallets anymore
  rotating wallets daily by "zero-trust levels" (full nodes followed by SPV wallets followed by hybrid & multisig wallets followed by web wallets)
Display screenshots
Increase visibility for Bitcoin Core by
  recommending it in other wallets' disclaimers as a full node and deterministic build app
  making it always the first desktop wallet displayed
  better promoting it as a good secure / zero-trust wallet
Prepare layout for hardware wallets
Prevent confusing duplicate listing
Allow layout to scale with increasing number of wallets
Fix layout issues with translations and hyphenation
Simplify the process of adding new wallets by storing information in a single location using a consistent format

Thanks @harding for reviews and feedback on the first draft
2014-07-16 22:55:33 -04:00
Saivann
5704ff1ce5 Better handle HTML classes and allow mobileMenuHover to be used with other menus 2014-07-14 16:03:16 -04:00
Saivann
c4a8c26465 Provide "GitHub-like" anchor links affordance (thanks @cbeams) 2014-05-24 23:44:51 -04:00
Saivann
c7bc38f452 Add a temporary BETA disclaimer in devel-docs 2014-05-21 22:59:03 -04:00
Saivann
fecdbf0e93 Update "Report An Issue" link on mouseover (thanks @harding) 2014-05-19 18:39:18 -04:00
Saivann
753424d2e6 Add "Report An Issue" action in developer documentation toc 2014-05-19 12:02:34 -04:00
saivann
46780d3177 Contributions by @saivann to devel docs
Thanks also (in alphabetical order) to @cbeams, @mikehearn, and
@tgeller, among others.

The last pre-squash commit was: c2b8d562aa107c7b68c60946cea14cdccc5159ad
2014-05-09 22:13:59 -04:00
Saivann
97cd4b4ab4 Prevent makeEditable easter egg from triggering when scrolling 2014-05-04 20:43:36 -04:00
Saivann
6c8b0e7d24 Replace interviewees by non-profit organizations and bitcoinpresscenter.org 2014-01-20 13:56:53 -05:00
Saivann
9627b39db7 Add a mobile version of the "Choose your wallet" page 2013-11-19 19:41:42 -05:00