From d81d2cedf7596632a0b47353f66a20adf4fbba67 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Jul 2019 13:59:30 +0100 Subject: [PATCH] Fields for share --- epicyon-profile.css | 4 +--- webinterface.py | 9 +++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index dcc33192..a15e79e3 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -255,12 +255,10 @@ input[type=submit]:hover { } .vertical-center { - top: 50%; - -ms-transform: translateY(50%); - transform: translateY(50%); max-width: 90%; min-width: 600px; margin: 0 auto; + padding: 10% 0px; } .dropbtn { diff --git a/webinterface.py b/webinterface.py index b927b7cc..bf6ec4d4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -89,6 +89,7 @@ def htmlNewPost(baseDir: str,path: str) -> str: scopeDescription='Public' placeholderSubject='Subject or Content Warning (optional)...' placeholderMessage='Write something...' + extraFields='' if path.endswith('/newunlisted'): scopeIcon='scope_unlisted.png' scopeDescription='Unlisted' @@ -103,7 +104,11 @@ def htmlNewPost(baseDir: str,path: str) -> str: scopeDescription='Shared Item' placeholderSubject='Name of the shared item...' placeholderMessage='Description of the item being shared...' - + extraFields= \ + '' \ + '' \ + '' + newPostForm=htmlHeader(newPostCSS) newPostForm+= \ '
' \ @@ -112,7 +117,7 @@ def htmlNewPost(baseDir: str,path: str) -> str: ' ' \ '' \ ' ' \ - '' \ + ''+extraFields+ \ '
' \ ' ' \ ' ' \