aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/post_comment.html
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates/post_comment.html')
-rw-r--r--youtube/templates/post_comment.html30
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 %}
+