-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Broadcaster</title>
- <style type="text/css">
- table.radio-status, td.outer {
- border: 1px solid;
- }
- table.inner {
- border-collapse: collapse;
- }
- td.clear {
- width: 5em;
- height: 5em;
- text-align: center;
- }
- .time-table {
- font-size: 90%;
- }
- .playlist-field {
- text-align: right;
- padding-right: 1em;
- width: 5em;
- }
- .playlist-table {
- font-size: 90%;
- width: 30em;
- }
- .stop {
- text-align: center;
- }
- .head {
- text-align: center;
- }
- </style>
<script type="text/javascript">
function connectWebsocket() {
console.log("Attempting to create websocket connection for radio status sync")
// initial connection on page load
connectWebsocket();
</script>
- </head>
- <body>
- <main>
+
<h1>Welcome!</h1>
{{if .LoggedIn}}
<p>Your username is: {{.Username}}.</p>
<div id="connected-radios">
<i>Loading...</i>
</div>
- </main>
- </body>
-</html>