-
Notifications
You must be signed in to change notification settings - Fork 3
/
formatter.html
41 lines (33 loc) · 2.1 KB
/
formatter.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>MLPleaseHelp New Entry Formatter</title>
<link rel="icon" type="image/png" href="img/favico.png" />
<link rel="stylesheet" type="text/css" href="css/screen.css" />
<link rel="stylesheet" type="text/css" href="css/prism-okaidia.css" />
<link rel="stylesheet" type="text/css" href="css/localstyle.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/ml-formatter.js"></script>
</head>
<body>
<div id="titlebox">
<a href="index.html"><img src="img/banner.png" /></a><br />
<span class="right-align">To use: Input all the details of your new resource entry, and use the resulting output to add to the 'ml-assets.js' file.</span>
<span class="right-align">Once your entry is formatted, include it in <a href="https://github.com/jgreenemi/MLPleaseHelp/pulls">a Pull Request on Github</a>.</span>
</div>
<div class="formatter_input_container">
<div class="input_box_container">Resource Name: <input id="resource_name" type="text" width="100%" onkeyup="formatAndOutput()" autofocus="autofocus" /></div>
<div class="input_box_container">Resource Description: <input id="resource_description" type="text" width="100%" onkeyup="formatAndOutput()" /></div>
<div class="input_box_container">Resource Link: <input id="resource_link" type="text" width="100%" onkeyup="formatAndOutput()" /></div>
<div class="input_box_container">Resource Keywords: <input id="resource_keywords" type="text" width="100%" onkeyup="formatAndOutput()" /></div>
<br />
Formatted Output:<br />
<div class="input_box_container"><textarea id="formatted_output_box" cols="80" rows="8"></textarea></div>
</div>
<div id="footer">
View this project <a href="https://github.com/jgreenemi/MLPleaseHelp">on Github.</a>
</div>
</body>
</html>