tpui/templates/index.html

39 lines
661 B
HTML
Raw Permalink Normal View History

2020-10-29 15:22:08 -05:00
Super Simple Minecraft RCON Teleporter
<form method="POST" action="/tp">
Teleport
<select name="src">
{% for p in players %}
<option>{{ p }}</option>
{% endfor %}
</select>
to
<select name="dest">
{% for p in players %}
<option>{{ p }}</option>
{% endfor %}
</select>
<input type="submit" value="Go!"</input>
</form>
<script type="text/javascript">
</script>
<style>
body {
background: #111;
color: #fff;
font-family: monospace;
font-size: 16px;
line-height: 1.6em;
}
select, input, button {
background: #222;
color: inherit;
font: inherit;
padding: 0.5em 0.8em;
border: solid 1px #888;
background:
}
</style>