Commit 658f9947 authored by Hubert Denkmair's avatar Hubert Denkmair

Merge branch 'master' of git.bingo-ev.de:GPN18Programmierspiel/website

parents 35ea7223 6645a9a3
......@@ -63,7 +63,8 @@ div.content {
padding:10px;
}
div.content > h2 {
div.content > h2,
div.content > div.panel {
margin-left: 200px;
}
......
......@@ -2,11 +2,17 @@
{% load static %}
{% block content %}
<h1>Profile</h1>
<div class="panel">
<h2>Profile</h2>
<h3>Password</h3>
<form method="GET" action="{% url "change_password" %}"><button type="submit">Change User Password</button></form>
<form method="GET" action="{% url "change_password" %}">
<button type="submit" class="ui small positive button">Change User Password</button>
</form>
<h3>API Keys</h3>
<form method="GET" action="{% url "api_keys_list" %}"><button type="submit">Manage API Keys</button></form>
<form method="GET" action="{% url "api_keys_list" %}">
<button type="submit" class="ui small positive button">Manage API Keys</button>
</form>
<h3>Viewer Key</h3>
Websocket Viewer Key: {{ profile.viewer_key }}
</div>
{% endblock %}
......@@ -5,7 +5,7 @@
--- when it touches another snake with its head.
---
--- <h2>Lua global namespace</h2>
--- <p>Every snake is allowed to store 100MB within the global namespace and the
--- <p>Every snake is allowed to store 10MB within the global namespace and the
--- data persists until the bot dies. So the bot can save data from frame
--- to frame.</p>
--- <p>The following Lua standard functions are allowed:</p>
......@@ -57,7 +57,6 @@
--- <table><tr><td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.insert">insert</a></td>
--- <td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.remove">remove</a></td>
--- <td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.sort">sort</a></td></tr></table>
--- <h2>Globals</h2>
--- <p>Every snake can describe itself with the following attributes of the global variable <code>self</code>:</p>
--- <table>
--- <thead>
......
......@@ -32,7 +32,7 @@
when it touches another snake with its head.
<h2>Lua global namespace</h2>
<p>Every snake is allowed to store 100MB within the global namespace and the
<p>Every snake is allowed to store 10MB within the global namespace and the
data persists until the bot dies. So the bot can save data from frame
to frame.</p>
<p>The following Lua standard functions are allowed:</p>
......@@ -84,7 +84,6 @@
<table><tr><td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.insert">insert</a></td>
<td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.remove">remove</a></td>
<td><a href="https://www.lua.org/manual/5.3/manual.html#pdf-table.sort">sort</a></td></tr></table>
<h2>Globals</h2>
<p>Every snake can describe itself with the following attributes of the global variable <code>self</code>:</p>
<table>
<thead>
......
......@@ -160,3 +160,14 @@ div.modal>div>footer {
{
width:400px; text-align: left;
}
/* safari hack against grid layout bugs */
/* https://stackoverflow.com/questions/16348489 */
@media not all and (min-resolution:.001dpcm) {
@supports (-webkit-appearance:none) and (stroke-color:transparent) {
#ide {
height: 87vh;
width: 98vw;
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment