mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Mostly added documentation, but some minor changes.
This commit is contained in:
parent
f54a2d46f3
commit
54dcdd5b4c
24 changed files with 395 additions and 223 deletions
|
|
@ -2,7 +2,6 @@
|
|||
{% block content %}
|
||||
<div id="content" class="auth">
|
||||
<form action="{{servlet-context}}/auth" method="POST">
|
||||
{% csrf-field %}
|
||||
<input type="hidden" name="redirect-to" value="{{redirect-to}}"/>
|
||||
{% if user %}
|
||||
<p class="widget">
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
{% block content %}
|
||||
<div id="content" class="edit">
|
||||
<form action="{{servlet-context}}/edit-user" method="POST">
|
||||
<p class="widget">
|
||||
<label for="target">{{config.username-prompt}}</label>
|
||||
<input type="text" name="target" id="target" value="{{target}}" required/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="target">{{config.username-prompt}}</label>
|
||||
<input type="text" name="target" id="target" value="{{target}}" required {% ifunequal target "" %}disabled{% endifunequal %}/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="pass1">{{config.new-pass-prompt}}</label>
|
||||
<input name="pass1" id="pass1" type="password"/>
|
||||
|
|
|
|||
|
|
@ -4,10 +4,11 @@
|
|||
<div id="content">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{{config.edit-col-hdr}}</th><th>{{config.del-col-hdr}}</th>
|
||||
<th/><th>{{config.edit-col-hdr}}</th><th>{{config.del-col-hdr}}</th>
|
||||
</tr>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>{{user}}</td>
|
||||
<td><a href="edit-user?target={{user}}">{{config.edit-col-hdr}} {{user}}</a></td>
|
||||
<td><a href="delete-user?target={{user}}">{{config.del-col-hdr}} {{user}}</a></td>
|
||||
</tr>
|
||||
|
|
@ -15,6 +16,7 @@
|
|||
<tr>
|
||||
<td><a href="edit-user">{{config.add-user-label}}</a></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue