-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (98 loc) · 4.73 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AVD Launcher</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval';" />
<link rel="stylesheet" href="./static/css/index.css" />
<link rel="stylesheet" href="./static/mdui/css/mdui.css" />
</head>
<body class="mdui-theme-primary-indigo mdui-theme-accent-pink mdui-appbar-with-toolbar">
<div class="mdui-appbar mdui-appbar-fixed">
<div class="mdui-toolbar mdui-color-theme">
<a href="javascript:;" class="mdui-btn mdui-btn-icon wcl-drawer-toggle">
<i class="mdui-icon material-icons">menu</i>
</a>
<a href="javascript:;" class="mdui-typo-title"></a>
<div class="mdui-toolbar-spacer"></div>
<a href="javascript:;" class="mdui-btn mdui-btn-icon wcl-paged avds-toolbar-refresh" wcl-state="list">
<i class="mdui-icon material-icons">refresh</i>
</a>
<a href="javascript:;" class="mdui-btn mdui-btn-icon wcl-paged avds-toolbar-discard" wcl-state="settings">
<i class="mdui-icon material-icons">clear</i>
</a>
<a href="javascript:;" class="mdui-btn mdui-btn-icon wcl-paged avds-toolbar-save" wcl-state="settings">
<i class="mdui-icon material-icons">check</i>
</a>
</div>
</div>
<div class="mdui-drawer wcl-drawer mdui-drawer-close" id="drawer">
<ul class="mdui-list">
<li class="mdui-subheader">Manage</li>
<li class="mdui-list-item mdui-ripple wcl-page-select mdui-list-item-active" wcl-page="list" wcl-page-title="Virtual Devices" wcl-page-selected>
<i class="mdui-list-item-icon mdui-icon material-icons">devices</i>
<div class="mdui-list-item-content">Virtual Devices</div>
</li>
<li class="mdui-subheader">System</li>
<li class="mdui-list-item mdui-ripple wcl-page-select" wcl-page-title="Settings" wcl-page="settings">
<i class="mdui-list-item-icon mdui-icon material-icons">settings</i>
<div class="mdui-list-item-content">Settings</div>
</li>
</ul>
</div>
<div class="wcl-page-containers" wcl-page="list">
<div class="wcl-void-container avds-vds-contents" wcl-state="loading">
<wcl-void icon="access_time" title="Loading Devices" loading="true"></wcl-void>
</div>
<div class="wcl-void-container avds-vds-contents" wcl-state="error">
<wcl-void icon="error" title="Error">
Please check settings and set up properly<br />
Alternatively, try running 'avdmanager list avd' by yourself<br />
to find out other issues
</wcl-void>
</div>
<div class="wcl-void-container avds-vds-contents" wcl-state="empty">
<wcl-void icon="remove_circle" title="No Devices">
You could create one with Android Studio<br />
Fast creation options are COMING SOON™
</wcl-void>
</div>
<div class="wcl-container-full avds-vds-contents" wcl-state="content">
<h3>Installed Devices</h3>
<ul class="mdui-list avds-avd-list">
</ul>
</div>
</div>
<div class="wcl-page-containers" wcl-page="settings">
<div class="mdui-container">
<h1>Settings</h1>
<h2 class="settings-subtitle">Android SDK Location</h2>
<wcl-settings-field-text key="sdk_root" label="Android SDK root"></wcl-settings-field-text>
<wcl-settings-field-text key="cli_ver" label="SDK command-line tools version"></wcl-settings-field-text>
<p class="settings-explain">You need to install android SDK command-line tools in order to use AVD Starter. You can do it by using SDK Manager in Android Studio.</p>
<h2 class="settings-subtitle">Functionalities</h2>
<p class="mdui-checkbox-o">
<wcl-settings-field-check key="func_reset_system" label="Enable reset system"></wcl-settings-field-check><br />
<wcl-settings-field-check key="func_wipe_data" label="Enable wipe data"></wcl-settings-field-check><br />
<wcl-settings-field-check key="func_force_stop" label="Enable force stop"></wcl-settings-field-check><br />
<wcl-settings-field-check key="func_writable_system" label="Boot with writable system image"></wcl-settings-field-check>
</p>
<p class="settings-explain">Writable system image allows for system modifications, such as installing ARM support and Rooting. Changes to system in one virtual device does not affect another.</p>
<h2 class="settings-subtitle">Advanced</h2>
<wcl-settings-field-text key="preexec" label="Pre-execute command"></wcl-settings-field-text>
<wcl-settings-field-text key="emulator_args" label="Extra emulator arguments"></wcl-settings-field-text>
<wcl-settings-field-text key="qemu_args" label="Extra qemu arguments"></wcl-settings-field-text>
<p class="settings-explain">Advanced users only. Add extra control arguments.</p>
</div>
</div>
</body>
<script>
window.mdui = require('./static/mdui/js/mdui.min.js');
window.$ = mdui.$;
require('./static/js/common/render.js');
</script>
<script wcl-category="test">
$(() => {
});
</script>
</html>