-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
115 lines (101 loc) · 2.27 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
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<head>
<title>FujiHack Patcher</title>
<meta charset="UTF-8">
<link rel="icon" href="favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Hacks and tweaks for Fujifilm cameras">
<meta name="author" content="Daniel Cook">
<style>
body, html {
font-family: sans-serif;
}
body {
background-color: #333;
color: white;
}
a {
color: #b1cdc9;
}
.loading {
display: none;
}
.panel {
margin-top: 10px;
padding: 5px;
border: 2px solid black;
width: 50%;
display: block;
background: #4d4d4d;
}
button {
margin-top: 10px;
padding: 5px;
border: 2px solid black;
width: 50%;
display: block;
}
#info p {
padding: 0px;
margin: 5px;
}
#info p i {
font-size: small;
}
#info .header {
font-size: 25px;
}
@media (max-width: 1000px) {
.panel {
margin: 10 auto;
width: auto;
}
}
#log span {
display: block;
}
.greyed {
color: #8b8989;
}
div#bottom {
margin-top: 1em;
bottom: 1em;
left: auto;
right: auto;
}
button#theme {
width: 8em;
height: 2em;
}
img {
vertical-align: middle;
margin: 10px;
}
</style>
</head>
<body class="">
<div class="panel" id="infos">
<h1><img src="https://fujihack.org/fujihack.png" width="50">Fujifilm X/GFX/HS Firmware Patcher</h1>
<p>This patcher is written in Javascript, and is <a href="https://github.com/fujihack/patcher">open-source</a>.</p>
<ul>
<li><a href="https://fujihack.org/">Learn more about the FujiHack project</a></li>
<li><a href="https://discord.gg/UZXDktvAZP">Ask questions</a></li>
</ul>
<span>Select firmware DAT: </span><input id="input" onchange="load()" type="file" accept=".DAT,.dat">
</div>
<div class="panel" id="log"></div>
<div class="panel" id="info">Information on your model goes here.</div>
<div class="panel" id="tweaks">Tweak options will go here.</div>
</body>
<script>var cliMode = false;</script>
<script src="ui.js"></script>
<script>ui.log("Loading scripts...");</script>
<script src="cpp.js"></script>
<script src="data.js"></script>
<script src="util.js"></script>
<script>ui.log("Loading keystone...");</script>
<script src="keystone-arm.min.js"></script>
<script>ui.log("Everything loaded.");</script>
<script src="patcher.js"></script>
</html>