Now have the tiles working properly. Also, user interface somewhat improved.
This commit is contained in:
parent
53c7d1ca87
commit
257d306d5d
21 changed files with 9891 additions and 18 deletions
|
|
@ -1,8 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
{{content|safe}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -19,14 +19,16 @@
|
|||
<meta content="{{seconds}}" http-equiv="{{maybe-refresh}}" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<div id="header" style=" background-image: url( '{{servlet-context}}/img/earth-space-strip.jpg');"
|
||||
>
|
||||
<div id="nav">
|
||||
<a class="navbar-brand" href="{{servlet-context}}/">MicroWorld</a>
|
||||
<ul class="nav">
|
||||
<li class="{{home-selected}}"><a href="{{servlet-context}}/">Home</a></li>
|
||||
<li class="{{about-selected}}"><a href="{{servlet-context}}/about">About</a></li>
|
||||
<li class="{{world-selected}}"><a href="{{servlet-context}}/world">World</a></li>
|
||||
<li class="{{docs-selected}}"><a href="{{servlet-context}}/docs">Documentation</a></li>
|
||||
</ul>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
14
resources/templates/docs.html
Normal file
14
resources/templates/docs.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<ul>
|
||||
{% for component in components %}
|
||||
<li>
|
||||
<a href="{{servlet-context}}/docs/{{component}}/uberdoc.html">
|
||||
{{component}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
<form action="world">
|
||||
<p class="widget">
|
||||
<label for="y">Size of your world: rows</label>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
{{content|safe}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue