Skip to content

Commit

Permalink
Updated ui dependencies.
Browse files Browse the repository at this point in the history
████ ███  To request new features or in case this commit breaks something for you,
████ ███  please, create a new github issue with all possible information for me,
▓███▀█▄   but never share your API Keys!
▒▓██ ███
░▒▓█ ███  Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com>
 _______________________________
/ Hello, WORLD!                 \
|                               |
\ pssst.. 1 BTC = 25173.32 EUR. /
 -------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
  • Loading branch information
ctubio committed Jul 21, 2021
1 parent 52303f0 commit 26c269a
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ K ?= K.sh
MAJOR = 0
MINOR = 6
PATCH = 4
BUILD = 22
BUILD = 23

OBLIGATORY = DISCLAIMER: This is strict non-violent software: \n$\
if you hurt other living creatures, please stop; \n$\
Expand Down
2 changes: 1 addition & 1 deletion src/bin/+portfolios/+portfolios.client/Markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class MarketsComponent {
cellRenderer: (params) => `<a
rel="noreferrer" target="_blank"
title="` + params.data.web + `"
href="` + params.data.web + `"><i class="beacon-sym-_default-s beacon-sym-` + params.value.toLowerCase() + `-s" ></i> ` + params.value + `</a>`
href="` + params.data.web + `"><i class="beacon sym-_default-s sym-` + params.value.toLowerCase() + `-s" ></i> ` + params.value + `</a>`
}, {
width: 200,
field: 'spread',
Expand Down
2 changes: 1 addition & 1 deletion src/bin/+portfolios/+portfolios.client/Wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class WalletsComponent {
pinnedRowCellRenderer: (params) => `<input type="text" class="form-control"
style="background: #0000005c;width: 100%;height: 26px;font-size: 19px;margin-top: -1px;"
title="filter" id="filter_pattern" />`,
cellRenderer: (params) => '<span class="row_title"><i class="beacon-sym-_default-s beacon-sym-' + params.value.toLowerCase() + '-s" ></i> ' + params.value + '</span>',
cellRenderer: (params) => '<span class="row_title"><i class="beacon sym-_default-s sym-' + params.value.toLowerCase() + '-s" ></i> ' + params.value + '</span>',
cellClassRules: {
'text-muted': '!parseFloat(data.total)'
}
Expand Down
8 changes: 4 additions & 4 deletions src/bin/trading-bot/trading-bot.client/Market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import {Models} from 'lib/K';
<div style="padding-right:4px;padding-left:4px;padding-top:4px;line-height:1.3;">
<table class="marketQuoting table table-hover table-responsive text-center">
<tr class="info">
<td>BID Size<i class="beacon-sym-{{ product.base.toLowerCase() }}-s"></i></td>
<td>BID Price<i class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></td>
<td>ASK Price<i class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></td>
<td>ASK Size<i class="beacon-sym-{{ product.base.toLowerCase() }}-s"></i></td>
<td>BID Size<i class="beacon sym-{{ product.base.toLowerCase() }}-s"></i></td>
<td>BID Price<i class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></td>
<td>ASK Price<i class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></td>
<td>ASK Size<i class="beacon sym-{{ product.base.toLowerCase() }}-s"></i></td>
</tr>
<tr class="info">
<th *ngIf="status.bidStatus == 1" class="text-danger">{{ qBidSz.toFixed(product.tickSize) }}<span *ngIf="!qBidSz">&nbsp;</span></th>
Expand Down
6 changes: 3 additions & 3 deletions src/bin/trading-bot/trading-bot.client/Safety.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ import {Models} from 'lib/K';
<span
[ngClass]="getClass(fairValue.price) + ' fairvalue'"
>{{ fairValue.price.toFixed(product.tickPrice) }}<i
class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></span>
class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></span>
</div>
<div class="param-info">
<span class="param-label">BuyPing</span>:
<span
[ngClass]="getClass(tradeSafety.buyPing)"
>{{ tradeSafety.buyPing.toFixed(product.tickPrice) }}<i
class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></span>
class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></span>
</div>
<div class="param-info">
<span class="param-label">SellPing</span>:
<span
[ngClass]="getClass(tradeSafety.sellPing)"
>{{ tradeSafety.sellPing.toFixed(product.tickPrice) }}<i
class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></span>
class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></span>
</div>
<div class="param-info">
<span class="param-label">BuyTS</span>:<span
Expand Down
8 changes: 4 additions & 4 deletions src/bin/trading-bot/trading-bot.client/Wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Models} from 'lib/K';
selector: 'wallet',
template: `<div class="positions">
<h4 class="col-md-12 col-xs-2">
<small><i class="beacon-sym-_default-s beacon-sym-{{ product.base.toLowerCase() }}-s" ></i> {{ product.base }}:
<small><i class="beacon sym-_default-s sym-{{ product.base.toLowerCase() }}-s" ></i> {{ product.base }}:
<br/>
<span
title="{{ product.base }} Available"
Expand All @@ -26,7 +26,7 @@ import {Models} from 'lib/K';
</h4>
<div *ngIf="!product.margin">
<h4 class="col-md-12 col-xs-2">
<small><i class="beacon-sym-_default-s beacon-sym-{{ product.quote.toLowerCase() }}-s" ></i> {{ product.quote }}:
<small><i class="beacon sym-_default-s sym-{{ product.quote.toLowerCase() }}-s" ></i> {{ product.quote }}:
<br/>
<span
title="{{ product.quote }} Available"
Expand All @@ -49,10 +49,10 @@ import {Models} from 'lib/K';
<small>Value:</small>
<br/>
<b title="{{ product.base }} Total">{{ position.base.value.toFixed(8) }}<i
class="beacon-sym-{{ product.base.toLowerCase() }}-s"></i></b>
class="beacon sym-{{ product.base.toLowerCase() }}-s"></i></b>
<br/>
<b title="{{ product.quote }} Total">{{ position.quote.value.toFixed(product.tickPrice) }}<i
class="beacon-sym-{{ product.quote.toLowerCase() }}-s"></i></b>
class="beacon sym-{{ product.quote.toLowerCase() }}-s"></i></b>
</h4>
<h4 class="col-md-12 col-xs-2" style="margin-top: 0px!important;">
<small style="font-size:69%">
Expand Down
22 changes: 11 additions & 11 deletions src/lib/Krypto.ninja-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,22 @@ export define PACKAGE_JSON
"dependencies": {
"@ag-grid-community/all-modules": "^25.3.0",
"@ag-grid-community/angular": "^25.3.0",
"@angular/common": "^12.1.1",
"@angular/compiler": "^12.1.1",
"@angular/core": "^12.1.1",
"@angular/forms": "^12.1.1",
"@angular/platform-browser": "^12.1.1",
"@angular/platform-browser-dynamic": "^12.1.1",
"@angular/router": "^12.1.1",
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@types/node": "^16.0.0",
"@angular/common": "^12.1.2",
"@angular/compiler": "^12.1.2",
"@angular/core": "^12.1.2",
"@angular/forms": "^12.1.2",
"@angular/platform-browser": "^12.1.2",
"@angular/platform-browser-dynamic": "^12.1.2",
"@angular/router": "^12.1.2",
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@types/node": "^16.4.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"highcharts": "^9.1.2",
"highcharts-angular": "^2.10.0",
"rxjs": "^6.6.6",
"sass": "^1.35.1",
"sass": "^1.35.2",
"typescript": "^4.3.5",
"uglify-js": "^3.13.10",
"zone.js": "^0.11.4"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Krypto.ninja-client/www/js/Shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {Socket, Models} from 'lib/K';
<div [hidden]="state.online !== null"
style="padding:42px;transform:rotate(-6deg);">
<h4 class="text-danger text-center">
<i class="beacon-exc-{{ exchange_icon }}-s" style="font-size:30px;"></i>
<i class="beacon exc-{{ exchange_icon }}-s" style="font-size:30px;"></i>
<br /><br />
{{ product.environment ? product.environment+' is d' : 'D' }}isconnected
</h4>
Expand Down Expand Up @@ -222,7 +222,7 @@ function currencyHeaderTemplate(symbol: string) {
<div ref="eLabel" class="ag-header-cell-label" role="presentation">
<span>
<span ref="eText" class="ag-header-cell-text" role="columnheader"></span>
<i class="beacon-sym-` + symbol.toLowerCase() + `-s"></i>
<i class="beacon sym-` + symbol.toLowerCase() + `-s"></i>
</span>
<span ref="eFilter" class="ag-header-icon ag-filter-icon"></span>
<span ref="eSortOrder" class="ag-header-icon ag-sort-order"></span>
Expand Down

0 comments on commit 26c269a

Please sign in to comment.