12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <meta name="description" content="">
- <meta name="author" content="">
- <link rel="icon" href="favicon.ico">
-
- <title>LevyraatiBot</title>
-
- <base href="..">
- <!-- Bootstrap core CSS -->
- <link href="css/bootstrap.min.css" rel="stylesheet">
-
- <!-- Custom styles for this template -->
- <link href="css/jumbotron.css" rel="stylesheet">
- </head>
-
- <body>
-
- <!-- Main jumbotron for a primary marketing message or call to action -->
- <div class="jumbotron">
- <div class="container">
- {{if .RoundInfo}}
- <h1 class="display-3">{{ .RoundInfo.PanelName }} {{ .RoundInfo.Section }}</h1>
- {{if or (gt (len .Songs) 3) .SubmitterPublic }}
- <p>Tässä viikon kattaus, olkaa hyvä</p>
- {{else}}
- <p>Odotetaan vielä muutamaa laulua.</p>
- {{end}}
- {{else}}
- <h1 class="display-3">Please log in</h1>
- <p>Login now.</p>
- {{end}}
- </div>
- </div>
-
- <div class="container">
- {{if or (gt (len .Songs) 3) .SubmitterPublic }}
- {{ $submitterPublic := .SubmitterPublic }}
- {{range .Songs }}
- <div class="row">
- <span>{{ .Artist }} / {{ .Title }} / <a href="{{ .URL }}">Kuuntele</a>
- {{ if $submitterPublic }}({{ .Submitter }}){{ end }}
- </div>
- {{end}}
- {{else}}
- <p>Vasta {{ len .Songs }} laulu{{if ne (len .Songs) 1}}a{{end}} lisätty.</p>
- {{end}}
- <hr>
-
- <footer>
- <p>© Lamperi 2018-2019</p>
- </footer>
- </div> <!-- /container -->
-
-
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
- <script src="js/vendor/bootstrap.min.js"></script>
- </body>
- </html>
|