gourami

[UNMAINTAINED] Activitypub server in Rust
Log | Files | Refs | README | LICENSE

commit 734f3b64442b630f9ea994acf4aa9d5d4ad5c9b8
parent 75d0a9e4e56c7bce5a7463c3e0d64726b827b40c
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 14 Apr 2020 21:40:14 -0500

Clean up css / move to new file

Diffstat:
Mstatic/css/style.css | 16+++++++++++++++-
Mtemplates/base.html | 11+++++------
Mtemplates/timeline.html | 15++++++++++++---
3 files changed, 32 insertions(+), 10 deletions(-)

diff --git a/static/css/style.css b/static/css/style.css @@ -11,6 +11,19 @@ font-size:2rem; } +.status { + border-top: 1px solid black; + border-bottom: 1px solid black; + margin: 1rem; + padding: 3px; +} + +#status-input { + width: 80%; + resize: none; + margin: 5px; +} + .text-right { text-align: right; } @@ -30,8 +43,9 @@ border: 1px solid black; } -.white { +.main { background-color: white; + width:50%; } body { diff --git a/templates/base.html b/templates/base.html @@ -6,24 +6,23 @@ <link rel="stylesheet" type="text/css" href="../static/css/bootstrap-grid.min.css"> </head> <body class="monospace"> - <div class="container white"> + <div class="container main"> <div id="header"> <div class="row navbar"> <div class="col-sm"> <div class="title">gourami/{{page}}</div> </div> <div class="col-sm text-center">t n d</div> - <div class="col-sm text-right"> + <div class="col-sm text-right"> logged out </div> </div> </div> <div class="row main-content"> - size here - {% block content %}{% endblock %} - </div> + {% block content %}{% endblock %} + </div> <div class="row footer"> - Built with <a href="https://git.sr.ht/~alexwennerberg/gourami-social">gourami</a> + Built with- <a href="https://git.sr.ht/~alexwennerberg/gourami-social">gourami</a> </div> </div> </body> diff --git a/templates/timeline.html b/templates/timeline.html @@ -1,7 +1,16 @@ {% extends "base.html" %} {% block content %} -Ppost a status: - -asdfasdfasdf +<div class="container"> +<form method="POST"> +<textarea id="status-input" rows=3 placeholder="status"></textarea> +<br> +<button id="post">post</button> +</form> +<div class="row"> + <div class="status"> + #{{post_id}} | {{user_id}}: + </div> +</div> +</div> {% endblock %}