Merge pull request #7 from ryanxcharles/feature/rename-copay
Rename Cosign -> Copay
This commit is contained in:
commit
c3da9aa26b
15 changed files with 44 additions and 44 deletions
|
|
@ -1 +1 @@
|
||||||
Cosign
|
Copay
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "cosign",
|
"name": "copay",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"cosign",
|
"copay",
|
||||||
"wallet",
|
"wallet",
|
||||||
"multisignature"
|
"multisignature"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
12
index.html
12
index.html
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Cosign - Multisignature Wallet</title>
|
<title>Copay - Multisignature Wallet</title>
|
||||||
<link rel="stylesheet" href="css/foundation.min.css">
|
<link rel="stylesheet" href="css/foundation.min.css">
|
||||||
<link rel="stylesheet" href="css/main.css">
|
<link rel="stylesheet" href="css/main.css">
|
||||||
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,700,700italic' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,700,700italic' rel='stylesheet' type='text/css'>
|
||||||
|
|
@ -70,13 +70,13 @@
|
||||||
<h1>Joined to <span class="text-muted">{{connectionId}}</span></h1>
|
<h1>Joined to <span class="text-muted">{{connectionId}}</span></h1>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title">Cosigners ({{cosigners.length}}/5)</h3>
|
<h3 class="panel-title">Copayers ({{copayers.length}}/5)</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<ul>
|
<ul>
|
||||||
<li ng-repeat="cosigner in cosigners">
|
<li ng-repeat="copayer in copayers">
|
||||||
<span ng-if="cosigner == $root.peerId">You ({{$root.peerId}})</span>
|
<span ng-if="copayer == $root.peerId">You ({{$root.peerId}})</span>
|
||||||
<span ng-if="cosigner != $root.peerId">{{cosigner}}</span>
|
<span ng-if="copayer != $root.peerId">{{copayer}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -115,7 +115,7 @@
|
||||||
</accordion-heading>
|
</accordion-heading>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6 col-md-4">ignore</div>
|
<div class="col-xs-6 col-md-4">ignore</div>
|
||||||
<div class="col-xs-6 col-md-4">(Required 3 cosign)</div>
|
<div class="col-xs-6 col-md-4">(Required 3 copay)</div>
|
||||||
<div class="col-xs-6 col-md-4">sign</div>
|
<div class="col-xs-6 col-md-4">sign</div>
|
||||||
</div>
|
</div>
|
||||||
</accordion-group>
|
</accordion-group>
|
||||||
|
|
|
||||||
34
js/app.js
34
js/app.js
|
|
@ -1,25 +1,25 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign',[
|
angular.module('copay',[
|
||||||
'ngRoute',
|
'ngRoute',
|
||||||
'mm.foundation',
|
'mm.foundation',
|
||||||
'monospaced.qrcode',
|
'monospaced.qrcode',
|
||||||
'cosign.header',
|
'copay.header',
|
||||||
'cosign.home',
|
'copay.home',
|
||||||
'cosign.transactions',
|
'copay.transactions',
|
||||||
'cosign.send',
|
'copay.send',
|
||||||
'cosign.backup',
|
'copay.backup',
|
||||||
'cosign.network',
|
'copay.network',
|
||||||
'cosign.signin',
|
'copay.signin',
|
||||||
'cosign.join'
|
'copay.join'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
angular.module('cosign.header', []);
|
angular.module('copay.header', []);
|
||||||
angular.module('cosign.home', []);
|
angular.module('copay.home', []);
|
||||||
angular.module('cosign.transactions', []);
|
angular.module('copay.transactions', []);
|
||||||
angular.module('cosign.send', []);
|
angular.module('copay.send', []);
|
||||||
angular.module('cosign.backup', []);
|
angular.module('copay.backup', []);
|
||||||
angular.module('cosign.network', []);
|
angular.module('copay.network', []);
|
||||||
angular.module('cosign.signin', []);
|
angular.module('copay.signin', []);
|
||||||
angular.module('cosign.join', []);
|
angular.module('copay.join', []);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
//Setting up route
|
//Setting up route
|
||||||
angular
|
angular
|
||||||
.module('cosign')
|
.module('copay')
|
||||||
.config(function($routeProvider) {
|
.config(function($routeProvider) {
|
||||||
|
|
||||||
$routeProvider
|
$routeProvider
|
||||||
|
|
@ -34,7 +34,7 @@ angular
|
||||||
|
|
||||||
//Setting HTML5 Location Mode
|
//Setting HTML5 Location Mode
|
||||||
angular
|
angular
|
||||||
.module('cosign')
|
.module('copay')
|
||||||
.config(function($locationProvider) {
|
.config(function($locationProvider) {
|
||||||
$locationProvider
|
$locationProvider
|
||||||
.html5Mode(false);
|
.html5Mode(false);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.backup').controller('BackupController',
|
angular.module('copay.backup').controller('BackupController',
|
||||||
function($scope, $rootScope, $location) {
|
function($scope, $rootScope, $location) {
|
||||||
$scope.title = 'Backup';
|
$scope.title = 'Backup';
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.header').controller('HeaderController',
|
angular.module('copay.header').controller('HeaderController',
|
||||||
function($scope, $rootScope, $location) {
|
function($scope, $rootScope, $location) {
|
||||||
$scope.menu = [{
|
$scope.menu = [{
|
||||||
'title': 'Home',
|
'title': 'Home',
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.home').controller('HomeController',
|
angular.module('copay.home').controller('HomeController',
|
||||||
function($scope, $rootScope, $location) {
|
function($scope, $rootScope, $location) {
|
||||||
$scope.title = 'Home';
|
$scope.title = 'Home';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.join').controller('JoinController',
|
angular.module('copay.join').controller('JoinController',
|
||||||
function($scope, $rootScope, $routeParams, Network) {
|
function($scope, $rootScope, $routeParams, Network) {
|
||||||
|
|
||||||
$scope.connectionId = $routeParams.id;
|
$scope.connectionId = $routeParams.id;
|
||||||
$scope.cosigners = [];
|
$scope.copayers = [];
|
||||||
|
|
||||||
$scope.init = function() {
|
$scope.init = function() {
|
||||||
console.log('-------- init --------');
|
console.log('-------- init --------');
|
||||||
console.log($rootScope.peerId);
|
console.log($rootScope.peerId);
|
||||||
$scope.cosigners.push($rootScope.peerId);
|
$scope.copayers.push($rootScope.peerId);
|
||||||
|
|
||||||
Network.connect($scope.connectionId, function(cosigner) {
|
Network.connect($scope.connectionId, function(copayer) {
|
||||||
console.log('----- join connect --------');
|
console.log('----- join connect --------');
|
||||||
console.log(cosigner);
|
console.log(copayer);
|
||||||
$scope.cosigners.push(cosigner);
|
$scope.copayers.push(copayer);
|
||||||
$scope.$digest();
|
$scope.$digest();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.send').controller('SendController',
|
angular.module('copay.send').controller('SendController',
|
||||||
function($scope, $rootScope, $location) {
|
function($scope, $rootScope, $location) {
|
||||||
$scope.title = 'Send';
|
$scope.title = 'Send';
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.signin').controller('SigninController',
|
angular.module('copay.signin').controller('SigninController',
|
||||||
function($scope, $rootScope, $location, Network) {
|
function($scope, $rootScope, $location, Network) {
|
||||||
$rootScope.peerId = null;
|
$rootScope.peerId = null;
|
||||||
$scope.peerReady = false;
|
$scope.peerReady = false;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.transactions').controller('TransactionsController',
|
angular.module('copay.transactions').controller('TransactionsController',
|
||||||
function($scope, $rootScope, $location) {
|
function($scope, $rootScope, $location) {
|
||||||
$scope.title = 'Transactions';
|
$scope.title = 'Transactions';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
angular.element(document).ready(function() {
|
angular.element(document).ready(function() {
|
||||||
// Init the app
|
// Init the app
|
||||||
angular.bootstrap(document, ['cosign']);
|
angular.bootstrap(document, ['copay']);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('cosign.network')
|
angular.module('copay.network')
|
||||||
.factory('NetworkTest', function() {
|
.factory('NetworkTest', function() {
|
||||||
this.f = function() {
|
this.f = function() {
|
||||||
return 2;
|
return 2;
|
||||||
|
|
@ -55,7 +55,7 @@ angular.module('cosign.network')
|
||||||
label: 'wallet',
|
label: 'wallet',
|
||||||
serialization: 'none',
|
serialization: 'none',
|
||||||
reliable: false,
|
reliable: false,
|
||||||
metadata: { message: 'hi! cosigners' }
|
metadata: { message: 'hi! copayers' }
|
||||||
});
|
});
|
||||||
|
|
||||||
c.on('open', function() {
|
c.on('open', function() {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wallet",
|
"wallet",
|
||||||
"cosign",
|
"copay",
|
||||||
"multisignature",
|
"multisignature",
|
||||||
"bitcoin"
|
"bitcoin"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue