-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin-submit-page.html
58 lines (57 loc) · 2.74 KB
/
plugin-submit-page.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
<!DOCTYPE html>
<html>
<head>
<title>
Submit Plugin
</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" type="text/css"/>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDMtD_eM0cebwnJWLXynMLige850l28lCg",
authDomain: "plugin-combot.firebaseapp.com",
databaseURL: "https://plugin-combot.firebaseio.com",
projectId: "plugin-combot",
storageBucket: "plugin-combot.appspot.com",
messagingSenderId: "1011557150803"
};
firebase.initializeApp(config);
</script>
<link rel="stylesheet" href="css/main.css" type="text/css"/>
<script src="js/plugin-submit.js"></script>
</head>
<body>
<div class="hero tall">
<a href="./index.html"><h1>ComBot</h1></a>
</div>
<div class="content">
<div class="container-fluid">
<div class="row">
<!-- Actual body / content -->
<div class="col-12">
<a href="./index.html">Back</a>
<div id="login-out" style="margin-bottom:10px;">
</div>
<form id="plform" class="plform">
Plugin Name: <input id="plname" type="text" placeholder="Plugin name"/>
Plugin Description: <input id="pldesc" type="text" placeholder="Plugin Desc (Brief)"/>
Plugin Info: <textarea id="plinfo" form="plform" placeholder="Any other information you want to provide about your plugin. Permissions, how to use, etc"></textarea>
Plugin Tags:<br/>
<input class="cb" type="checkbox" name="tags" value="admin"/> Admin<br/>
<input class="cb" type="checkbox" name="tags" value="fun"/> Fun<br/>
<input class="cb" type="checkbox" name="tags" value="util"/> Util<br/>
<input class="cb" type="checkbox" name="tags" value="misc"/> Misc<br/>
Plugin File: <input id="jarfile" type="file" accept=".jar"/>
Submit: <button type="button" onclick="uploadForm()">Submit</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>