Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 1 | {% 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 Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 10 | |
| 11 | {% block content %} |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 12 | <div class="layout-wrapper layout-wrapper-background"> |
| 13 | <div class="web-content" id="blog-{{ name }}"> |
| 14 | |
Rushabh Mehta | 1c8ab8a | 2012-12-10 14:56:45 +0530 | [diff] [blame] | 15 | <div class="layout-main"> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 16 | |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 17 | <h2>{{ title }}</h2> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 18 | |
| 19 | <!-- begin blog content --> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 20 | <div class="help">By {{ full_name }} on {{ updated }}</div> |
| 21 | <br> |
| 22 | {{ content_html }} |
Anand Doshi | 200c443 | 2012-07-13 01:14:52 +0530 | [diff] [blame] | 23 | <!-- end blog content --> |
| 24 | |
Anand Doshi | 8c7e76b | 2012-07-11 18:40:57 +0530 | [diff] [blame] | 25 | <hr> |
| 26 | <h3>Comments</h3><br> |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 27 | <div class="blog-comments"> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 28 | |
| 29 | {% if not comment_list %} |
Rushabh Mehta | fd6ad19 | 2012-12-17 12:52:43 +0530 | [diff] [blame] | 30 | <div class="alert no-comment"> |
Anand Doshi | 8c7e76b | 2012-07-11 18:40:57 +0530 | [diff] [blame] | 31 | <p>Be the first one to comment</p> |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 32 | </div> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 33 | {% endif %} |
| 34 | |
| 35 | {% include 'html/comment.html' %} |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 36 | </div> |
Rushabh Mehta | fd6ad19 | 2012-12-17 12:52:43 +0530 | [diff] [blame] | 37 | <div><button class="btn add-comment">Add Comment</button></div> |
| 38 | <div style="display: none; margin-top: 10px;" |
| 39 | id="comment-form" class="well"> |
| 40 | <div class="alert" style="display:none;"></div> |
| 41 | <form> |
| 42 | <p> |
| 43 | <input name="comment_by_fullname" placeholder="Your Name" /> |
| 44 | </p> |
| 45 | <p> |
| 46 | <input name="comment_by" placeholder="Your Email Id" /> |
| 47 | </p> |
| 48 | <p> |
Rushabh Mehta | 92455dc | 2013-01-31 11:24:22 +0530 | [diff] [blame] | 49 | <textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/> |
Rushabh Mehta | fd6ad19 | 2012-12-17 12:52:43 +0530 | [diff] [blame] | 50 | </textarea> |
| 51 | </p> |
| 52 | <p> |
| 53 | <button class="btn btn-info" id="submit-comment">Submit</button> |
| 54 | </form> |
| 55 | </div> |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 56 | </div> |
| 57 | </div> |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 58 | </div> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 59 | {% endblock %} |