domotz-remote-pawn
Version:
Domotz Agent
29 lines (25 loc) • 1.34 kB
HTML
<ion-content scroll="true" class="dmt-snap-instructions-wrapper dmt-light-background" dmt-browser-native-scroll>
<div class="dmt-snap-instructions-container">
<div class="dmt-title" translate="SNAP_INSTRUCTIONS.AGENT_INSTALLATION"></div>
<p translate="SNAP_INSTRUCTIONS.AGENT_REQUIRES_ADDITIONAL_PERMISSIONS"></p>
<br>
<p translate="SNAP_INSTRUCTIONS.PLEASE_EXECUTE_FOLLOWING_COMMANDS"></p>
<div class="dmt-terminal-instructions">
<span ng-repeat="action in ctrl.snapActions">{{ action }}</span>
<button class="dmt-copy-clipboard" ngclipboard ngclipboard-success="ctrl.onClipboardCopySuccess(e);"
data-clipboard-text="{{ ctrl.snapActions.join(' && ') }}">
{{ 'COPY' | translate }}
</button>
</div>
<div class="dmt-check-snap-action">
<p>{{ 'SNAP_INSTRUCTIONS.ONCE_ALL_COMMANDS_EXECUTED' | translate }}
<br>
{{ 'SNAP_INSTRUCTIONS.AGENT_WILL_BE_RESTARTED' | translate }}
</p>
<button class="dmt-btn-proceed dmt-btn-big" ng-click="ctrl.restartAgent()">
{{ 'CONFIRM_AND_CONTINUE' | translate }}
</button>
</div>
<p translate="PLEASE_CONTACT_SUPPORT_FOR_ASSISTANCE"></p>
</div>
</ion-content>