2016-10-12 22:26:55 -04:00
|
|
|
<ion-view class="settings">
|
2016-09-01 12:36:59 -04:00
|
|
|
<ion-nav-bar class="bar-royal">
|
2016-09-22 11:55:23 -03:00
|
|
|
<ion-nav-title>{{'Session Log' | translate}}</ion-nav-title>
|
2016-08-29 16:48:15 -03:00
|
|
|
<ion-nav-back-button>
|
|
|
|
|
</ion-nav-back-button>
|
2016-08-15 17:42:04 -03:00
|
|
|
</ion-nav-bar>
|
2017-02-16 16:41:36 -05:00
|
|
|
<ion-content>
|
2016-10-12 22:26:55 -04:00
|
|
|
<div class="settings-button-group">
|
|
|
|
|
<button class="button button-standard button-primary" style="margin-top: 1rem" copy-to-clipboard="prepare()">
|
|
|
|
|
<i class="icon ion-clipboard"></i>
|
|
|
|
|
<span translate>Copy to clipboard</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button class="button button-standard button-secondary" ng-show="isCordova" ng-click="sendLogs()">
|
|
|
|
|
<i class="icon ion-ios-email-outline"></i>
|
|
|
|
|
<span translate>Send by email</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="list">
|
2017-01-26 17:42:39 -03:00
|
|
|
<div class="item item-text-wrap enable_text_select">
|
2016-09-05 14:59:11 -03:00
|
|
|
<ul>
|
|
|
|
|
<li ng-repeat="l in logs">
|
|
|
|
|
<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>
|
2016-08-15 17:42:04 -03:00
|
|
|
</ion-content>
|
|
|
|
|
</ion-view>
|