]> git.sesse.net Git - ccbs/blobdiff - html/templates/index.tmpl
Add support for the user selecting languages.
[ccbs] / html / templates / index.tmpl
index 068631db1df40888d4deb91af03c612fc5052f29..de03c0ecd70fb9a28c639908dd53a2c868ebc72d 100644 (file)
@@ -1,4 +1,44 @@
 [%# vim:set filetype=html: %]
 <div>
-  <p>Velkommen. Tomt foreløpig. :-)</p>
+  <p>Welcome to the web part of our score and tournament system.
+    Select whatever you are interested in information for from the menu
+    below.
+  </p>
+</div>
+
+<h2>Main menu</h2>
+
+<div>
+  <ul>
+    <li><a href="tournaments.pl">Tournaments</a></li>
+    <li><a href="players.pl">Players</a></li>
+    <li><a href="songs.pl">Songs</a></li>
+[% IF !public %]
+    <li><a href="add-tournament.pl">Add tournament</a></li>
+    <li><a href="randomsongs.pl">Song selector</a></li>
+    <li><a href="shorttitles.pl">Short titles</a></li>
+[% END %]
+  </ul>
+</div>
+
+[% IF !public %]
+<h2>Bigscreen</h2>
+
+<div>
+  <ul>
+    <li><a href="set-active-tournament.pl">Set active tournament</a></li>
+  </ul>
+</div>
+[% END %]
+
+<h2>Language support</h2>
+
+<div>
+  <p>You can select a different language if you'd like to. Note that this
+    feature requires cookie support in your web browser.</p>
+
+  <ul>
+    <li><a href="do-set-language.pl?lang=en_US">English</a></li>
+    <li><a href="do-set-language.pl?lang=nb_NO">Norwegian bokmål</a></li>
+  </ul>
 </div>