Wallet/www/views/preferencesLogs.html
2017-07-14 15:21:15 -04:00

38 lines
1.3 KiB
HTML

<ion-view class="settings" hide-tabs>
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{'Session Log' | translate}}</ion-nav-title>
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-buttons side="secondary">
<button class="button back-button" ng-click="showOptionsMenu()">
<i class="icon ion-ios-more"></i>
</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content>
<div class="settings-button-group">
<button class="button button-standard button-primary" copy-to-clipboard="prepare()">
<span translate>Copy to clipboard</span>
</button>
<button class="button button-standard button-secondary" ng-show="isCordova" ng-click="sendLogs()">
<span translate>Send by email</span>
</button>
</div>
<div class="list">
<div class="item item-text-wrap enable_text_select log-text">
<ul>
<li ng-repeat="l in filteredLogs">
<span ng-class="{'energized': l.level=='warn', 'dark': l.level=='debug', 'positive': l.level=='info', 'assertive': l.level=='error'}">
{{l.msg}}
</span>
</li>
</ul>
</div>
</div>
</ion-content>
<log-options
log-options-title="logOptionsTitle"
log-options-show="showOptions"
log-options="logOptions">
</log-options>
</ion-view>