##// END OF EJS Templates
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.

File last commit:

r16:fdfec9a2 default
r16:fdfec9a2 default
Show More
posting_general.html
27 lines | 587 B | 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" %}
{% block content %}
Ilyas
Added creating new thread form...
r14 {% if threads %}
{% for thread in threads %}
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <span class="title">{{ thread.title }}</span><br />
<span class="text">{{ thread.text }}</span><br />
<a class="link" href="/boards/id/{{ thread.id }}/">View thread</a>
<hr />
Ilyas
Added creating new thread form...
r14 {% endfor %}
{% else %}
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
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <div class="post-form">
<form action="/boards/" method="post">{% csrf_token %}
Ilyas
Added creating new thread form...
r14 {{ form.as_p }}
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <input type="submit" value="Post!" />
Ilyas
Added creating new thread form...
r14 </form>
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 </div>
Ilyas
Added creating new thread form...
r14
<HR />
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
{% endblock %}