-
Notifications
You must be signed in to change notification settings - Fork 0
/
window.html
75 lines (68 loc) · 2.82 KB
/
window.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html ng-app="recovery" data-ng-csp>
<head>
<title>{{"APP_NAME" | translate}}</title>
<script src="lib/angular.min.js"></script>
<script src="lib/angular-sanitize.min.js"></script>
<script src="app_compiled-bundle.js"></script>
<link rel="stylesheet" href="recovery_css-compiled.css" />
</head>
<body ng-controller="recovery.controllers.AppController">
<header>
<header-text>
<p class="overflows-with-ellipses">
<span>
{{"APP_NAME" | translate}}
</span>
<span ng-show="app.step" class="steps">
› {{"STEP" | translate}} {{app.step}} {{"OF" | translate}} 3
</span>
</p>
<p class="overflows-with-ellipses">
<span ng-class="{hidden: !app.writeParams.device || !app.writeParams.device.name}" class="device-model">
{{app.writeParams.device.name}}
</span>
<span ng-class="{hidden: !app.writeParams.device || !app.writeParams.recoveryChannel || app.writeParams.device.local}">
({{app.writeParams.recoveryChannel | translate}})
</span>
</p>
</header-text>
<buttonbar>
<div ng-show="app.showDestroyPartitions && app.showMenu">
<jfk-menu-button override-jfk-tabindex="100">
<span id="gear-button" class="button"></span>
<jfk-menu>
<jfk-menu-item jfk-close-on-action jfk-on-action="app.eraseSelectTarget()" ng-disabled="!app.allowErase">
{{"MENU_ITEM_ERASE_RECOVERY_MEDIA" | translate}}
</jfk-menu-item>
<jfk-menu-item jfk-close-on-action jfk-on-action="app.chooseFile()" ng-disabled="!app.allowLocalFile" ng-class="{hidden: !app.localFileOptionVisible}">
{{"MENU_ITEM_USE_LOCAL_IMAGE" | translate}}
</jfk-menu-item>
<jfk-menu-item jfk-close-on-action jfk-on-action="app.sendFeedback()">
{{"MENU_ITEM_SEND_FEEDBACK" | translate}}
</jfk-menu-item>
</jfk-menu>
</div>
</jfk-menu-button>
</div>
<div ng-show="!app.showDestroyPartitions && app.showMenu">
<jfk-menu-button override-jfk-tabindex="100">
<span id="gear-button" class="button"></span>
<jfk-menu>
<jfk-menu-item jfk-close-on-action jfk-on-action="app.chooseFile()" ng-disabled="!app.allowLocalFile">
{{"MENU_ITEM_USE_LOCAL_IMAGE" | translate}}
</jfk-menu-item>
<jfk-menu-item jfk-close-on-action jfk-on-action="app.sendFeedback()">
{{"MENU_ITEM_SEND_FEEDBACK" | translate}}
</jfk-menu-item>
</jfk-menu>
</jfk-menu-button>
</div>
<div ng-show="app.showCloseWindow">
<button id="close-button" class="button" ng-click="app.close()" aria-label="close" tabindex="101"></button>
</div>
</buttonbar>
</header>
<div id="view" ng-include data-src="app.currentView"></div>
</body>
</html>