mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #1 from colkito/init
first commit - skeleton of AngularJS
This commit is contained in:
commit
e03bb51d93
|
@ -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
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"name": "cosign",
|
||||||
|
"keywords": [
|
||||||
|
"cosign",
|
||||||
|
"wallet",
|
||||||
|
"multisignaure"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"angular": "~1.2.x",
|
||||||
|
"angular-route": "~1.2.x"
|
||||||
|
}
|
||||||
|
}
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en" ng-app="cosign">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
|
<title>cosign - Multisignature Wallet</title>
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="css/main.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>cosign</header>
|
||||||
|
<section id="container"></section>
|
||||||
|
<script src="js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
angular.module('cosign',[
|
||||||
|
'ngRoute',
|
||||||
|
]);
|
|
@ -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('!');
|
||||||
|
});
|
|
@ -0,0 +1 @@
|
||||||
|
'use strict';
|
|
@ -0,0 +1 @@
|
||||||
|
'use strict';
|
|
@ -0,0 +1,6 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
angular.element(document).ready(function() {
|
||||||
|
// Init the app
|
||||||
|
// angular.bootstrap(document, ['cosign']);
|
||||||
|
});
|
Loading…
Reference in New Issue