Repository URL to install this package:
|
Version:
1.2.0-1346 ▾
|
<div class="dialog dialog-window" ng-if="leftBar.showHistoryPrompt" ng-init="leftBar.showSnapshotStatus = []; leftBar.selectedSnapshot = undefined;"><div class="prompt-window-options"><span class="prompt-window-infos" title="{{leftBar.rightClickedProject.path}}"><img src="img/loading.svg" width="13" ng-show="leftBar.restoringSnapshot[leftBar.rightClickedProject.path] && !leftBar.restoredSnapshot[leftBar.rightClickedProject.path]"/> {{leftBar.rightClickedProject.dirName}}/</span><button ng-click="leftBar.showHistoryPrompt = undefined;">Close</button><button ng-click="leftBar.deleteSnapshot()" ng-if="leftBar.selectedSnapshot && leftBar.projectHistory && leftBar.projectHistory.length > 0">Delete</button><button ng-if="leftBar.projectHistory && leftBar.projectHistory.length > 0 && leftBar.selectedSnapshot" ng-click="leftBar.restoreSnapshot()" ng-disabled="leftBar.restoringSnapshot[leftBar.rightClickedProject.path]"><span ng-show="!leftBar.restoringSnapshot[leftBar.rightClickedProject.path]">Restore</span><span ng-show="leftBar.restoringSnapshot[leftBar.rightClickedProject.path]">Restoring</span></button></div><div class="window"><div class="prompt-window-holder" ng-if="!leftBar.projectHistory || leftBar.projectHistory && leftBar.projectHistory.length <= 0">You have no snapshots for this project.</div><div class="prompt-history-item" ng-class="{'active': leftBar.selectedSnapshot === item}" ng-repeat="item in leftBar.projectHistory | orderBy : $index : -1" ng-click="leftBar.selectedSnapshot = item;"><div><a ng-click="leftBar.showSnapshotStatus[item.datetime] = true;" ng-show="!leftBar.showSnapshotStatus[item.datetime]"><i class="fa fa-caret-right color-black"></i></a><a ng-click="leftBar.showSnapshotStatus[item.datetime] = false;" ng-show="leftBar.showSnapshotStatus[item.datetime]"><i class="fa fa-caret-down color-black"></i></a><i class="fa fa-database color-primary"></i> {{item.datetime}}<div class="prompt-history-status" ng-if="leftBar.showSnapshotStatus[item.datetime]" ng-ace-editor="ng-ace-editor" ng-ace-editor-readonly="true" ng-ace-editor-mode="json" ng-ace-editor-theme="xcode" ng-model="aceFileModel" ng-ace-source="{{item.status}}"><div class="ng-ace-editor"></div></div></div></div></div></div>