Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
cc97dc6
Add Wrapkit sass files and renamed stylesheet dir
ing-norante Dec 24, 2014
b22a6c4
Use Sass::Plugin::Rack to compile Sass files
ing-norante Dec 24, 2014
98a6b73
Add compiled css files
ing-norante Dec 24, 2014
8fc7db5
Add Sinatra Contrib gem in order to use the helper Sinatra::ContentFor
ing-norante Dec 24, 2014
b0e66eb
Add landing page, still need changes
ing-norante Dec 24, 2014
ffd2530
Add WrapKit javascript files
ing-norante Dec 24, 2014
f0bd38e
Configure a Badass Asset Pipeline for Sinatra
ing-norante Dec 29, 2014
f5df831
Fix rake tasks
ing-norante Dec 29, 2014
e55b4dc
Configure landing page to use the new asset pipeline
ing-norante Dec 29, 2014
6dad0e7
Add I18N Support
ing-norante Dec 29, 2014
791b064
Rename locales to match landing page
ing-norante Dec 29, 2014
b303d6b
Add image_tag support to landing page
ing-norante Dec 29, 2014
e80fc60
Fix typo in assets dir
ing-norante Dec 29, 2014
b12bbba
Add a styled SignIn page
ing-norante Jan 9, 2015
5ab0e5c
Add a styled SignUp page
ing-norante Jan 9, 2015
1547968
Add very basic layout templates
ing-norante Jan 13, 2015
26102ac
Add partial header with good layout and style
ing-norante Jan 13, 2015
c3010a2
Add buttons in header menu to switch users, ugly but working
ing-norante Jan 13, 2015
fd74ec6
Small changes to header partial indentation
ing-norante Jan 14, 2015
4e7f972
Reorganizing assets directory
ing-norante Jan 14, 2015
73a891e
Cleaning up assets dir
ing-norante Jan 14, 2015
573a23a
Restoring deleted files in assets/stylesheets directory
ing-norante Jan 14, 2015
24bc5af
Add a styled sidebar
ing-norante Jan 14, 2015
8fb995d
Add a styled footer and completed layout container
ing-norante Jan 14, 2015
21c6568
Add font-awesome in local assets because I don't like loading it from…
ing-norante Jan 14, 2015
034a8bd
Fix landing page assets loading scheme
ing-norante Jan 14, 2015
9d98995
Fix sidebar resizing behaviour
ing-norante Jan 15, 2015
c3d1984
Create user dashboard layout
ing-norante Jan 15, 2015
6042187
Add Activity partial for user dashboard
ing-norante Jan 15, 2015
e3fcfa8
Add Balance partial for user dashboard
ing-norante Jan 15, 2015
7d59ef7
Add Transaction partial for user dashboard with DataTables javascript…
ing-norante Jan 15, 2015
b18a8f7
Add Security partial for user dashboard with a sample wizard to compl…
ing-norante Jan 16, 2015
b56bbd7
Add About partial for user dashboard, still blank
ing-norante Jan 16, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
*.sqlite
dump.rdb
.DS_Store
.bundle
.rvmrc
.env
.env.*
.rerun
tmp/**
.powenv
.floo
.flooignore
log/**
15 changes: 14 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
source 'http://rubygems.org'

gem 'yajl-ruby'
gem "yajl-ruby"

gem "sinatra"
gem "sinatra-contrib",require: false
gem "json"
gem "rack-contrib"
gem "coffee-script"
gem "compass"

gem "sprockets"
gem "sprockets-sass"
gem "sprockets-helpers"
gem "closure-compiler"
gem "yui-compressor"

gem "sinatra-support", require: "sinatra/support"
gem "i18n"

gem "blizz"

Expand Down
49 changes: 49 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.6)
backports (3.6.4)
bitstamp (0.3.0)
activemodel (>= 3.1)
activesupport (>= 3.1)
Expand All @@ -27,11 +28,25 @@ GEM
builder (3.2.2)
celluloid (0.16.0)
timers (~> 4.0.0)
chunky_png (1.3.3)
closure-compiler (1.1.11)
coderay (1.1.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
compass (1.0.1)
chunky_png (~> 1.2)
compass-core (~> 1.0.1)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.1)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
curb (0.8.6)
data_objects (0.10.14)
addressable (~> 2.1)
Expand Down Expand Up @@ -75,6 +90,7 @@ GEM
sass (>= 3.1)
haml (4.0.5)
tilt
hike (1.2.3)
hiredis (0.5.2)
hitimes (1.2.2)
http_parser.rb (0.6.0)
Expand All @@ -95,6 +111,8 @@ GEM
method_source (~> 0.8.1)
slop (~> 3.4)
rack (1.5.2)
rack-contrib (1.2.0)
rack (>= 0.9.1)
rack-protection (1.5.3)
rack
rack-test (0.6.2)
Expand All @@ -120,7 +138,26 @@ GEM
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sinatra-contrib (1.4.2)
backports (>= 2.0)
multi_json
rack-protection
rack-test
sinatra (~> 1.4.0)
tilt (~> 1.3)
sinatra-support (1.2.2)
sinatra (>= 1.0)
slop (3.6.0)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-helpers (1.1.0)
sprockets (~> 2.0)
sprockets-sass (1.3.0)
sprockets (~> 2.0)
tilt (~> 1.1)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
Expand All @@ -130,6 +167,7 @@ GEM
thread_safe (~> 0.1)
voidtools (0.3.1)
yajl-ruby (1.2.1)
yui-compressor (0.12.0)

PLATFORMS
ruby
Expand All @@ -138,6 +176,9 @@ DEPENDENCIES
bitcoin-client!
bitstamp
blizz
closure-compiler
coffee-script
compass
dm-core
dm-migrations
dm-mysql-adapter
Expand All @@ -148,13 +189,21 @@ DEPENDENCIES
guard-sass
haml
hiredis
i18n
json
rack-contrib
rack-test
redis
rspec-core
rspec-expectations
rspec-mocks
sass
sinatra
sinatra-contrib
sinatra-support
sprockets
sprockets-helpers
sprockets-sass
voidtools
yajl-ruby
yui-compressor
17 changes: 17 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require 'rake/tasklib'
require 'rake/sprocketstask'
require './bitcoin_exchange'

namespace :assets do
desc 'Precompile assets'
task :precompile do
environment = BitcoinExchange.assets
manifest = Sprockets::Manifest.new(environment.index, File.join(BitcoinExchange.assets_path, "manifesto.json"))
manifest.compile(BitcoinExchange.assets_precompile)
end

desc "Clean assets"
task :clean do
FileUtils.rm_rf(BitcoinExchange.assets_path)
end
end
File renamed without changes.
Binary file added assets/fonts/glyphicons-halflings-regular.eot
Binary file not shown.
229 changes: 229 additions & 0 deletions assets/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added assets/fonts/glyphicons-halflings-regular.woff
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added assets/images/landing1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/overlays.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/trianglify6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/uifaces14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/uifaces15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/uifaces19.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/uifaces20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading