-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #16 Add getAsset & getAccount in utilities to top level * #16 Credit Offers Page * #22 Credit Offers Updates * #22 Add toggle show only active for credit offers page
- Loading branch information
Showing
13 changed files
with
445 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ | |
'app.welcome', | ||
'app.generic-search', | ||
'app.pools', | ||
'app.credit_offers' | ||
]); | ||
})(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<script type="text/ng-template" id="operations-table.html"> | ||
|
||
<div ng-if="index === 'operation_text'" ng-bind-html="row.operation_text | to_trusted"></div> | ||
|
||
<div ng-if="index === 'operation_id'"> | ||
<a href='#/operations/{{cell}}/'>{{cell}}</a> | ||
</div> | ||
|
||
<div ng-if="index === 'time'"> {{ cell | dateFilter }} </div> | ||
|
||
<div ng-if="index === 'block_num'"> | ||
<a href="#/blocks/{{ cell }}">{{ cell | number }}</a> | ||
</div> | ||
|
||
<div ng-if="index === 'type'"> | ||
<span class="badge badge-primary" style="background-color: #{{row.color}};">{{row.type}}</span> | ||
</div> | ||
|
||
</script> | ||
|
||
<div class="page page-table pools" data-ng-controller="creditOffersCtrl"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<ol class="breadcrumb"> | ||
<li><a href="#/"><span data-translate="Home"></span></a></li> | ||
<li><a href="#/pools/"><span data-translate="Credit Offers"></span></a></li> | ||
<li class="active"><a href="#/credit-offers/{{credit_offer_id}}">{{credit_offer_id}}</a></li> | ||
</ol> | ||
</div> | ||
<div class="col-md-6"> | ||
</div> | ||
</div> | ||
<h2><span data-translate="Credit Offer Operations History"></span></h2> | ||
<div class="panel-body table-responsive"> | ||
<responsive-table data-data="operations" | ||
data-columns="operationsColumns" | ||
data-loading="operationsLoading" | ||
data-template="operations-table.html" | ||
data-loading-error="operationsLoadingError" | ||
></responsive-table> | ||
|
||
<footer class="table-footer"> | ||
<div class="row"> | ||
<div class="col-md-6 page-num-info"> | ||
</div> | ||
<div class="col-md-6 text-right pagination-container"> | ||
<ul | ||
uib-pagination class="pagination-sm" | ||
ng-model="currentPage" | ||
total-items="total_ops" | ||
max-size="4" | ||
ng-change="currentPage===undefined || select(currentPage)" | ||
items-per-page="20" | ||
rotate="false" | ||
previous-text="‹" next-text="›" | ||
boundary-links="true" | ||
></ul> | ||
</div> | ||
</div> | ||
</footer> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.