Repository navigation
Expand file tree
/
Copy pathprojects.html
More file actions
47 lines (47 loc) · 1.92 KB
/
Copy pathprojects.html
File metadata and controls
47 lines (47 loc) · 1.92 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#55448c">
<link rel="icon" href="./icons/icon-192.png">
<link rel="stylesheet" href="./src/styles/projects.css">
<title>My Projects · PyBlocks</title>
</head>
<body>
<header class="topbar wrap">
<a class="brand" href="./"><img src="./icons/logo.png" width="32" height="32" alt="">PyBlocks</a>
<nav>
<button id="language" type="button" aria-label="Switch language">中</button>
</nav>
</header>
<main class="wrap">
<div class="heading">
<div>
<h1 data-label="title">My Projects</h1>
<p data-label="subtitle">Create, organize and open projects saved in this browser.</p>
</div>
<div class="actions">
<button id="import" type="button" data-label="import">Import project</button>
<input id="file" type="file" accept=".json,application/json" hidden>
<button id="new" type="button" class="primary" data-label="new">+ New project</button>
</div>
</div>
<div class="toolbar">
<input type="search" id="search" placeholder="Search projects" aria-label="Search projects">
<span id="count"></span>
</div>
<p id="status" role="status" aria-live="polite"></p>
<div id="projects" class="project-grid" aria-busy="true"></div>
<section id="empty" class="empty" hidden>
<h2 data-label="emptyTitle">No projects yet</h2>
<p data-label="emptyDescription">Create a project, or import a PyBlocks JSON file.</p>
</section>
<aside class="note">
<strong data-label="localTitle">Stored on this device</strong>
<p data-label="localDescription">Projects stay in this browser and are saved automatically. Export backups before clearing site data.</p>
</aside>
</main>
<script type="module" src="./src/projects/app.js"></script>
</body>
</html>