From 29650f3732856a8af1e9b23fd8df0cfa7d305745 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 26 Jun 2013 12:18:53 -0700 Subject: Remove vanbtc stuff, just focus on PoS --- app.coffee | 40 +------------ public/css/index.less | 2 +- public/img/aaron.jpg | Bin 16238 -> 0 bytes public/img/adam.jpg | Bin 10865 -> 0 bytes public/img/artofmuse.png | Bin 5487 -> 0 bytes public/img/cabin12.jpg | Bin 12020 -> 0 bytes public/img/cody.jpg | Bin 21915 -> 0 bytes public/img/coffeebar.jpg | Bin 5877 -> 0 bytes public/img/divan.jpg | Bin 63257 -> 0 bytes public/img/jackson.jpg | Bin 8130 -> 0 bytes public/img/logo.jpg | Bin 27656 -> 0 bytes public/img/lulie_lens.png | Bin 20340 -> 0 bytes public/img/me.jpg | Bin 34780 -> 0 bytes public/img/nolimit.jpg | Bin 65419 -> 0 bytes public/img/pacificbliss.jpg | Bin 49321 -> 0 bytes public/img/rocketcases.png | Bin 1698 -> 0 bytes public/img/spartacus.jpg | Bin 40196 -> 0 bytes public/img/sweettooth.gif | Bin 9804 -> 0 bytes public/img/vancouver.jpg | Bin 55303 -> 0 bytes public/img/yourlocalmovers.png | Bin 16943 -> 0 bytes public/img/yuri.jpg | Bin 4380 -> 0 bytes public/js/calculator.coffee | 2 +- views/main/about.html | 129 ----------------------------------------- views/main/contact.html | 16 ----- views/main/deposit.html | 22 ------- views/main/digibtc.html | 3 - views/main/exchangers.html | 110 ----------------------------------- views/main/exec.html | 18 ------ views/main/index.html | 53 ----------------- views/main/join.html | 11 ---- views/main/merchants.html | 93 ----------------------------- views/main/signup.html | 20 ------- 32 files changed, 3 insertions(+), 516 deletions(-) delete mode 100644 public/img/aaron.jpg delete mode 100644 public/img/adam.jpg delete mode 100644 public/img/artofmuse.png delete mode 100644 public/img/cabin12.jpg delete mode 100644 public/img/cody.jpg delete mode 100644 public/img/coffeebar.jpg delete mode 100644 public/img/divan.jpg delete mode 100644 public/img/jackson.jpg delete mode 100644 public/img/logo.jpg delete mode 100644 public/img/lulie_lens.png delete mode 100644 public/img/me.jpg delete mode 100644 public/img/nolimit.jpg delete mode 100644 public/img/pacificbliss.jpg delete mode 100644 public/img/rocketcases.png delete mode 100644 public/img/spartacus.jpg delete mode 100644 public/img/sweettooth.gif delete mode 100644 public/img/vancouver.jpg delete mode 100644 public/img/yourlocalmovers.png delete mode 100644 public/img/yuri.jpg delete mode 100644 views/main/about.html delete mode 100644 views/main/contact.html delete mode 100644 views/main/deposit.html delete mode 100644 views/main/digibtc.html delete mode 100644 views/main/exchangers.html delete mode 100644 views/main/exec.html delete mode 100644 views/main/index.html delete mode 100644 views/main/join.html delete mode 100644 views/main/merchants.html delete mode 100644 views/main/signup.html diff --git a/app.coffee b/app.coffee index f1bf5037..e9880a45 100644 --- a/app.coffee +++ b/app.coffee @@ -25,52 +25,14 @@ app.use(passport.initialize()) app.use(passport.session()) app.use(app.router) -routes = - "/": 'main/index' - "/about": 'main/about' - "/digibtc": 'main/digibtc' - "/exchangers": 'main/exchangers' - "/exchangers/join": 'main/join' - "/merchants": 'main/merchants' - "/merchants/signup": 'main/signup' - "/contact": 'main/contact' - -for route, view of routes - ((route, view) -> - app.get(route, (req, res) -> - res.render(view, - js: (-> global.js), - css: (-> global.css), - layout: 'layout' - ) - ) - )(route, view) - authorize = (req, res, next) -> if req.params.user is req.user?.username or req.user?.username is 'admin' return next() res.redirect('/login') -app.get('/deposit', (req, res) -> - res.render('main/deposit', - js: (-> global.js), - css: (-> global.css) - ) -) - - -app.get('/issue/:amount', (req, res) -> - exec = require('child_process').exec - - exec("opentxs writecheque --myacct issuer --args \"memo \\\"Here's some OT-Bitcoins.\\\" amount #{req.params.amount} validfor 2592000\"", (err, out, stderr) -> - res.write(out) - res.end() - ) -) - +app.get('/', calculator.show) app.get('/setup', calculator.new) -app.get('/calculator', calculator.show) app.get('/ticker', calculator.ticker) app.get('/login', sessions.new) diff --git a/public/css/index.less b/public/css/index.less index a64c6432..a470c098 100644 --- a/public/css/index.less +++ b/public/css/index.less @@ -11,7 +11,7 @@ background: rgba(255, 255, 255, 0.5); } -.navbar-inverse, .navbar-inverse .navbar-link, .navbar-inverse .brand, .navbar-inverse .nav > li > a { color: #ddd; } +.navbar-inverse, .navbar-inverse .navbar-link, .navbar-inverse .brand, .navbar-inverse .nav > li > a { color: #eee; } footer { background: black; diff --git a/public/img/aaron.jpg b/public/img/aaron.jpg deleted file mode 100644 index c3669c57..00000000 Binary files a/public/img/aaron.jpg and /dev/null differ diff --git a/public/img/adam.jpg b/public/img/adam.jpg deleted file mode 100644 index 202eb543..00000000 Binary files a/public/img/adam.jpg and /dev/null differ diff --git a/public/img/artofmuse.png b/public/img/artofmuse.png deleted file mode 100644 index 19e3c871..00000000 Binary files a/public/img/artofmuse.png and /dev/null differ diff --git a/public/img/cabin12.jpg b/public/img/cabin12.jpg deleted file mode 100644 index a02b3030..00000000 Binary files a/public/img/cabin12.jpg and /dev/null differ diff --git a/public/img/cody.jpg b/public/img/cody.jpg deleted file mode 100644 index e1f1f3fe..00000000 Binary files a/public/img/cody.jpg and /dev/null differ diff --git a/public/img/coffeebar.jpg b/public/img/coffeebar.jpg deleted file mode 100644 index df8b584d..00000000 Binary files a/public/img/coffeebar.jpg and /dev/null differ diff --git a/public/img/divan.jpg b/public/img/divan.jpg deleted file mode 100644 index dec37bf6..00000000 Binary files a/public/img/divan.jpg and /dev/null differ diff --git a/public/img/jackson.jpg b/public/img/jackson.jpg deleted file mode 100644 index 08afc7e8..00000000 Binary files a/public/img/jackson.jpg and /dev/null differ diff --git a/public/img/logo.jpg b/public/img/logo.jpg deleted file mode 100644 index 2df858c3..00000000 Binary files a/public/img/logo.jpg and /dev/null differ diff --git a/public/img/lulie_lens.png b/public/img/lulie_lens.png deleted file mode 100644 index b6e9d0f2..00000000 Binary files a/public/img/lulie_lens.png and /dev/null differ diff --git a/public/img/me.jpg b/public/img/me.jpg deleted file mode 100644 index dfcd728f..00000000 Binary files a/public/img/me.jpg and /dev/null differ diff --git a/public/img/nolimit.jpg b/public/img/nolimit.jpg deleted file mode 100644 index 4da36453..00000000 Binary files a/public/img/nolimit.jpg and /dev/null differ diff --git a/public/img/pacificbliss.jpg b/public/img/pacificbliss.jpg deleted file mode 100644 index a8ff4678..00000000 Binary files a/public/img/pacificbliss.jpg and /dev/null differ diff --git a/public/img/rocketcases.png b/public/img/rocketcases.png deleted file mode 100644 index 3c695b20..00000000 Binary files a/public/img/rocketcases.png and /dev/null differ diff --git a/public/img/spartacus.jpg b/public/img/spartacus.jpg deleted file mode 100644 index e6b4b7b7..00000000 Binary files a/public/img/spartacus.jpg and /dev/null differ diff --git a/public/img/sweettooth.gif b/public/img/sweettooth.gif deleted file mode 100644 index 76e0c4dd..00000000 Binary files a/public/img/sweettooth.gif and /dev/null differ diff --git a/public/img/vancouver.jpg b/public/img/vancouver.jpg deleted file mode 100644 index 7bf5b4f5..00000000 Binary files a/public/img/vancouver.jpg and /dev/null differ diff --git a/public/img/yourlocalmovers.png b/public/img/yourlocalmovers.png deleted file mode 100644 index e48b477f..00000000 Binary files a/public/img/yourlocalmovers.png and /dev/null differ diff --git a/public/img/yuri.jpg b/public/img/yuri.jpg deleted file mode 100644 index 48a8d7d2..00000000 Binary files a/public/img/yuri.jpg and /dev/null differ diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index 82829628..f7f47f90 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -50,7 +50,7 @@ $(-> setup = -> g.address or= '1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr' g.commission or= 0 - g.symbol or= 'virtexCAD' + g.symbol or= 'mtgoxUSD' if g.title $('#title').html(g.title).show() diff --git a/views/main/about.html b/views/main/about.html deleted file mode 100644 index aa1c653e..00000000 --- a/views/main/about.html +++ /dev/null @@ -1,129 +0,0 @@ -
-
-

What are bitcoins?

-

- Bitcoins are units of digital currency that can be - transferred over the Internet. - They get sent to a bitcoin address and stored in a digital wallet - that you can access with a - password. Creating a wallet is free and - easy -- try it. -

- -

- New bitcoin addresses start with a zero balance. Transactions between addresses are - recorded in a file that gets published on - the Internet. The file keeps track of every transaction that's ever taken place and therefore knows the balance of every address. -

- -

- New bitcoins are generated every 10 minutes and distributed to people who volunteer computing power to run the bitcoin network. The - software to participate is free and open source so anyone can run it on their computer to earn bitcoins. -

- -

- Over time, fewer and fewer - bitcoins will be created until finally there are a total of - 21 million of them in circulation by the year 2040. Each one of them - is divisible up to 8 decimal places, making - it possible to transact small amounts. -

-
-
-

Why use them?

-

- They're free, fast, secure, and global. Merchants - don't get charged for accepting them and you don't - get charged for transferring them, even - internationally. There are no fees, prerequisites, or - limits. You can register addresses anonymously and - create as many accounts as you like. They can - never be frozen because no central authority - controls them. Whether you're sending a fraction of - a cent or a million dollars, the network doesn't - discriminate. -

- -

- You can use bitcoins to send free, - immediate payments to your friends and family - from your phone or laptop so you can pay a co-worker - back for coffee, transfer wages to family overseas, - or donate to organizations like WikiLeaks who've - been cut off by the major payment companies. Or, use bitcoins to securely - store your savings and gain access to them - from anywhere that has Internet access. They tend to - appreciate in value over time because of their - limited supply, so they make a good investment. - Unlike dollars and other national currencies, no - government or issuing authority can print more of - them. -

-
-
- -
-
-

Where can I get some?

-

- Contact one of our trusted exchangers. We'll meet you in person to sell you bitcoins and will be happy to help you get started if you're new. -

- -

- There are several bitcoin markets operating online as well. The largest one in Canada - is cavirtex.com and is run out of Calgary. They link up buyers and sellers and facilitate trades by - allowing you to deposit and withdraw Canadian dollars directly from your bank account. A list of other - online exchanges and their rates can be found at bitcoincharts.com. -

- -

- You can also use sites like Local Bitcoins, Bitcoinary, and Bitcoin OTC to find people to trade with directly. -

-
- -
-

How is their price set?

-

- Most merchants accepting bitcoin will use an - exchange rate from one of the online markets - to determine their equivalent - dollar value. The exchange rate is simply the last - price that some seller was able to charge some - buyer for bitcoins in the free market and is - governed by supply and demand. -

- -

- Bitcoins aren't backed by any underlying - commodity or insured by any authority. They - have value as a currency due to their mathematically - guaranteed scarcity, security, divisibility, - and global recognition. -

-
-
- -
-
-

What can I buy with them?

-

- You can spend them locally at one of our participating merchants or check out - this article for some other suggestions. - The number of companies accepting bitcoins - is growing quickly and we're working to get more stores accepting them in - Vancouver. We believe it'll be in - their best interest to avoid the transaction fees - charged by the credit card companies. Transaction - fees end up getting built into the prices we pay for - goods and services across the board so we're always - subsidizing the banks and payment companies. -

- -
-
-

Where can I learn more?

-

- Come to our monthly meetup group or contact one of us. -

-
-
diff --git a/views/main/contact.html b/views/main/contact.html deleted file mode 100644 index 5914db11..00000000 --- a/views/main/contact.html +++ /dev/null @@ -1,16 +0,0 @@ -

Contact Us

- -

-You can use our message board at meetup.com to get in touch. For issues with this website, let us know at Github. -

- -

Support Us

- -

-Want to send some coins our way? We'll use donations to promote bitcoins by purchasing stickers and Android tablets for local merchants who run our payment software. Send to 1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr -- every little bit helps! -

-QR -

- - - diff --git a/views/main/deposit.html b/views/main/deposit.html deleted file mode 100644 index 35e59bfb..00000000 --- a/views/main/deposit.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - Bitcoin Payment Calculator - - {{#css}}calculator{{/css}} - {{#js}}deposit{{/js}} - - -
-

Deposit Bitcoin

- - Send bitcoins to: 1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr - -

- No Canvas Support -

-
- - diff --git a/views/main/digibtc.html b/views/main/digibtc.html deleted file mode 100644 index 3ea2d95f..00000000 --- a/views/main/digibtc.html +++ /dev/null @@ -1,3 +0,0 @@ -
- Send bitcoins to this address: 1SoLtySab29J2tAdF2x3PosjnwWF37wEY -
diff --git a/views/main/exchangers.html b/views/main/exchangers.html deleted file mode 100644 index eb116efe..00000000 --- a/views/main/exchangers.html +++ /dev/null @@ -1,110 +0,0 @@ -
-
-
-

Exchangers

-

- Our goal is to establish a network of trusted individuals who can provide a consistent experience and reliable price for people wanting to trade bitcoins in Vancouver. -

-

Join Us!

-
- -
-

Meeting Procedure

-
    -
  • Contact one of us to let us know your availability
  • -
  • Tell us how much you want to buy and provide us with an address to send to
  • -
  • We'll arrange a time to meet at a public place like a café or a bank
  • -
  • When we meet, we'll look up the exchange rate
  • -
  • We send the bitcoins to your address using our phone or laptop
  • -
  • We'll wait to confirm the transaction at blockchain.info
  • -
-
-
- -
-
-
-

Adam

- Adam - - - - - - - - - - - - - - - - - -
Neighbourhood:Hastings/Sunrise
Phone/Text:604-358-6745
Email:asoltys@gmail.com
LocalBitcoins:asoltys
-
- -
-

Jackson

- Jackson - - - - - - - - - - - - - - - - - -
Neighbourhood:Fairview
Phone/Text:604-908-3432
Email:jacksonwarren86@gmail.com
LocalBitcoins:stretchwynand
-
-
-

Yuri

- Yuri - - - - - - - - - - - - - - - - - -
Neighbourhood:West End
Text Only:310-853-2401
Website:beeteecee.com
LocalBitcoins:beeteecee
-
- -
-

Cody

- Adam - - - - - - - - - -
Neighbourhood:Yaletown
Email:cody@mortgageevolution.ca
-
-
-
-
diff --git a/views/main/exec.html b/views/main/exec.html deleted file mode 100644 index c735843d..00000000 --- a/views/main/exec.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - Bitcoin Payment Calculator - - {{#css}}calculator{{/css}} - {{#js}}deposit{{/js}} - - -
-

Executing Command...

- - {{{out}}} -
- - diff --git a/views/main/index.html b/views/main/index.html deleted file mode 100644 index 3920c568..00000000 --- a/views/main/index.html +++ /dev/null @@ -1,53 +0,0 @@ -
-
-
-
-

Vancouver Bitcoin

-

We help local businesses accept bitcoins by providing them with payment software and paying cash for their bitcoins. We also buy and sell bitcoins to the public in an effort to make it easy for anyone to get started or cash out.

- Learn more » -
- -
-
-

Info

-

New to bitcoins? We'll explain why you might want to use them and point you to some useful resources.

-

Go »

-
- -
-

Merchants

-

You can spend your bitcoins in town to support local merchants and improve the local economy.

-

Go »

-
- -
-

Exchangers

-

Looking to buy or sell bitcoins? Our trusted exchangers will give you a fair price and a professional experience.

-

Go »

-
-
- -
- -
-
-
-

Sign Up

- - - - - - - -
- -
- -

Point of Sale

-

Create a free Point-of-Sale webpage with us that you can run in your store to accept bitcoin payments from your customers!

-
-
-
-
-
diff --git a/views/main/join.html b/views/main/join.html deleted file mode 100644 index f25c0dea..00000000 --- a/views/main/join.html +++ /dev/null @@ -1,11 +0,0 @@ -

Join Us

- -

-If you're a resident of Vancouver and would like to be listed as a local exchanger here, come to our monthly meetup group and introduce yourself! We'll teach you everything you need to know and if you agree to use our posted rates and we get the sense that you'll be fair and professional then we'll happily list you on our exchangers page. -

- -

Our Rates

- -

-Our exchange rates are pegged to the current market prices at cavirtex.com including a 3% surcharge to cover the transaction fees that they charge to use their service. We don't take any commission above and beyond that for ourselves. Our hope is that eventually there will be enough turnover in the Vancouver bitcoin economy that we won't need to use an online exchange. When that happens, we'll be able to eliminate fees altogether. -

diff --git a/views/main/merchants.html b/views/main/merchants.html deleted file mode 100644 index 73a4ecfb..00000000 --- a/views/main/merchants.html +++ /dev/null @@ -1,93 +0,0 @@ -
-
-
-

Merchants

-

- Following is a directory of local shops and businesses in Vancouver (and Victoria!) that accept bitcoins for payment. -

-
- -
-
-
-

Sweet Tooth Cafe

- Sweet Tooth Cafe -

- Everything from cinnamon buns made from grandma’s recipe, famous home style Pad Thai and homemade soup to Italian specialty coffee drinks, all made right in front of you -

-
- -
-

Pacific Bliss Massage

- Pacific Bliss -

- Vancouver's most blissful massage and integrated healing center. We specialize in Swedish relaxation massage and Hot & Cold Stone Therapy. Treatments can be scheduled at Infinity Salon & Spa and in the summer months at Vancouver's most beautiful location - Wreck Beach! -

-
- -
- No Limit Landscaping -

No Limit Landscaping is a new company formed in January of 2013. With over 20 years of experience in the industry, we will be focusing our expertise on the residential sector. We install full landscapes from start to finish. From designing to excavation to a completed landscape we will work with you through the entire process. Our water features set us apart from our competitors and are an excellent addition to any household.

-
- -
- Your Local Movers -

- We can do anything from moves, deliveries, junk removal or even help moving something around the inside of your house! No job is too big or small for us. - -Your Local Movers provides service to the entire Lower Mainland as well as the Sunshine Coast, Whistler, and Vancouver BC. -

-
- -
- -
- Art of Muse -

- Music lessons for youth & adults. Learn how to play Piano or Keyboard from basic to intermediate levels. Whether you are interested in playing classical pieces or making pop, rock or electronic music, we will give you the skills and knowledge. -

-
- -
-
- Lulie Lens -
-

Lulie Talmor is a High End Freelance Retoucher that specializes in polishing beauty and fashion images for commercial and editorial projects. However, her Photoshop capabilities extend far beyond just that, so when in doubt, be sure to ask. By harnessing the power of the internet she is able to take clients from all around the world from her base here in Vancouver, BC. She also currently offers 10% off for those paying with Bitcoin!

-
- -
-

Rocketcases

- Rocketcases -

You need to protect your iPhone from falls, scratches and its plain looking exterior. We've got the perfect cases for that. You want something unique and original that also gives you peace of mind if your prized possession were to accidently slip from your fingers. -

-

- We want the same things. That is why we started Rocketcases. We wanted a case that was as cool as it was protective, so we set out to design the best. We'd never sell a case we wouldn't use ourselves. -

-

- Jim, Skye & Jon.
- Rocketcases, Inc. -

-
- -
-

Cabin 12 Restaurant

- Cabin 12 Restaurant -

- One of the best breakfast and lunch spots in Victoria! Now open for dinner. -

- -

- Big beautiful breakfasts, fantastic ribs, generous wings, some of the best burgers in town, and a range of vegetarian options. -

- -

- Super, friendly staff. Free wifi internet. -

- -

- Cash, debit, Visa or MasterCard, Canadian Tire Money and Bitcoins accepted. -

-
-
-
-
diff --git a/views/main/signup.html b/views/main/signup.html deleted file mode 100644 index 249f0ede..00000000 --- a/views/main/signup.html +++ /dev/null @@ -1,20 +0,0 @@ -

Sign Up

- -

-Are you a Vancouver business owner accepting bitcoins for payment? Great! That's all it takes to be listed on our site. Just let us know what image and text you'd like us to put up and give us your website address if you have one. -

- -

Point of Sale

- -

-If you want, we can also help you by providing you with a free, customized Point-of-Sale page for your business and offering you our exchange services. The page is designed to display nicely on an Android tablet device that you can keep on your countertop, but it can also run on a laptop or any device that has a modern web browser. -

- -

How it Works

- -

-If you register a free Point-of-Sale page with us, then whenever one of your customers asks to pay with bitcoins, you can bring up your page and enter the sale amount in Canadian dollars. The page will convert the currency amount and generate a QR code that your customers can scan with their phones in order to send bitcoins to your address.

- -

-The page will notify you when the payment is received and the transaction will be logged along with the current exchange rate at the time of sale. You'll get access to a report that totals up all the transactions sent to your bitcoin address in a given period. We can pay you out in cash for those bitcoins or you can choose to hold onto them and hope they grow in value. -

-- cgit v1.2.3