diff --git a/paste/static/css/main.css b/paste/static/css/main.css index c5f19d5..9ca5ec7 100644 --- a/paste/static/css/main.css +++ b/paste/static/css/main.css @@ -34,10 +34,6 @@ body { line-height: 1.65 } -nav { - border-bottom: 1px solid black; -} - .menu ul { list-style-type: none; padding-left: 0; @@ -60,3 +56,10 @@ a:hover { color: black; border-bottom: .2rem solid dimgrey; } + +textarea { + background-color: transparent; + resize: none; + width: 100%; + height: 80vh; +} diff --git a/paste/templates/home.html.j2 b/paste/templates/home.html.j2 index c164647..75d8aa8 100755 --- a/paste/templates/home.html.j2 +++ b/paste/templates/home.html.j2 @@ -1,23 +1,31 @@ {% extends "base.html.j2" %} {% block content %} -
- - - - -
-{% with messages = get_flashed_messages(category_filter=["create"]) %} - {% if messages[0] %} -

Paste available at : {{ messages[0] }}

- {% endif %} - {% if messages[1] %} -

You can delete paste with : delete

- {% endif %} -{% endwith %} + {% with messages = get_flashed_messages(category_filter=["create"]) %} +
+ {% if messages[0] %} +

Paste : {{ messages[0] }} | delete

+ {% endif %} +
+ {% endwith %} -{% with messages = get_flashed_messages(category_filter=["delete"]) %} - {% if messages[0] %} -

Paste {{ messages[0] }} deleted

- {% endif %} -{% endwith %} + {% with messages = get_flashed_messages(category_filter=["delete"]) %} + {% if messages[0] %} +

Paste {{ messages[0] }} deleted

+ {% endif %} + {% endwith %} +
+ + + + + + + + + + + +
{% endblock %}