##// END OF EJS Templates
removed unnecessary pyc files....
removed unnecessary pyc files. Added dependency_list.txt with dependency list.

File last commit:

r39:e544cbe2 default
r43:0540aaa6 default
Show More
posting_general.html
83 lines | 3.0 KiB | text/html | HtmlLexer
/ templates / posting_general.html
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9 {% extends "base.html" %}
neko259
Added localization (not fully working). Added tags posting. Changed the design a bit.
r24 {% load i18n %}
neko259
Changed themes.
r36 {% load markup %}
neko259
Added localization (not fully working). Added tags posting. Changed the design a bit.
r24
neko259
Fixed medadata design when an image is present. Added a method to determine if the tag is empty (has no attached threads).
r33 {% block head %}
<title>Neboard</title>
{% endblock %}
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9 {% block content %}
Ilyas
Added creating new thread form...
r14 {% if threads %}
{% for thread in threads %}
neko259
Added maximum threads count parameter to the settings. Delete the old posts to preserve the max count. Small design tweaks.
r28 <div class="post">
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 {% if thread.image %}
neko259
Added new markdown field. Added gets algorithm with regexes.
r39 <div class="image">
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 <a href="{{ thread.image.url }}"><img
src="{{ thread.image.url_200x150 }}" />
</a>
</div>
{% endif %}
neko259
Added new markdown field. Added gets algorithm with regexes.
r39 <div class="message">
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 <span class="title">{{ thread.title }}</span>
neko259
Added post publication date to the templates.
r26 <span class="post_id">(#{{ thread.id }})</span>
[{{ thread.pub_time }}]
neko259
Changed metadata design. Make space split tags.
r31 [<a class="link" href="{% url 'thread' thread.id %}"
neko259
Changed themes.
r36 >{% trans "View" %}</a>]
neko259
Added new markdown field. Added gets algorithm with regexes.
r39 {% autoescape off %}
{{ thread.text.rendered|truncatechars:300 }}
{% endautoescape %}
neko259
Fixed medadata design when an image is present. Added a method to determine if the tag is empty (has no attached threads).
r32 </div>
neko259
Added thread metadata (replies, images, gets) to the threads list.
r30 <div class="metadata">
neko259
Changed metadata design. Make space split tags.
r31 {{ thread.get_reply_count }} {% trans 'replies' %},
neko259
Added thread metadata (replies, images, gets) to the threads list.
r30 {{ thread.get_images_count }} {% trans 'images' %},
neko259
Changed metadata design. Make space split tags.
r31 {{ thread.get_gets_count }} {% trans 'gets' %}.
neko259
Added thread metadata (replies, images, gets) to the threads list.
r30 {% if thread.tags.all %}
<span class="tags">{% trans 'Tags' %}:
{% for tag in thread.tags.all %}
neko259
Changed metadata design. Make space split tags.
r31 <a class="tag" href="
{% url 'tag' tag_name=tag.name %}">
neko259
Added thread metadata (replies, images, gets) to the threads list.
r30 {{ tag.name }}</a>
{% endfor %}
</span>
{% endif %}
</div>
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 </div>
{% endfor %}
Ilyas
Added creating new thread form...
r14 {% else %}
neko259
Added localization (not fully working). Added tags posting. Changed the design a bit.
r24 No threads found.
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <hr />
Ilyas
Added creating new thread form...
r14 {% endif %}
neko259
Changed themes.
r36 <form enctype="multipart/form-data" method="post">{% csrf_token %}
<div class="post-form-w">
<div class="form-title">{% trans "Create new thread" %}</div>
<div class="post-form">
<div class="form-row">
<div class="form-label">{% trans 'Title' %}</div>
<div class="form-input">{{ form.title }}</div>
</div>
<div class="form-row">
<div class="form-label">{% trans 'Text' %}</div>
<div class="form-input">{{ form.text }}</div>
</div>
<div class="form-row">
<div class="form-label">{% trans 'Image' %}</div>
<div class="form-input">{{ form.image }}</div>
</div>
<div class="form-row">
<div class="form-label">{% trans 'Tags' %}</div>
<div class="form-input">{{ form.tags }}</div>
</div>
</div>
<div class="form-submit"><input type="submit"
value="{% trans "Post" %}"/></div>
<div>Tags must be delimited by spaces. Text or image is required
neko259
Added maximum threads count parameter to the settings. Delete the old posts to preserve the max count. Small design tweaks.
r28 </div>
neko259
Changed themes.
r36 <div>Use <a
href="http://daringfireball.net/projects/markdown/basics">
markdown</a> syntax for posting.</div>
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 </div>
neko259
Changed themes.
r36 </form>
Ilyas
Added creating new thread form...
r14
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 {% endblock %}