2014-03-19 09:17:18 -07:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
2014-03-14 13:38:27 -07:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2014-03-19 09:17:18 -07:00
|
|
|
<title>cosign - Multisignature Wallet</title>
|
2014-03-27 08:07:10 -07:00
|
|
|
<link rel="stylesheet" href="css/foundation.min.css">
|
2014-03-14 13:38:27 -07:00
|
|
|
<link rel="stylesheet" href="css/main.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
2014-03-27 08:07:10 -07:00
|
|
|
<div class="row">
|
|
|
|
<div class="large-12 columns" data-ng-init="init()" data-ng-controller="HeaderController">
|
|
|
|
<h1>cosign</h1>
|
|
|
|
<dl class="sub-nav">
|
|
|
|
<dd data-ng-repeat="item in menu" ui-route="/{{item.link}}" data-ng-class="{active: isActive(item)}">
|
2014-03-26 05:18:42 -07:00
|
|
|
<a href="{{item.link}}">{{item.title}}</a>
|
2014-03-27 08:07:10 -07:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2014-03-25 07:35:04 -07:00
|
|
|
</div>
|
2014-03-27 08:07:10 -07:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="large-12 columns" ng-view></div>
|
2014-03-26 05:18:42 -07:00
|
|
|
</div>
|
2014-03-19 09:17:18 -07:00
|
|
|
|
|
|
|
<!-- Templates -->
|
|
|
|
<script type="text/ng-template" id="signin.html">
|
2014-03-25 07:35:04 -07:00
|
|
|
<form class="form-signin" role="form">
|
|
|
|
<h2 class="form-signin-heading">Please sign in</h2>
|
|
|
|
<input type="text" class="form-control" placeholder="Wallet ID" required autofocus>
|
|
|
|
<input type="password" class="form-control" placeholder="Password" required>
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
|
|
|
</form>
|
2014-03-19 09:17:18 -07:00
|
|
|
</script>
|
|
|
|
|
2014-03-26 13:56:11 -07:00
|
|
|
<!-- HOME -->
|
2014-03-19 09:17:18 -07:00
|
|
|
<script type="text/ng-template" id="home.html">
|
2014-03-26 05:18:42 -07:00
|
|
|
<div class="home" data-ng-controller="HomeController">
|
|
|
|
<h2>{{title}}</h2>
|
2014-03-26 13:56:11 -07:00
|
|
|
|
|
|
|
<accordion close-others="oneAtATime">
|
|
|
|
<accordion-group ng-repeat="addr in addrs">
|
|
|
|
<accordion-heading>
|
|
|
|
{{addr.addrStr}}
|
|
|
|
</accordion-heading>
|
|
|
|
<qrcode size="160" data="{{addr.addrStr}}"></qrcode>
|
|
|
|
</accordion-group>
|
|
|
|
</accordion>
|
2014-03-26 05:18:42 -07:00
|
|
|
</div>
|
|
|
|
</script>
|
2014-03-26 13:56:11 -07:00
|
|
|
|
|
|
|
<!-- TRANSACTIONS -->
|
2014-03-26 05:18:42 -07:00
|
|
|
<script type="text/ng-template" id="transactions.html">
|
|
|
|
<div class="transactions" data-ng-controller="TransactionsController">
|
|
|
|
<h2>{{title}}</h2>
|
2014-03-26 13:56:11 -07:00
|
|
|
<div class="row">
|
2014-03-27 10:55:56 -07:00
|
|
|
<div class="large-6 columns">
|
2014-03-26 13:56:11 -07:00
|
|
|
<h3>Input</h3>
|
|
|
|
<accordion close-others="oneAtATime">
|
|
|
|
<accordion-group ng-repeat="tx in txsinput">
|
|
|
|
<accordion-heading>
|
|
|
|
{{tx.fromAddr}} -> {{tx.toAddr}} : {{tx.amount}}
|
|
|
|
</accordion-heading>
|
|
|
|
<div class="row">
|
|
|
|
<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">sign</div>
|
|
|
|
</div>
|
|
|
|
</accordion-group>
|
|
|
|
</accordion>
|
|
|
|
</div>
|
2014-03-27 10:55:56 -07:00
|
|
|
<div class="large-6 columns">
|
2014-03-26 13:56:11 -07:00
|
|
|
<h3>Output</h3>
|
|
|
|
<accordion close-others="oneAtATime">
|
|
|
|
<accordion-group ng-repeat="tx in txsoutput">
|
|
|
|
<accordion-heading>
|
|
|
|
{{tx.fromAddr}} <- {{tx.toAddr}} : {{tx.amount}}
|
|
|
|
</accordion-heading>
|
|
|
|
Details...
|
|
|
|
</accordion-group>
|
|
|
|
</accordion>
|
|
|
|
</div>
|
2014-03-26 05:18:42 -07:00
|
|
|
</div>
|
|
|
|
</script>
|
2014-03-26 13:56:11 -07:00
|
|
|
|
|
|
|
<!-- SEND -->
|
2014-03-26 05:18:42 -07:00
|
|
|
<script type="text/ng-template" id="send.html">
|
|
|
|
<div class="send" data-ng-controller="SendController">
|
|
|
|
<h2>{{title}}</h2>
|
2014-03-27 10:55:56 -07:00
|
|
|
<form>
|
|
|
|
<label for="address">To
|
|
|
|
<input type="text" id="address" placeholder="Send to">
|
|
|
|
</label>
|
|
|
|
<label for="amount">Amount
|
|
|
|
<input type="text" id="amount" placeholder="Amount">
|
|
|
|
<select class="form-control">
|
|
|
|
<option>mBTC</option>
|
|
|
|
<option>BTC</option>
|
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
<button type="submit" class="btn btn-default">send</button>
|
2014-03-26 13:56:11 -07:00
|
|
|
</form>
|
2014-03-26 05:18:42 -07:00
|
|
|
</div>
|
|
|
|
</script>
|
2014-03-26 13:56:11 -07:00
|
|
|
|
|
|
|
<!-- BACKUP -->
|
2014-03-26 05:18:42 -07:00
|
|
|
<script type="text/ng-template" id="backup.html">
|
|
|
|
<div class="backup" data-ng-controller="BackupController">
|
|
|
|
<h2>{{title}}</h2>
|
2014-03-26 13:56:11 -07:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6 col-md-4">Download file</div>
|
|
|
|
<div class="col-xs-6 col-md-4">Backup to Dropbox</div>
|
|
|
|
<div class="col-xs-6 col-md-4">Backup to email</div>
|
|
|
|
</div>
|
2014-03-26 05:18:42 -07:00
|
|
|
</div>
|
2014-03-19 09:17:18 -07:00
|
|
|
</script>
|
|
|
|
|
2014-03-26 13:56:11 -07:00
|
|
|
<!-- NOT FOUND -->
|
2014-03-19 09:17:18 -07:00
|
|
|
<script type="text/ng-template" id="404.html">
|
2014-03-26 05:18:42 -07:00
|
|
|
<h2 class="text-center">404</h2>
|
|
|
|
<h3 class="text-center">Page not found</h3>
|
|
|
|
<p class="text-center"><a href="#/">go back...</a></p>
|
2014-03-19 09:17:18 -07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="lib/angular/angular.min.js"></script>
|
2014-03-26 13:56:11 -07:00
|
|
|
<script src="lib/qrcode-generator/js/qrcode.js"></script>
|
|
|
|
<script src="lib/angular-qrcode/qrcode.js"></script>
|
2014-03-19 09:17:18 -07:00
|
|
|
<script src="lib/angular-route/angular-route.min.js"></script>
|
2014-03-27 08:07:10 -07:00
|
|
|
<script src="lib/angular-foundation/mm-foundation.min.js"></script>
|
|
|
|
<script src="lib/angular-foundation/mm-foundation-tpls.min.js"></script>
|
2014-03-21 14:45:59 -07:00
|
|
|
<script src="lib/peerjs/peer.js"></script>
|
2014-03-19 09:17:18 -07:00
|
|
|
<script src="js/app.js"></script>
|
|
|
|
<script src="js/config.js"></script>
|
|
|
|
<script src="js/directives.js"></script>
|
|
|
|
<script src="js/filters.js"></script>
|
2014-03-18 09:09:21 -07:00
|
|
|
|
2014-03-25 07:35:04 -07:00
|
|
|
<script src="js/controllers/header.js"></script>
|
2014-03-26 05:18:42 -07:00
|
|
|
<script src="js/controllers/home.js"></script>
|
|
|
|
<script src="js/controllers/transactions.js"></script>
|
|
|
|
<script src="js/controllers/send.js"></script>
|
|
|
|
<script src="js/controllers/backup.js"></script>
|
2014-03-25 07:35:04 -07:00
|
|
|
|
2014-03-19 09:17:18 -07:00
|
|
|
<script src="js/init.js"></script>
|
2014-03-14 13:38:27 -07:00
|
|
|
</body>
|
|
|
|
</html>
|