brotherton-erpnext/website/templates/html/blog_page.html

56 lines
1.7 KiB
HTML
Raw Normal View History

{% extends "app/website/templates/html/page.html" %}
2012-07-12 13:11:12 +00:00
{% block javascript %}
{% include "app/website/templates/js/blog_page.js" %}
2012-07-12 13:11:12 +00:00
{% endblock %}
{% block css %}
{% include "app/website/templates/css/blog_page.css" %}
2012-07-12 13:11:12 +00:00
{% endblock %}
2012-06-19 08:45:13 +00:00
{% block content %}
2013-04-18 12:13:21 +00:00
<div class="col-span-12" itemscope itemtype="http://schema.org/BlogPost">
2013-03-11 12:27:57 +00:00
<h2 itemprop="name headline">{{ title }}</h2>
2012-06-19 08:45:13 +00:00
2013-02-21 08:55:30 +00:00
<!-- begin blog content -->
2013-03-07 13:21:10 +00:00
<div class="help" style="color: #aaa">
2013-03-11 12:27:57 +00:00
<span itemprop="author">{{ blogger_info and blogger_info.full_name or full_name }}</span> /
<span itemprop="dateCreated">{{ updated }}</span></div>
2013-02-21 08:55:30 +00:00
<br>
2013-03-11 12:27:57 +00:00
<div itemprop="articleBody">
2013-02-21 08:55:30 +00:00
{{ content_html }}
2013-03-11 12:27:57 +00:00
</div>
2013-02-21 08:55:30 +00:00
<!-- end blog content -->
2013-03-07 13:21:10 +00:00
{% if blogger_info %}
<hr />
{% include "app/website/templates/html/blogger.html" %}
2013-03-07 13:21:10 +00:00
{% endif %}
2013-02-21 08:55:30 +00:00
<hr>
<h3>{{ texts.comments }}</h3><br>
2013-02-21 08:55:30 +00:00
<div class="blog-comments">
{% if not comment_list %}
2013-03-07 13:21:10 +00:00
<div class="no-comment">
<p>{{ texts.first_comment }}</p>
2012-06-15 08:30:06 +00:00
</div>
2013-02-21 08:55:30 +00:00
{% endif %}
{% include 'app/website/templates/html/comment.html' %}
2013-02-21 08:55:30 +00:00
</div>
<div><button class="btn add-comment">{{ texts.add_comment }}</button></div>
2013-02-21 08:55:30 +00:00
<div style="display: none; margin-top: 10px;"
2013-03-07 13:21:10 +00:00
id="comment-form">
2013-02-21 08:55:30 +00:00
<div class="alert" style="display:none;"></div>
<form>
2013-03-07 13:21:10 +00:00
<fieldset>
<input name="comment_by_fullname" placeholder="Your Name" type="text"/><br>
<input name="comment_by" placeholder="Your Email Id" type="text"/><br>
2013-02-21 08:55:30 +00:00
<textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/>
2013-03-07 13:21:10 +00:00
</textarea><br>
<button class="btn btn-info" id="submit-comment">{{ texts.submit }}</button>
2013-03-07 13:21:10 +00:00
</fieldset>
2013-02-21 08:55:30 +00:00
</form>
2012-06-15 08:30:06 +00:00
</div>
2013-02-21 08:55:30 +00:00
</div>
{% include 'app/website/templates/html/blog_footer.html' %}
{% endblock %}