diff --git a/.bowerrc b/.bowerrc new file mode 100644 index 000000000..47ad66735 --- /dev/null +++ b/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "public/lib" +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..896506df6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,46 @@ +# from https://github.com/github/gitignore/blob/master/Node.gitignore +lib-cov +*.seed +*.log +*.csv +*.dat +*.out +*.pid +*.gz +*.swp +tags +pids +logs +results +build + +node_modules + +# extras +*.swp +*.swo +*~ +.project +peerdb.json + +npm-debug.log +.nodemonignore + +.DS_Store +public/lib/* +db/txs/* +db/txs +db/testnet/txs/* +db/testnet/txs +db/blocks/* +db/blocks +db/testnet/blocks/* +db/testnet/blocks + +public/js/angularjs-all.js +public/js/main.js +public/js/vendors.js + +public/css/main.css + +README.html diff --git a/bower.json b/bower.json new file mode 100644 index 000000000..cffdbfa5f --- /dev/null +++ b/bower.json @@ -0,0 +1,12 @@ +{ + "name": "cosign", + "keywords": [ + "cosign", + "wallet", + "multisignaure" + ], + "dependencies": { + "angular": "~1.2.x", + "angular-route": "~1.2.x" + } +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..a2fe752e4 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "cosign", + "version": "0.0.1", + "description": "A multisignature wallet", + "repository": { + "type": "git", + "url": "git://github.com/bitpay/cosign.git" + }, + "keywords": [ + "wallet", + "cosign", + "multisignature", + "bitcoin" + ], + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/bitpay/cosign/issues" + }, + "homepage": "https://github.com/bitpay/cosign", + "devDependencies": { + "grunt-cli": "~0.1.13" + } +} diff --git a/public/index.html b/public/index.html new file mode 100644 index 000000000..856c81b7f --- /dev/null +++ b/public/index.html @@ -0,0 +1,18 @@ + + + + + + cosign - Multisignature Wallet + + + + + + + +
cosign
+
+ + + diff --git a/public/js/app.js b/public/js/app.js new file mode 100644 index 000000000..1fa8dc612 --- /dev/null +++ b/public/js/app.js @@ -0,0 +1,5 @@ +'use strict'; + +angular.module('cosign',[ + 'ngRoute', +]); diff --git a/public/js/config.js b/public/js/config.js new file mode 100644 index 000000000..68f6d43b5 --- /dev/null +++ b/public/js/config.js @@ -0,0 +1,24 @@ +'use strict'; + +//Setting up route +angular + .module('cosign') + .config(function($routeProvider) { + $routeProvider. + when('signin', { + templateUrl: '/views/signin.html', + title: 'Signin' + }) + .otherwise({ + templateUrl: '/views/404.html', + title: 'Error' + }); + }); + +//Setting HTML5 Location Mode +angular + .module('insight') + .config(function($locationProvider) { + $locationProvider.html5Mode(true); + $locationProvider.hashPrefix('!'); + }); diff --git a/public/js/directives.js b/public/js/directives.js new file mode 100644 index 000000000..ad9a93a7c --- /dev/null +++ b/public/js/directives.js @@ -0,0 +1 @@ +'use strict'; diff --git a/public/js/filters.js b/public/js/filters.js new file mode 100644 index 000000000..ad9a93a7c --- /dev/null +++ b/public/js/filters.js @@ -0,0 +1 @@ +'use strict'; diff --git a/public/js/init.js b/public/js/init.js new file mode 100644 index 000000000..cd0922afc --- /dev/null +++ b/public/js/init.js @@ -0,0 +1,6 @@ +'use strict'; + +angular.element(document).ready(function() { + // Init the app + // angular.bootstrap(document, ['cosign']); +});