blob: e605a122480b55743198a96cd2ca2de3745ccf59 [file] [log] [blame]
Anand Doshi51146c02012-07-12 18:41:12 +05301{% extends "html/page.html" %}
2
3{% block javascript %}
4 {% include "js/blog_page.js" %}
5{% endblock %}
6
7{% block css %}
8 {% include "css/blog_page.css" %}
9{% endblock %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053010
11{% block content %}
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053012<div class="span12">
13 <h2>{{ title }}</h2>
Anand Doshi72c945b2012-06-22 20:01:07 +053014
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053015 <!-- begin blog content -->
Rushabh Mehta676a5682013-03-07 18:51:10 +053016 <div class="help" style="color: #aaa">
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053017 {{ blogger_info and blogger_info.full_name or full_name }} / {{ updated }}</div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053018 <br>
19 {{ content_html }}
20 <!-- end blog content -->
Rushabh Mehta676a5682013-03-07 18:51:10 +053021 {% if blogger_info %}
22 <hr />
Rushabh Mehta1dd33012013-03-08 11:00:18 +053023 {% include "html/blogger.html" %}
Rushabh Mehta676a5682013-03-07 18:51:10 +053024 {% endif %}
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053025 <hr>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053026 <h3>{{ texts.comments }}</h3><br>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053027 <div class="blog-comments">
28
29 {% if not comment_list %}
Rushabh Mehta676a5682013-03-07 18:51:10 +053030 <div class="no-comment">
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053031 <p>{{ texts.first_comment }}</p>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053032 </div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053033 {% endif %}
34
35 {% include 'html/comment.html' %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053036 </div>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053037 <div><button class="btn add-comment">{{ texts.add_comment }}</button></div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053038 <div style="display: none; margin-top: 10px;"
Rushabh Mehta676a5682013-03-07 18:51:10 +053039 id="comment-form">
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053040 <div class="alert" style="display:none;"></div>
41 <form>
Rushabh Mehta676a5682013-03-07 18:51:10 +053042 <fieldset>
43 <input name="comment_by_fullname" placeholder="Your Name" type="text"/><br>
44 <input name="comment_by" placeholder="Your Email Id" type="text"/><br>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053045 <textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/>
Rushabh Mehta676a5682013-03-07 18:51:10 +053046 </textarea><br>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053047 <button class="btn btn-info" id="submit-comment">{{ texts.submit }}</button>
Rushabh Mehta676a5682013-03-07 18:51:10 +053048 </fieldset>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053049 </form>
50 </div>
51</div>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053052{% include 'html/blog_footer.html' %}
Anand Doshi72c945b2012-06-22 20:01:07 +053053{% endblock %}