-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
94 lines (89 loc) · 3.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<title>gbz80 to items • Online gbz80 to items converter</title>
<meta name="description" content="An easy online convertor for Pokemon Red/Blue/Yellow arbitrary code execution !"/>
<link rel="stylesheet" href="gbz80toitems.css"/>
</head>
<body>
<header class="nav navbar-inverse navbar-fixed-top" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-content" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand">GBz80 to Items</a>
</div>
<div class="collapse navbar-collapse" id="navbar-content">
<p class="navbar-text">Version 3.0.4</p>
<p class="navbar-text navbar-right">©2017 ISSOtm</p>
</div>
</div>
</header>
<div class="container-fluid" role="main">
<section role="document" aria-label="How-to">
<h1>Welcome to <strong>GBz80 to Items</strong> !</h1>
<div id="howto">
How-to :
<ol>
<li><b>Optional :</b> Enter the location where the code is intended to be</li>
<li>Enter your code in the white box below</li>
<li>Hit the sweet compile button</li>
<li>Enjoy !</li>
</ol>
</div>
</section>
<hr>
<section id="app" role="application" aria-label="GBz80 to Items" aria-describedby="howto">
<h2 id="optLabel">Options</h2>
<form class="form-inline" action="#" method="post" role="toolbar" aria-labelledby="optLabel" aria-controls="code">
<div class="form-group">
<button type="submit" id="compile" class="btn btn-success form-control" tabindex="2">Compile</button>
</div>
<div class="form-group">
<label for="baseOffset">Base offset</label>
<div class="input-group">
<span class="input-group-addon" id="offsetPrefix">$</span>
<input type="text" id="baseOffset" class="form-control" value="D322" tabindex="0"/>
</div>
</div>
</form>
<hr>
<div class="row">
<div class="col-sm-7">
<div id="errorPanel" class="hidden" aria-hidden="true" role="alert">
<h2 id="errorTitle">Error !</h2>
<div class="alert alert-danger"><button type="button" id="dismissError" class="close" aria-label="Dismiss">×</button><span id="errorText"></span></div>
</div>
<h2>Input your code here</h2>
<div class="panel panel-default">
<div class="panel-body">
<span class="hidden" id="lineNumbers"></span>
<p id="code" tabindex="1" role="textbox" aria-multiline="true" aria-required="true"></p>
</div>
</div>
</div>
<div class="col-sm-5">
<h2>Corresponding items</h2>
<div class="well">
<div class="row" id="output">
<div class="col-sm-7">Please type in something on the left.</div>
</div>
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="compiler.js"></script>
</body>
</html>