-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (104 loc) · 3.84 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
102
103
104
<!DOCTYPE html>
<html>
<head>
<!--
SPDX-FileCopyrightText: Copyright (c) 2022 Neradoc, https://neradoc.me
SPDX-License-Identifier: MIT
-->
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; connect-src *">
<link rel="shortcut icon" type="image/jpg" href="assets/images/favicon.png"/>
<link rel="stylesheet" href="assets/main/common.css">
<link rel="stylesheet" href="assets/main/home.css">
<link rel="stylesheet" href="assets/main/home_column.css">
<script src="assets/extlib/jquery.min.js"></script>
<script src="assets/extlib/jszip.min.js"></script>
<script src="assets/main/home.js" defer="true" type="module"></script>
</head>
<body class="drop_zone">
<!--
<header>
<h1 id="top_title">Welcome</h1>
</header>
-->
<content>
<div id="home_page">
<h3></h3>
<div id="home_actions">
<div id="usb_open_panel" class="usb_workflow">
<input id="select_files_input" type="file" webkitdirectory directory/>
<!-- Drop disk drive here or:<br/> -->
<span>Local USB drive</span>
<button id="file_select_button">Open</button>
</div>
<div id="web_open_panel" class="web_workflow">
<!-- Connect to URL or IP:<br/> -->
<input class="web_input" type="text" placeholder="Web Workflow URL/IP"/>
<button class="web_go">GO</button>
</div>
<div id="ble_open_panel" class="ble_workflow">
<span>
NOT IMPLEMENTED.<br/>
Enable BLE, select/connect to a board.
</span>
</div>
</div>
<div id="prompt_refresh">
<span class="board_counter"><span class="count">0</span> board<ps>s</ps> found.</span></span>
<span class="loading_label"><img class="small_load_image" src="assets/images/loading_black.gif" /></span>
<button id="reload_boards">Reload</button>
</div>
<div id="all_boards_list">
<div id="template_board_all" class="template_board">
<div class="board_name_div">
<span class="board_name">Board name</span>
<!-- <img class="board_name_load small_load_image" src="assets/images/loading_black.gif" /> -->
</div>
<a class="board_link link_usb" display="none" href="BAD_URL" target="_blank">
<span class="icons">
<img src="assets/svg/usb-dongle.svg"/>
<img class="locked" src="assets/svg/lock.svg"/>
<img class="unavailable" src="assets/svg/question-mark.svg"/>
</span>
<span class="name">DRIVE NAME</span>
</a>
<a class="board_link link_web" display="none" href="?dev=http://circuitpython.local" target="_blank">
<span class="icons">
<img src="assets/svg/wifi-chip.svg"/>
<img class="locked" src="assets/svg/lock.svg"/>
<img class="unavailable" src="assets/svg/question-mark.svg"/>
</span>
<span class="name">LOAD WEB</span>
</a>
<img class="load_image" src="assets/images/loading_black.gif" />
<div class="board_info">
Some identifying information from boot_out.txt or the web ? or Other ?
</div>
</div>
</div>
<div id="usb_boards_loading" class="workflow_loading">
<img class="small_load_image" src="assets/images/loading_black.gif" />
Loading USB drives.
</div>
<div id="web_boards_loading" class="workflow_loading">
<img class="small_load_image" src="assets/images/loading_black.gif" />
Loading Wifi boards.
</div>
<div id="ble_boards_loading" class="workflow_loading">
<img class="small_load_image" src="assets/images/loading_black.gif" />
Loading BLE boads.
</div>
<div id="usb_boards_list_empty" class="workflow_empy">No USB drive detected.</div>
<div id="web_boards_list_empty" class="workflow_empy">No Wifi board detected.</div>
<div id="ble_boards_list_empty" class="workflow_empy">No BLE board detected.</div>
</div>
<div id="blanket"></div>
<div id="blanket_img">
<img src="assets/svg/download-bucket.svg" /><br/>
Drop drive to open
</div>
</content>
</body>
</html>