mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Reorganised routes so that routes/wiki.clj is less overcrowded and messy.
This commit is contained in:
parent
09fe67a26e
commit
44263c3fa0
8 changed files with 178 additions and 95 deletions
|
|
@ -1 +1 @@
|
|||
{:admin {:admin true, :email "info@weft.scot", password "admin"}}
|
||||
{:admin {:admin true, :email "info@weft.scot", :password "admin"}}
|
||||
|
|
@ -1 +1 @@
|
|||
This is the page linked to from the left bar.
|
||||
This is the page linked to from the [[Introduction]] page.
|
||||
|
|
@ -2,11 +2,20 @@
|
|||
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<ul>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Edit</th><th>Delete</th>
|
||||
</tr>
|
||||
{% for user in users %}
|
||||
<li><a href="edit-user?target={{user}}">{{user}}</a></li>
|
||||
<tr>
|
||||
<td><a href="edit-user?target={{user}}">Edit {{user}}</a></td>
|
||||
<td><a href="delete-user?target={{user}}">Delete {{user}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<li><a href="edit-user">Add new user</a></li>
|
||||
</ul>
|
||||
<tr>
|
||||
<td><a href="edit-user">Add new user</a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue