-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgamesubmitter.html
87 lines (78 loc) · 3.04 KB
/
gamesubmitter.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
<link rel="stylesheet" href="css/scroll.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<title>Submit a game</title>
<style>
* {
color: white;
font-family: Inter;
}
html,
body {
background: #1d1d1d;
}
input,
button,
textarea {
padding: 7.5px;
margin: 5px;
border-radius: 4px;
width: 250px;
background: #4d4d4d90 !important;
color: white;
transition: all 0.5s ease;
resize: vertical;
box-sizing: border-box;
border: #5d5d5d90 solid 1px !important;
outline: none;
}
input:hover,
button:hover,
textarea:hover {
background: #5d5d5d90 !important;
transition: all 0.5s ease;
border: #5d5d5d90 solid 1px !important;
}
input:focus,
button:focus,
textarea:focus {
background: #5d5d5d90 !important;
transition: all 0.5s ease;
border: #5d5d5d90 solid 1px !important;
}
input:active,
button:active,
textarea:active {
background: #3d3d3d !important;
transition: all 0.5s ease;
border: #5d5d5d solid 1px !important;
}
</style>
<div style="display: flex; text-align: center; align-items: center; justify-content: center; height: 100vh;">
<form action="https://postmail.invotes.com/send" method="post" id="email_form">
<h2>Submit your repository</h2>
<input type="text" name="extra_publisher email" placeholder="Email adress" /><br>
<input type="text" name="extra_publisher repository name" placeholder="Repository name" /><br>
<input type="text" name="extra_publisher repository url" placeholder="Repository JSON URL" /><br>
<textarea hidden name="text"
value="Coal-Launcher repository submission">Coal-Launcher repository submission</textarea>
<input type="hidden" name="subject" value="Coal-Launcher repository submission" />
<input type="hidden" name="access_token" value="srnt4hfiandivs3dyilimhi4" />
<input type="hidden" name="success_url" value=".?message=Email+Successfully+Sent%21&isError=0" />
<input type="hidden" name="error_url" value=".?message=Email+could+not+be+sent.&isError=1" />
<input id="submit_form" type="submit" value="Submit" /><br>
<p>Submitting a repository will take a few days to <br> moderate. Read the <a
href="https://github.com/Bobuxstation/Coal-Launcher/wiki" target="_blank"
style="color: lightblue;">documentation</a> for more information.</p>
<p>Powered by PostMail</p>
</form>
</div>
<script>
var submitButton = document.getElementById("submit_form");
var form = document.getElementById("email_form");
form.addEventListener("submit", function (e) {
setTimeout(function () {
submitButton.value = "Sending...";
submitButton.disabled = true;
}, 1);
});
</script>