diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 02:11:41 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 02:11:41 +1000 |
| commit | 96495504631d6a4d466b93a835d7d66853e2e12b (patch) | |
| tree | 2c126d640879decbedcb6ac6d9ae20cad82ac4c1 /templates | |
| parent | 51675e7a9bf4d5055ed45b37bac964f788800399 (diff) | |
start on mod interface rewrite
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 6 | ||||
| -rw-r--r-- | templates/login.html | 27 | ||||
| -rw-r--r-- | templates/thread.html | 6 |
3 files changed, 6 insertions, 33 deletions
diff --git a/templates/index.html b/templates/index.html index f89199aa..f12e2517 100644 --- a/templates/index.html +++ b/templates/index.html @@ -35,10 +35,10 @@ {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
<header>
- <h1>{{ board.url }} - {{ board.name }}</h1>
+ <h1>{{ board.url }} - {{ board.title }}</h1>
<div class="subtitle">
- {% if board.title %}
- {{ board.title }}
+ {% if board.subtitle %}
+ {{ board.subtitle }}
{% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
</div>
diff --git a/templates/login.html b/templates/login.html deleted file mode 100644 index 709bad86..00000000 --- a/templates/login.html +++ /dev/null @@ -1,27 +0,0 @@ -{% if error %}<h2 style="text-align:center">{{ error }}</h2>{% endif %}
-<form action="" method="post">
-{% if redirect %}<input type="hidden" name="redirect" value="{{ redirect }}" />{% endif %}
-<table style="margin-top:25px;">
- <tr>
- <th>
- {% trans %}Username{% endtrans %}
- </th>
- <td>
- <input type="text" name="username" size="20" maxlength="30" value="{{ username }}">
- </td>
- </tr>
- <tr>
- <th>
- {% trans %}Password{% endtrans %}
- </th>
- <td>
- <input type="password" name="password" size="20" maxlength="30" value="">
- </td>
- </tr>
- <tr>
- <td></td>
- <td>
- <input type="submit" name="login" value="{% trans %}Continue{% endtrans %}" />
- </td>
-</table>
-</form>
diff --git a/templates/thread.html b/templates/thread.html index 2708b04d..9a56a50f 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -36,10 +36,10 @@ {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
<header>
- <h1>{{ board.url }} - {{ board.name }}</h1>
+ <h1>{{ board.url }} - {{ board.title }}</h1>
<div class="subtitle">
- {% if board.title %}
- {{ board.title }}
+ {% if board.subtitle %}
+ {{ board.subtitle }}
{% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
</div>
|
