forked from server/soundboard
71 lines
3.7 KiB
HTML
71 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
<title>WIAI Soundboard</title>
|
||
<link rel="stylesheet" href="/static/main.css" />
|
||
|
||
<!-- favicon clipart source: https://openclipart.org/detail/190592/button -->
|
||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/static/favicon/apple-touch-icon-57x57.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/favicon/apple-touch-icon-114x114.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/favicon/apple-touch-icon-72x72.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/favicon/apple-touch-icon-144x144.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/static/favicon/apple-touch-icon-60x60.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/static/favicon/apple-touch-icon-120x120.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/static/favicon/apple-touch-icon-76x76.png" />
|
||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/static/favicon/apple-touch-icon-152x152.png" />
|
||
<link rel="icon" type="image/png" href="/static/favicon/favicon-196x196.png" sizes="196x196" />
|
||
<link rel="icon" type="image/png" href="/static/favicon/favicon-96x96.png" sizes="96x96" />
|
||
<link rel="icon" type="image/png" href="/static/favicon/favicon-32x32.png" sizes="32x32" />
|
||
<link rel="icon" type="image/png" href="/static/favicon/favicon-16x16.png" sizes="16x16" />
|
||
<link rel="icon" type="image/png" href="/static/favicon/favicon-128.png" sizes="128x128" />
|
||
<meta name="application-name" content="WIAI Soundboard"/>
|
||
<meta name="msapplication-TileColor" content="#FFFFFF" />
|
||
<meta name="msapplication-TileImage" content="/static/favicon/mstile-144x144.png" />
|
||
<meta name="msapplication-square70x70logo" content="/static/favicon/mstile-70x70.png" />
|
||
<meta name="msapplication-square150x150logo" content="/static/favicon/mstile-150x150.png" />
|
||
<meta name="msapplication-wide310x150logo" content="/static/favicon/mstile-310x150.png" />
|
||
<meta name="msapplication-square310x310logo" content="/static/favicon/mstile-310x310.png" />
|
||
</head>
|
||
<body>
|
||
<nav>
|
||
<a href="#sounds" id="sounds-nav">Sounds</a>
|
||
<a href="#youtube">YouTube</a>
|
||
<a href="#voice">Voice</a>
|
||
</nav>
|
||
<content>
|
||
<section id="sounds" style="display:none;">
|
||
<div><input type="text" id="search" autofocus/><span id="reset">⨯</span></div>
|
||
{% for sound in sounds %}
|
||
<div class="sound"><a tabindex="0" class="unselectable" onclick="ajaxRequest('{{ '/play/' + sound | urlencode }}');">{{ sound.split('.', 1)[0] }}</a></div>
|
||
{% endfor %}
|
||
</section>
|
||
<section id="youtube" style="display:none;">
|
||
<form action="/" method="GET">
|
||
<label for="video">YouTube URL</label>
|
||
<input type="text" name="video" />
|
||
<input type="submit" value="Play" />
|
||
</form>
|
||
<form action="/" method="GET">
|
||
<input type="hidden" name="killvideo" value="yes" />
|
||
<input type="submit" name="submit" value="Terminate videos" />
|
||
</form>
|
||
</section>
|
||
<section id="voice" style="display:none;">
|
||
<form action="/say/" method="POST">
|
||
<input type="text" name="text" />
|
||
<input type="text" name="voice" placeholder="DE" />
|
||
<label for="speed">Speed</label>
|
||
<input type="range" name="speed" min="80" max="450" step="10" value="160" id="speed" />
|
||
<label for="pitch">Pitch</label>
|
||
<input type="range" name="pitch" min="0" max="99" step="1" value="50" id="pitch" />
|
||
<input type="submit" value="Voice" />
|
||
</form>
|
||
</section>
|
||
</content>
|
||
<script src="/static/main.js"></script>
|
||
</body>
|
||
</html>
|
||
|