-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
68 lines (58 loc) · 2.52 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
<!doctype html>
<html lang="en">
<head>
<title>jsGBC Web</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#477c59" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="jsGBC Web" />
<meta name="apple-mobile-web-app-status-bar-style" content="#477c59">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="manifest" href="./manifest.json" />
<link rel="stylesheet" href="./styles/index.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous" />
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
<link rel="import" href="bower_components/jsgbc-ui/jsgbc-ui.html" />
</head>
<body>
<div class="background"></div>
<div class="main">
<div class="main-center">
<div class="main-wrapper">
<jsgbc-ui loading>
<h1 slot="loading">Loading...</h1>
<canvas class="pixelated" slot="lcd"></canvas>
</jsgbc-ui>
<div class="file-button-bar">
<file-button id="insert-cartridge">
<div class="text">Insert Cartridge</div>
<i class="far fa-caret-square-down fa-3x"></i>
<input type="file" accept=".gb,.gbc,.zip" />
</file-button>
<file-button id="download-save" class="disabled">
<div class="text">Download Save</div>
<i class="far fa-arrow-alt-circle-down fa-3x"></i>
</file-button>
<file-button id="upload-save" class="disabled">
<div class="text">Upload Save</div>
<i class="far fa-arrow-alt-circle-up fa-3x"></i>
<input type="file" accept=".sav" />
</file-button>
</div>
</div>
</div>
</div>
<a href="https://github.com/ardean/jsGBC-web" class="ribbon">Fork me on GitHub</a>
<script>
window.addEventListener("WebComponentsReady", function () {
window.WebComponentsReady = true;
});
</script>
<script src="jsgbc-web.js"></script>
</body>
</html>