diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-21 21:48:54 -0700 |
commit | fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48 (patch) | |
tree | 28b2ee80c9356303a0a8732ce09f0dd6c1fb6d16 /youtube/templates/post_comment.html | |
parent | 167483af21fb252622170c4b5e3ae3ce81f58733 (diff) | |
download | yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.lz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.tar.xz yt-local-fc295ac93d0ad6b0272aa94f2d2ea44002ecbc48.zip |
Convert comment posting system to flask framework
Diffstat (limited to 'youtube/templates/post_comment.html')
-rw-r--r-- | youtube/templates/post_comment.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/youtube/templates/post_comment.html b/youtube/templates/post_comment.html new file mode 100644 index 0000000..98316ab --- /dev/null +++ b/youtube/templates/post_comment.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% import "comments.html" as comments %} + +{% block page_title %}{{ 'Post reply' if replying else 'Post comment' }}{% endblock %} + +{% block style %} + main{ + display: grid; + grid-template-columns: 3fr 2fr; + } + .left{ + display:grid; + grid-template-columns: 1fr 640px; + } + textarea{ + width: 460px; + height: 85px; + } + .comment-form{ + grid-column:2; + justify-content:start; + } +{% endblock style %} + +{% block main %} + <div class="left"> + {{ comments.comment_posting_box(comment_posting_box_info) }} + </div> +{% endblock %} + |