diff --git a/epicyon-profile.css b/epicyon-profile.css index a15e79e3..fad359f3 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -250,6 +250,16 @@ input[type=submit] { font-size: 18px; } +input[type=file] { + background-color: #555; + color: white; + padding: 12px 20px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 18px; +} + input[type=submit]:hover { background-color: #555; } @@ -258,7 +268,7 @@ input[type=submit]:hover { max-width: 90%; min-width: 600px; margin: 0 auto; - padding: 10% 0px; + padding: 5% 0px; } .dropbtn { diff --git a/webinterface.py b/webinterface.py index bf6ec4d4..b9879b24 100644 --- a/webinterface.py +++ b/webinterface.py @@ -105,8 +105,10 @@ def htmlNewPost(baseDir: str,path: str) -> str: placeholderSubject='Name of the shared item...' placeholderMessage='Description of the item being shared...' extraFields= \ - '' \ - '' \ + '
' \ + ' ' \ + ' ' \ + '
' \ '' newPostForm=htmlHeader(newPostCSS) @@ -119,18 +121,23 @@ def htmlNewPost(baseDir: str,path: str) -> str: ' ' \ ''+extraFields+ \ '
' \ - ' ' \ - ' ' \ - ' ' \ + '
' \ + ' ' \ + ' ' \ + ' ' \ '
' \ '
' \ ''