2012-07-12 13:11:12 +00:00
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
|
|
|
{% block javascript %}
|
|
|
|
{% include "js/blog_page.js" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block css %}
|
|
|
|
{% include "css/blog_page.css" %}
|
|
|
|
{% endblock %}
|
2012-06-19 08:45:13 +00:00
|
|
|
|
2012-06-22 14:31:07 +00:00
|
|
|
{% block content %}
|
|
|
|
<div class="layout-wrapper layout-wrapper-background">
|
|
|
|
<div class="web-content" id="blog-{{ name }}">
|
2012-06-19 08:45:13 +00:00
|
|
|
|
2012-12-10 09:26:45 +00:00
|
|
|
<div class="layout-main">
|
2012-07-12 13:11:12 +00:00
|
|
|
|
2012-06-22 14:31:07 +00:00
|
|
|
<h2>{{ title }}</h2>
|
2012-07-12 13:11:12 +00:00
|
|
|
|
|
|
|
<!-- begin blog content -->
|
2012-06-22 14:31:07 +00:00
|
|
|
<div class="help">By {{ full_name }} on {{ updated }}</div>
|
|
|
|
<br>
|
|
|
|
{{ content_html }}
|
2012-07-12 19:44:52 +00:00
|
|
|
<!-- end blog content -->
|
|
|
|
|
2012-07-11 13:10:57 +00:00
|
|
|
<hr>
|
|
|
|
<h3>Comments</h3><br>
|
2012-07-09 14:32:52 +00:00
|
|
|
<div class="blog-comments">
|
2012-07-12 13:11:12 +00:00
|
|
|
|
|
|
|
{% if not comment_list %}
|
2012-12-17 07:22:43 +00:00
|
|
|
<div class="alert no-comment">
|
2012-07-11 13:10:57 +00:00
|
|
|
<p>Be the first one to comment</p>
|
2012-07-09 14:32:52 +00:00
|
|
|
</div>
|
2012-07-12 13:11:12 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% include 'html/comment.html' %}
|
2012-07-09 14:32:52 +00:00
|
|
|
</div>
|
2012-12-17 07:22:43 +00:00
|
|
|
<div><button class="btn add-comment">Add Comment</button></div>
|
|
|
|
<div style="display: none; margin-top: 10px;"
|
|
|
|
id="comment-form" class="well">
|
|
|
|
<div class="alert" style="display:none;"></div>
|
|
|
|
<form>
|
|
|
|
<p>
|
|
|
|
<input name="comment_by_fullname" placeholder="Your Name" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<input name="comment_by" placeholder="Your Email Id" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<textarea name="comment" placeholder="Comment" />
|
|
|
|
</textarea>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<button class="btn btn-info" id="submit-comment">Submit</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-06-22 14:31:07 +00:00
|
|
|
</div>
|
2012-06-15 08:30:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-06-22 14:31:07 +00:00
|
|
|
{% endblock %}
|