From 862cc3bdfa82ca3595b083eedf8dff8cc618e5a3 Mon Sep 17 00:00:00 2001 From: papee Date: Fri, 14 Aug 2020 17:10:35 +0200 Subject: [PATCH] css paste title --- zerobin/routes.py | 2 +- zerobin/static/css/style.css | 24 ++++++++++++++++++++++++ zerobin/views/admin.tpl | 14 +++++++------- zerobin/views/home.tpl | 16 +++++++++++++++- zerobin/views/login.tpl | 2 +- 5 files changed, 48 insertions(+), 10 deletions(-) diff --git a/zerobin/routes.py b/zerobin/routes.py index 53d9a74..7244822 100644 --- a/zerobin/routes.py +++ b/zerobin/routes.py @@ -3,7 +3,7 @@ """ import os -import pdb +#import pdb import sys import _thread as thread diff --git a/zerobin/static/css/style.css b/zerobin/static/css/style.css index fb32bfc..6e83263 100644 --- a/zerobin/static/css/style.css +++ b/zerobin/static/css/style.css @@ -185,6 +185,30 @@ input.hide-upload { /* Paste Page */ +.paste-options { + background-color: #424141; + padding: 10px; + opacity: 0.5; +} + +.paste-options span { + background-color: #375A7F; + color: #f9fafc; +} + +.paste-options:hover{ + opacity: 1; +} + +.paste-options input{ + background-color: #375A7F; + color: #eee; +} +::placeholder { + color: #f9fafc !important; + opacity: 1; +} + .paste-wrapper { width: 100%; text-align: center; diff --git a/zerobin/views/admin.tpl b/zerobin/views/admin.tpl index 7262db1..a588468 100644 --- a/zerobin/views/admin.tpl +++ b/zerobin/views/admin.tpl @@ -11,7 +11,7 @@
- Admin Panel +

Admin Panel


@@ -20,14 +20,14 @@
%if status == "error": -
- {{message}} -
+
+ {{message}} +
%end %if status == "ok" and message: - + %end
diff --git a/zerobin/views/home.tpl b/zerobin/views/home.tpl index bd2b911..b0b1b4d 100644 --- a/zerobin/views/home.tpl +++ b/zerobin/views/home.tpl @@ -27,14 +27,28 @@
+
+ - +
Paste Options (these options are optionals)
+ +
+
+ Title +
+ +
+ +
+
diff --git a/zerobin/views/login.tpl b/zerobin/views/login.tpl index 2e52f58..017819d 100644 --- a/zerobin/views/login.tpl +++ b/zerobin/views/login.tpl @@ -2,7 +2,7 @@