Browse Source

Styling fixes

pull/2/head
Noah Petherbridge 5 years ago
parent
commit
30b081cb86
3 changed files with 11 additions and 10 deletions
  1. +1
    -2
      rophako/modules/blog/templates/blog/entry.inc.html
  2. +7
    -5
      rophako/modules/comment/templates/comment/form.inc.html
  3. +3
    -3
      rophako/modules/comment/templates/comment/index.inc.html

+ 1
- 2
rophako/modules/blog/templates/blog/entry.inc.html View File

@@ -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">


+ 7
- 5
rophako/modules/comment/templates/comment/form.inc.html View File

@@ -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>


+ 3
- 3
rophako/modules/comment/templates/comment/index.inc.html View File

@@ -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" %}

Loading…
Cancel
Save