diff options
author | Andrew Godwin | 2022-11-13 16:14:38 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-13 16:15:14 -0700 |
commit | 34b24a0dcb044cb755e201ad1a83253d0690e78e (patch) | |
tree | 51e6842d9e1392fafcd617cf4de0fa7e28397c87 /templates/activities/home.html | |
parent | 5a8b6bb3d022a532562ad5fa6d629cfc48c51b46 (diff) | |
download | takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.gz takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.bz2 takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.zip |
More UI!
Diffstat (limited to 'templates/activities/home.html')
-rw-r--r-- | templates/activities/home.html | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/templates/activities/home.html b/templates/activities/home.html index 9fe4bba..c777ce8 100644 --- a/templates/activities/home.html +++ b/templates/activities/home.html @@ -1,15 +1,32 @@ {% extends "base.html" %} -{% load crispy_forms_tags %} {% block title %}Home{% endblock %} {% block content %} + {% include "activities/_home_menu.html" %} - {% crispy form form.helper %} + <section class="columns"> - {% for post in timeline_posts %} - {% include "activities/_post.html" %} - {% empty %} - No posts yet. - {% endfor %} + <div class="left-column"> + {% for post in timeline_posts %} + {% include "activities/_post.html" %} + {% empty %} + No posts yet. + {% endfor %} + </div> + + <div class="right-column"> + <h2>Compose</h2> + <form action="." method="POST" class="compose"> + {% csrf_token %} + {{ form.text }} + {{ form.content_warning }} + <div class="buttons"> + <span class="button toggle" _="on click toggle .enabled then toggle .hidden on #id_content_warning">CW</span> + <button>Post</button> + </div> + </form> + </div> + + </section> {% endblock %} |