50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
{% extends "/shared/_layout.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="content">
|
|
<h1><span class="font-semi-bold">Gambling Foo</span> <span class="smaller">A RESTful gaming service</span></h1>
|
|
<p class="lead">
|
|
Play a nice game of cards?<br>
|
|
<br>
|
|
<strong>Player {{player}} view</strong>
|
|
<table style="width:100%">
|
|
<tr>
|
|
{% for card in cards %}
|
|
<li>
|
|
<strong>>card {{loop.index}} is: {{card}} </strong><br>
|
|
</li>
|
|
{% endfor %}
|
|
|
|
<!--
|
|
<li>
|
|
<strong>Movie by IMDB code</strong><br>
|
|
<a href="/api/movie/tt0096754">GET /api/movie/{imdb_number}</a>
|
|
</li>
|
|
<li>
|
|
<strong>Top 10 Movies (by IMDB score)</strong><br>
|
|
<a href="/api/movie/top">GET /api/movie/top</a>
|
|
</li>
|
|
<li>
|
|
<strong>All genres</strong><br>
|
|
<a href="/api/movie/genre/all">GET /api/movie/genre/all</a>
|
|
</li>
|
|
<li>
|
|
<strong>Top movies for a given genres</strong><br>
|
|
<a href="/api/movie/genre/sci-fi">GET /api/movie/genre/{genre}</a>
|
|
</li>
|
|
-->
|
|
</table>
|
|
</p>
|
|
|
|
<p class="disclaimer">
|
|
Spam Bacon Sausage + Spam
|
|
Spam Spam Spam Spam Spam
|
|
Spam Baked Beans Spam
|
|
Spam Spam + Spam
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
{% endblock %} |