Browse Source

initial komodo version

generic-ui
David Mercer 8 years ago
parent
commit
0a65792daa
  1. 6
      README.md
  2. 4
      bitcore-node-zcash/index.js
  3. 14
      package.json
  4. 30
      po/de_DE.po
  5. 28
      po/es.po
  6. 38
      po/ja.po
  7. 6
      public/index.html
  8. 2
      public/js/angularjs-all.min.js
  9. 6
      public/js/main.min.js
  10. 26
      public/js/vendors.min.js
  11. 10
      public/src/js/config.js
  12. 2
      public/src/js/controllers/scanner.js
  13. 6
      public/src/js/translations.js
  14. 2
      public/views/includes/connection.html
  15. 6
      public/views/index.html
  16. 4
      public/views/messages_verify.html
  17. 4
      public/views/status.html
  18. 4
      public/views/transaction/tx.html
  19. 2
      public/views/transaction_sendraw.html

6
README.md

@ -1,6 +1,6 @@
# Insight UI
A Bitcoin blockchain explorer web application service for [Bitcore Node](https://github.com/bitpay/bitcore-node) using the [Insight API](https://github.com/str4d/insight-api-zcash).
A Bitcoin blockchain explorer web application service for [Bitcore Node](https://github.com/bitpay/bitcore-node) using the [Insight API](https://github.com/supernetorg/insight-api-komodo).
## Quick Start
@ -70,11 +70,11 @@ compile***.
## Note
For more details about the [Insight API](https://github.com/str4d/insight-api-zcash) configuration and end-points, go to [Insight API GitHub repository](https://github.com/str4d/insight-api-zcash).
For more details about the [Insight API](https://github.com/supernetorg/insight-api-komodo) configuration and end-points, go to [Insight API GitHub repository](https://github.com/supernetorg/insight-api-komodo).
## Contribute
Contributions and suggestions are welcomed at the [Insight UI GitHub repository](https://github.com/str4d/insight-ui-zcash).
Contributions and suggestions are welcomed at the [Insight UI GitHub repository](https://github.com/supernetorg/insight-ui-komodo).
## License

4
bitcore-node-zcash/index.js

@ -9,7 +9,7 @@ var InsightUI = function(options) {
if (typeof options.apiPrefix !== 'undefined') {
this.apiPrefix = options.apiPrefix;
} else {
this.apiPrefix = 'insight-api-zcash';
this.apiPrefix = 'insight-api-komodo';
}
if (typeof options.routePrefix !== 'undefined') {
this.routePrefix = options.routePrefix;
@ -18,7 +18,7 @@ var InsightUI = function(options) {
}
};
InsightUI.dependencies = ['insight-api-zcash'];
InsightUI.dependencies = ['insight-api-komodo'];
inherits(InsightUI, BaseService);

14
package.json

@ -1,8 +1,8 @@
{
"name": "insight-ui-zcash",
"description": "An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the zcash network and build your own services with it.",
"name": "insight-ui-komodo",
"description": "An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the komodo network and build your own services with it.",
"version": "0.4.0",
"repository": "git+ssh://github.com/zcashblockchain/insight-ui-zcash.git",
"repository": "git+ssh://git@github.com:supernetorg/insight-ui-komodo.git",
"contributors": [
{
"name": "Matias Alejo Garcia",
@ -30,19 +30,19 @@
}
],
"bugs": {
"url": "https://github.com/zcashblockchain/insight-ui-zcash/issues"
"url": "https://github.com/supernetorg/insight-ui-komodo/issues"
},
"homepage": "https://github.com/zcashblockchain/insight-ui-zcash",
"homepage": "https://github.com/supernetorg/insight-ui-komodo",
"license": "MIT",
"keywords": [
"insight",
"blockchain",
"blockexplorer",
"zcash",
"komodo",
"bitcore",
"front-end"
],
"bitcoreNode": "bitcore-node-zcash",
"bitcoreNode": "bitcore-node-komodo",
"dependencies": {
},
"devDependencies": {

30
po/de_DE.po

@ -23,18 +23,18 @@ msgstr "404 Seite nicht gefunden :("
#: public/views/index.html
msgid ""
"<strong>insight</strong> is an <a href=\"http://live.insight.is/\" target="
"\"_blank\">open-source Zcash blockchain explorer</a> with complete REST "
"\"_blank\">open-source Komodo blockchain explorer</a> with complete REST "
"and websocket APIs that can be used for writing web wallets and other apps "
"that need more advanced blockchain queries than provided by zcashd RPC. "
"Check out the <a href=\"https://github.com/str4d/insight-ui-zcash\" target=\"_blank"
"that need more advanced blockchain queries than provided by komodod RPC. "
"Check out the <a href=\"https://github.com/supernetorg/insight-ui-komodo\" target=\"_blank"
"\">source code</a>."
msgstr ""
"<strong>insight</strong> ist ein <a href=\"http://live.insight.is/\" target="
"\"_blank\">Open Source Zcash Blockchain Explorer</a> mit vollständigen "
"\"_blank\">Open Source Komodo Blockchain Explorer</a> mit vollständigen "
"REST und Websocket APIs um eigene Wallets oder Applikationen zu "
"implementieren. Hierbei werden fortschrittlichere Abfragen der Blockchain "
"ermöglicht, bei denen die RPC des Zcashd nicht mehr ausreichen. Der "
"aktuelle <a href=\"https://github.com/str4d/insight-ui-zcash\" target=\"_blank"
"ermöglicht, bei denen die RPC des Komodod nicht mehr ausreichen. Der "
"aktuelle <a href=\"https://github.com/supernetorg/insight-ui-komodo\" target=\"_blank"
"\">Quellcode</a> ist auf Github zu finden."
#: public/views/index.html
@ -45,7 +45,7 @@ msgid ""
msgstr ""
"<strong>insight</strong> befindet sich aktuell noch in der Entwicklung. "
"Bitte sende alle gefundenen Fehler (Bugs) und Feedback zur weiteren "
"Verbesserung an unseren <a href=\"https://github.com/str4d/insight-ui-zcash/issues"
"Verbesserung an unseren <a href=\"https://github.com/supernetorg/insight-ui-komodo/issues"
"\" target=\"_blank\">Github Issue Tracker</a>."
#: public/views/index.html
@ -69,8 +69,8 @@ msgid "Best Block"
msgstr "Bester Block"
#: public/views/status.html
msgid "Zcash node information"
msgstr "Zcash-Node Info"
msgid "Komodo node information"
msgstr "Komodo-Node Info"
#: public/views/block.html
msgid "Block"
@ -91,11 +91,11 @@ msgstr "Serialisierte Bytes"
#: public/views/includes/connection.html
msgid ""
"Can't connect to zcashd to get live updates from the p2p network. (Tried "
"connecting to zcashd at {{host}}:{{port}} and failed.)"
"Can't connect to komodod to get live updates from the p2p network. (Tried "
"connecting to komodod at {{host}}:{{port}} and failed.)"
msgstr ""
"Es ist nicht möglich mit Zcashd zu verbinden um live Aktualisierungen vom "
"P2P Netzwerk zu erhalten. (Verbindungsversuch zu zcashd an {{host}}:"
"Es ist nicht möglich mit Komodod zu verbinden um live Aktualisierungen vom "
"P2P Netzwerk zu erhalten. (Verbindungsversuch zu komodod an {{host}}:"
"{{port}} ist fehlgeschlagen.)"
#: public/views/includes/connection.html
@ -199,8 +199,8 @@ msgid "Last Block"
msgstr "Letzter Block"
#: public/views/status.html
msgid "Last Block Hash (Zcashd)"
msgstr "Letzter Hash (Zcashd)"
msgid "Last Block Hash (Komodod)"
msgstr "Letzter Hash (Komodod)"
#: public/views/index.html
msgid "Latest Blocks"

28
po/es.po

@ -23,16 +23,16 @@ msgstr "404 Página no encontrada :("
#: public/views/index.html
msgid ""
"<strong>insight</strong> is an <a href=\"http://live.insight.is/\" target="
"\"_blank\">open-source Zcash blockchain explorer</a> with complete REST "
"\"_blank\">open-source Komodo blockchain explorer</a> with complete REST "
"and websocket APIs that can be used for writing web wallets and other apps "
"that need more advanced blockchain queries than provided by zcashd RPC. "
"Check out the <a href=\"https://github.com/str4d/insight-ui-zcash\" target=\"_blank"
"that need more advanced blockchain queries than provided by komodod RPC. "
"Check out the <a href=\"https://github.com/supernetorg/insight-ui-komodo\" target=\"_blank"
"\">source code</a>."
msgstr ""
"<strong>insight</strong> es un <a href=\"http://live.insight.is/\" target="
"\"_blank\">explorador de bloques de Zcash open-source</a> con un completo "
"\"_blank\">explorador de bloques de Komodo open-source</a> con un completo "
"conjunto de REST y APIs de websockets que pueden ser usadas para escribir "
"monederos de Zcashs y otras aplicaciones que requieran consultar un "
"monederos de Komodos y otras aplicaciones que requieran consultar un "
"explorador de bloques. Obtén el código en <a href=\"http://github.com/"
"bitpay/insight\" target=\"_blank\">el repositorio abierto de Github</a>."
@ -44,7 +44,7 @@ msgid ""
msgstr ""
"<strong>insight</strong> esta en desarrollo aún, por ello agradecemos que "
"nos reporten errores o sugerencias para mejorar el software. <a href="
"\"https://github.com/str4d/insight-ui-zcash/issues\" target=\"_blank\">Github issue "
"\"https://github.com/supernetorg/insight-ui-komodo/issues\" target=\"_blank\">Github issue "
"tracker</a>."
#: public/views/index.html
@ -68,8 +68,8 @@ msgid "Best Block"
msgstr "Mejor Bloque"
#: public/views/status.html
msgid "Zcash node information"
msgstr "Información del nodo Zcash"
msgid "Komodo node information"
msgstr "Información del nodo Komodo"
#: public/views/block.html
msgid "Block"
@ -90,11 +90,11 @@ msgstr "Bytes Serializados"
#: public/views/includes/connection.html
msgid ""
"Can't connect to zcashd to get live updates from the p2p network. (Tried "
"connecting to zcashd at {{host}}:{{port}} and failed.)"
"Can't connect to komodod to get live updates from the p2p network. (Tried "
"connecting to komodod at {{host}}:{{port}} and failed.)"
msgstr ""
"No se pudo conectar a zcashd para obtener actualizaciones en vivo de la "
"red p2p. (Se intentó conectar a zcashd de {{host}}:{{port}} y falló.)"
"No se pudo conectar a komodod para obtener actualizaciones en vivo de la "
"red p2p. (Se intentó conectar a komodod de {{host}}:{{port}} y falló.)"
#: public/views/includes/connection.html
msgid "Can't connect to insight server. Attempting to reconnect..."
@ -195,8 +195,8 @@ msgid "Last Block"
msgstr "Último Bloque"
#: public/views/status.html
msgid "Last Block Hash (Zcashd)"
msgstr "Último Bloque Hash (Zcashd)"
msgid "Last Block Hash (Komodod)"
msgstr "Último Bloque Hash (Komodod)"
#: public/views/index.html
msgid "Latest Blocks"

38
po/ja.po

@ -22,17 +22,17 @@ msgstr "404 ページがみつかりません (´・ω・`)"
#: public/views/index.html
msgid ""
"<strong>insight</strong> is an <a href=\"http://live.insight.is/\" target="
"\"_blank\">open-source Zcash blockchain explorer</a> with complete REST "
"\"_blank\">open-source Komodo blockchain explorer</a> with complete REST "
"and websocket APIs that can be used for writing web wallets and other apps "
"that need more advanced blockchain queries than provided by zcashd RPC. "
"Check out the <a href=\"https://github.com/str4d/insight-ui-zcash\" target=\"_blank"
"that need more advanced blockchain queries than provided by komodod RPC. "
"Check out the <a href=\"https://github.com/supernetorg/insight-ui-komodo\" target=\"_blank"
"\">source code</a>."
msgstr ""
"<strong>insight</strong>は、zcashd RPCの提供するものよりも詳細なブロック"
"<strong>insight</strong>は、komodod RPCの提供するものよりも詳細なブロック"
"チェインへの問い合わせを必要とするウェブウォレットやその他のアプリを書くのに"
"使える、完全なRESTおよびwebsocket APIを備えた<a href=\"http://live.insight."
"is/\" target=\"_blank\">オープンソースのビットコインブロックエクスプローラ</"
"a>です。<a href=\"https://github.com/str4d/insight-ui-zcash\" target=\"_blank\">ソース"
"a>です。<a href=\"https://github.com/supernetorg/insight-ui-komodo\" target=\"_blank\">ソース"
"コード</a>を確認"
#: public/views/index.html
@ -74,12 +74,12 @@ msgid "Best Block"
msgstr "最良ブロック"
#: public/views/messages_verify.html
msgid "Zcash comes with a way of signing arbitrary messages."
msgstr "Zcashには任意のメッセージを署名する昨日が備わっています。"
msgid "Komodo comes with a way of signing arbitrary messages."
msgstr "Komodoには任意のメッセージを署名する昨日が備わっています。"
#: public/views/status.html
msgid "Zcash node information"
msgstr "Zcashノード情報"
msgid "Komodo node information"
msgstr "Komodoノード情報"
#: public/views/block.html
msgid "Block"
@ -104,10 +104,10 @@ msgstr "シリアライズ後の容量 (バイト)"
#: public/views/includes/connection.html
msgid ""
"Can't connect to zcashd to get live updates from the p2p network. (Tried "
"connecting to zcashd at {{host}}:{{port}} and failed.)"
"Can't connect to komodod to get live updates from the p2p network. (Tried "
"connecting to komodod at {{host}}:{{port}} and failed.)"
msgstr ""
"P2Pネットワークからライブ情報を取得するためにzcashdへ接続することができませ"
"P2Pネットワークからライブ情報を取得するためにkomododへ接続することができませ"
"んでした。({{host}}:{{port}} への接続を試みましたが、失敗しました。)"
#: public/views/includes/connection.html
@ -213,8 +213,8 @@ msgid "Last Block"
msgstr "直前のブロック"
#: public/views/status.html
msgid "Last Block Hash (Zcashd)"
msgstr "直前のブロックのハッシュ値 (Zcashd)"
msgid "Last Block Hash (Komodod)"
msgstr "直前のブロックのハッシュ値 (Komodod)"
#: public/views/index.html
msgid "Latest Blocks"
@ -426,17 +426,17 @@ msgstr "このアドレスに対するトランザクションはありません
#: public/views/transaction_sendraw.html
msgid ""
"This form can be used to broadcast a raw transaction in hex format over\n"
" the Zcash network."
" the Komodo network."
msgstr ""
"このフォームでは、16進数フォーマットの生のトランザクションをZcashネットワー"
"このフォームでは、16進数フォーマットの生のトランザクションをKomodoネットワー"
"ク上に配信することができます。"
#: public/views/messages_verify.html
msgid ""
"This form can be used to verify that a message comes from\n"
" a specific Zcash address."
" a specific Komodo address."
msgstr ""
"このフォームでは、メッセージが特定のZcashアドレスから来たかどうかを検証する"
"このフォームでは、メッセージが特定のKomodoアドレスから来たかどうかを検証する"
"ことができます。"
#: public/views/status.html
@ -453,7 +453,7 @@ msgstr "今日"
#: public/views/status.html
msgid "Total Amount"
msgstr "Zcash総量"
msgstr "Komodo総量"
#: public/views/address.html
msgid "Total Received"

6
public/index.html

@ -8,9 +8,9 @@
<meta name="fragment" content="!">
<title data-ng-if="currency.testnet" data-ng-bind="$root.title + $root.titleDetail + ' | Testnet Insight'">Testnet Insight</title>
<title data-ng-if="!currency.testnet" data-ng-bind="$root.title + $root.titleDetail + ' | Insight'">Insight</title>
<meta name="keywords" content="zcash, transactions, blocks, address, block chain, best block, mining difficulty, hash serialized">
<meta data-ng-if="currency.testnet" name="description" content="Zcash Insight. View detailed information on all testnet zcash transactions and block. {{ $root.title + $root.titleDetail }}">
<meta data-ng-if="!currency.testnet" name="description" content="Zcash Insight. View detailed information on all zcash transactions and block. {{ $root.title + $root.titleDetail }}">
<meta name="keywords" content="komodo, transactions, blocks, address, block chain, best block, mining difficulty, hash serialized">
<meta data-ng-if="currency.testnet" name="description" content="Komodo Insight. View detailed information on all testnet komodo transactions and block. {{ $root.title + $root.titleDetail }}">
<meta data-ng-if="!currency.testnet" name="description" content="Komodo Insight. View detailed information on all komodo transactions and block. {{ $root.title + $root.titleDetail }}">
<link rel="shortcut icon" href="img/icons/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,400italic">
<link rel="stylesheet" href="css/main.min.css">

2
public/js/angularjs-all.min.js

File diff suppressed because one or more lines are too long

6
public/js/main.min.js

File diff suppressed because one or more lines are too long

26
public/js/vendors.min.js

File diff suppressed because one or more lines are too long

10
public/src/js/config.js

@ -5,7 +5,7 @@ angular.module('insight').config(function($routeProvider) {
$routeProvider.
when('/block/:blockHash', {
templateUrl: 'views/block.html',
title: 'Zcash Block '
title: 'Komodo Block '
}).
when('/block-index/:blockHeight', {
controller: 'BlocksController',
@ -17,7 +17,7 @@ angular.module('insight').config(function($routeProvider) {
}).
when('/tx/:txId/:v_type?/:v_index?', {
templateUrl: 'views/transaction.html',
title: 'Zcash Transaction '
title: 'Komodo Transaction '
}).
when('/', {
templateUrl: 'views/index.html',
@ -25,15 +25,15 @@ angular.module('insight').config(function($routeProvider) {
}).
when('/blocks', {
templateUrl: 'views/block_list.html',
title: 'Zcash Blocks solved Today'
title: 'Komodo Blocks solved Today'
}).
when('/blocks-date/:blockDate/:startTimestamp?', {
templateUrl: 'views/block_list.html',
title: 'Zcash Blocks solved '
title: 'Komodo Blocks solved '
}).
when('/address/:addrStr', {
templateUrl: 'views/address.html',
title: 'Zcash Address '
title: 'Komodo Address '
}).
when('/charts/:chartType?', {
templateUrl: 'views/charts.html',

2
public/src/js/controllers/scanner.js

@ -112,7 +112,7 @@ angular.module('insight.system').controller('ScannerController',
qrcode.callback = function(data) {
_scanStop();
var str = (data.indexOf('zcash:') === 0) ? data.substring(8) : data;
var str = (data.indexOf('komodo:') === 0) ? data.substring(8) : data;
console.log('QR code detected: ' + str);
$searchInput
.val(str)

6
public/src/js/translations.js

File diff suppressed because one or more lines are too long

2
public/views/includes/connection.html

@ -7,7 +7,7 @@
<strong translate>Error!</strong>
<p data-ng-show="!apiOnline" translate>
Can't connect to zcashd to get live updates from the p2p network. (Tried connecting to zcashd at {{host}}:{{port}} and failed.)
Can't connect to komodod to get live updates from the p2p network. (Tried connecting to komodod at {{host}}:{{port}} and failed.)
</p>
<p data-ng-show="!serverOnline" translate>

6
public/views/index.html

@ -62,9 +62,9 @@
<div class="col-xs-12 col-md-4 col-gray">
<h2 translate>About</h2>
<p translate><strong>insight</strong> is an <a href="https://insight.is/"
target="_blank">open-source Zcash blockchain explorer</a> with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by zcashd RPC. Check out the <a href="https://github.com/str4d/insight-ui-zcash" target="_blank">source code</a>.</p>
<p translate><strong>insight</strong> is still in development, so be sure to report any bugs and provide feedback for improvement at our <a href="https://github.com/str4d/insight-ui-zcash/issues" target="_blank">github issue tracker</a>.</p>
<p data-ng-if='currency.testnet'><strong>This explorer is currently showing testnet Zcash!</strong></p>
target="_blank">open-source Komodo blockchain explorer</a> with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by komodod RPC. Check out the <a href="https://github.com/supernetorg/insight-ui-komodo" target="_blank">source code</a>.</p>
<p translate><strong>insight</strong> is still in development, so be sure to report any bugs and provide feedback for improvement at our <a href="https://github.com/supernetorg/insight-ui-komodo/issues" target="_blank">github issue tracker</a>.</p>
<p data-ng-if='currency.testnet'><strong>This explorer is currently showing testnet Komodo!</strong></p>
<div id="powered" class="row">
<div class="powered-text">
<small class="text-muted" translate>Powered by</small>

4
public/views/messages_verify.html

@ -70,11 +70,11 @@
</div>
<div class="col-xs-12 col-md-4 col-gray">
<p translate>
Zcash comes with a way of signing arbitrary messages.
Komodo comes with a way of signing arbitrary messages.
</p>
<p translate>
This form can be used to verify that a message comes from
a specific Zcash address.
a specific Komodo address.
</p>
</div>
</div>

4
public/views/status.html

@ -63,7 +63,7 @@
<thead data-ng-include src="'views/includes/infoStatus.html'"></thead>
<tbody>
<tr>
<td translate>Last Block Hash (Zcashd)</td>
<td translate>Last Block Hash (Komodod)</td>
<td class="text-right ellipsis"><a href="block/{{lastblockhash}}">{{lastblockhash}}</a></td>
</tr>
<tr>
@ -76,7 +76,7 @@
</div> <!-- END OF COL-8 -->
<div class="col-xs-12 col-md-4 col-gray">
<h2 translate>Zcash node information</h2>
<h2 translate>Komodo node information</h2>
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Info')">
<thead data-ng-include src="'views/includes/infoStatus.html'"></thead>
<tbody>

4
public/views/transaction/tx.html

@ -181,7 +181,7 @@
</div>
<div class="ellipsis">
<span data-ng-show="vin.notAddr">{{vin.addr}}</span>
<span class="text-muted" title="Current Zcash Address" data-ng-show="vin.addr == $root.currentAddr">{{vin.addr}}</span>
<span class="text-muted" title="Current Komodo Address" data-ng-show="vin.addr == $root.currentAddr">{{vin.addr}}</span>
<a href="address/{{vin.addr}}" data-ng-show="!vin.notAddr && vin.addr != $root.currentAddr">{{vin.addr}}</a>
</div>
<div data-ng-show="vin.unconfirmedInput" class="text-danger"> <span class="glyphicon glyphicon-warning-sign"></span> (Input unconfirmed)</div>
@ -286,7 +286,7 @@
<div class="ellipsis">
<span data-ng-show="vout.notAddr">{{vout.addr}}</span>
<span class="text-muted" title="Current Zcash Address" data-ng-show="address == $root.currentAddr" data-ng-repeat="address in vout.addr.split(',')">{{vout.addr}}</span>
<span class="text-muted" title="Current Komodo Address" data-ng-show="address == $root.currentAddr" data-ng-repeat="address in vout.addr.split(',')">{{vout.addr}}</span>
<a href="address/{{address}}" data-ng-show="!vout.notAddr && address != $root.currentAddr" data-ng-repeat="address in vout.addr.split(',')">{{address}}</a>
</div>
</div>

2
public/views/transaction_sendraw.html

@ -48,7 +48,7 @@
<div class="col-xs-12 col-md-4 col-gray">
<p translate>
This form can be used to broadcast a raw transaction in hex format over
the Zcash network.
the Komodo network.
</p>
</div>
</div>

Loading…
Cancel
Save