forked from svenpeter42/pfwtool
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
79 lines (68 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Pentax Firmware Decrypter</title>
<style type="text/css">
body, html {
width: 100%;
height: 100%;
overflow: hidden;
font-family: sans-serif;
}
#holder {
border: 10px dashed #ccc;
border-radius: 30px;
margin: 20px auto;
width: 80%;
height: 80%;
text-align: center;
padding: 0 10px;
}
#holder.hover {
border: 10px dashed #333;
}
#footer {
position: fixed;
top: 100%;
margin-top: -1.2em;
}
#footer a
{
color: #315dd4;
text-decoration: none;
}
#apistatus {
margin: auto 0;
text-align: center;
padding: 3px 0;
}
#apistatus.success {
background-color: #c0dac1;
}
#apistatus.fail {
background-color: #ffa69a;
}
#browser-warning {
background-color: #ffa69a;
border-radius: 10px;
padding: 20px;
}
</style>
</head>
<body>
<div id="holder">
<h1 id="browser-warning">IMPORTANT:<br>If this tool does NOT work, please try using Google Chrome.</h1>
<h2>Drag and drop the Pentax firmware file into this zone</h2>
</div>
<div id="apistatus">File API & FileReader API not supported. Please download a modern browser.</div>
<div id="footer">
View this on
<a href="http://github.com/MooseV2/pfwtool_html">GitHub</a>, read the
<a href="http://www.pentaxforums.com/forums/6-pentax-dslr-discussion/250555-resurrecting-pentax-firmware-hacking.html">forum topic</a>, or visit the
<a href="http://phdk.wikia.com/wiki/Pentax_Hacker_Development_Kit_Wiki">PHDK Wiki</a> for more info.
</div>
<script src="FileSaver.min.js"></script>
<script src="pfdecrypt.js"></script>
</body>
</html>