2016-08-17 13:07:48 -03:00
|
|
|
<ion-view>
|
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>
|
2016-09-22 11:55:23 -03:00
|
|
|
<ion-content>
|
2016-10-11 14:37:30 -04:00
|
|
|
<button class="button button-standard button-primary" style="margin-top: 1rem" copy-to-clipboard="prepare()">
|
2016-09-22 11:55:23 -03:00
|
|
|
<i class="icon ion-clipboard"></i>
|
|
|
|
|
<span translate>Copy to clipboard</span>
|
|
|
|
|
</button>
|
2016-10-11 14:37:30 -04:00
|
|
|
<button class="button button-standard button-secondary" ng-show="isCordova" ng-click="sendLogs()">
|
2016-09-22 11:55:23 -03:00
|
|
|
<i class="icon ion-ios-email-outline"></i>
|
|
|
|
|
<span translate>Send by email</span>
|
|
|
|
|
</button>
|
2016-09-05 14:59:11 -03:00
|
|
|
<div class="card">
|
|
|
|
|
<div class="item item-text-wrap">
|
|
|
|
|
<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>
|