Styling fixes

pull/2/head
Noah 2014-12-02 23:47:44 +00:00
父節點 0c5f238637
當前提交 30b081cb86
共有 3 個文件被更改,包括 11 次插入10 次删除

查看文件

@ -20,9 +20,8 @@
{% else %}
<img src="/static/avatars/default.png" alt="{{ post['profile']['name'] }}" width="96" height="96">
{% endif %}
<br>
{{ post["profile"]["username"] }}
<div>{{ post["profile"]["username"] }}</div>
</div>
<div class="blog-timestamp">

查看文件

@ -23,7 +23,7 @@
Your Email:
</td>
<td align="left" valign="middle">
<input type="text" class="form-control" size="40" name="contact" value="{{ contact }}" placeholder="(optional)">
<input type="text" class="form-control" size="40" name="contact" value="{{ contact }}" placeholder="(optional; used for Gravatar icons and subscribing)">
</td>
</tr>
<tr>
@ -31,10 +31,12 @@
Message:
</td>
<td align="left" valign="top">
<textarea class="form-control" cols="40" rows="8" name="message" style="width: 100%">{{ message }}</textarea><br>
<small>Comments can be formatted with <a href="/markdown" target="_blank">Markdown</a>,
and you can use<br><a href="{{ url_for('emoticons.index') }}" target="_blank">emoticons</a>
in your comment.</small>
<textarea class="form-control" cols="40" rows="8" name="message" style="width: 100%">{{ message }}</textarea>
<div>
<small>Comments can be formatted with <a href="/markdown" target="_blank">Markdown</a>,
and you can use<br><a href="{{ url_for('emoticons.index') }}" target="_blank">emoticons</a>
in your comment.</small>
</div>
</td>
</tr>
<tr>

查看文件

@ -16,8 +16,8 @@ There {% if comments|length == 1 %}is{% else %}are{% endif %}
<img src="{{ photo_url }}/{{ comment['image'] }}" alt="Avatar" width="96" height="96">
{% else %}
<img src="/static/avatars/default.png" alt="guest" width="96" height="96">
{% endif %}<br>
<strong>{% if comment['username'] %}{{ comment['username'] }}{% else %}guest{% endif %}</strong>
{% endif %}
<div><strong>{% if comment['username'] %}{{ comment['username'] }}{% else %}guest{% endif %}</strong></div>
</div>
<strong>Posted on {{ comment["pretty_time"] }} by {{ comment["name"] }}.</strong><p>
@ -38,4 +38,4 @@ There {% if comments|length == 1 %}is{% else %}are{% endif %}
<h2>Add a Comment</h2>
{% include "comment/form.inc.html" %}
{% include "comment/form.inc.html" %}