From a8ed5224594ea96705a0107d695e2e14d723fed0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 21 Nov 2020 09:56:45 +0000 Subject: [PATCH] Headers --- blog.py | 5 ++--- epicyon-links.css | 6 ------ webapp_column_right.py | 2 +- webapp_create_post.py | 18 +++++++++--------- webapp_profile.py | 4 ++-- 5 files changed, 14 insertions(+), 21 deletions(-) diff --git a/blog.py b/blog.py index ca6d5a6a..0778c82c 100644 --- a/blog.py +++ b/blog.py @@ -724,12 +724,11 @@ def htmlEditBlog(mediaInstance: bool, translate: {}, iconsPath = getIconsWebPath(baseDir) - editBlogText = '

' + \ - translate['Write your post text below.'] + '

' + editBlogText = '' + translate['Write your post text below.'] + '' if os.path.isfile(baseDir + '/accounts/newpost.txt'): with open(baseDir + '/accounts/newpost.txt', 'r') as file: - editBlogText = '

' + file.read() + '

' + editBlogText = '

' + file.read() + '

' cssFilename = baseDir + '/epicyon-profile.css' if os.path.isfile(baseDir + '/epicyon.css'): diff --git a/epicyon-links.css b/epicyon-links.css index aec1af46..0b616df2 100644 --- a/epicyon-links.css +++ b/epicyon-links.css @@ -219,12 +219,6 @@ h1 { font-family: var(--header-font); } -.new-post-text { - font-size: var(--font-size2); - font-family: Arial, Helvetica, sans-serif; - padding: 4px 0; -} - .new-post-subtext { font-size: var(--font-size-header); font-family: Arial, Helvetica, sans-serif; diff --git a/webapp_column_right.py b/webapp_column_right.py index 93fed4d3..c23d538f 100644 --- a/webapp_column_right.py +++ b/webapp_column_right.py @@ -605,7 +605,7 @@ def htmlEditNewsPost(cssCache: {}, translate: {}, baseDir: str, path: str, editNewsPostForm += \ '
\n' editNewsPostForm += \ - '

' + translate['Edit News Post'] + '

' + '

' + translate['Edit News Post'] + '

' editNewsPostForm += \ '
\n' editNewsPostForm += \ diff --git a/webapp_create_post.py b/webapp_create_post.py index 49ee03a5..4034602c 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -183,8 +183,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, if not path.endswith('/newshare'): if not path.endswith('/newreport'): if not inReplyTo or path.endswith('/newreminder'): - newPostText = '

' + \ - translate['Write your post text below.'] + '

\n' + newPostText = '

' + \ + translate['Write your post text below.'] + '

\n' else: newPostText = \ '

' + \ @@ -208,8 +208,8 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, showPublicOnDropdown = False else: newPostText = \ - '

' + \ - translate['Write your report below.'] + '

\n' + '

' + \ + translate['Write your report below.'] + '

\n' # custom report header with any additional instructions if os.path.isfile(baseDir + '/accounts/report.txt'): @@ -233,20 +233,20 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, translate['Terms of Service'] + '

\n' else: newPostText = \ - '

' + \ + '

' + \ translate['Enter the details for your shared item below.'] + \ - '

\n' + '

\n' if path.endswith('/newquestion'): newPostText = \ - '

' + \ + '

' + \ translate['Enter the choices for your question below.'] + \ - '

\n' + '

\n' if os.path.isfile(baseDir + '/accounts/newpost.txt'): with open(baseDir + '/accounts/newpost.txt', 'r') as file: newPostText = \ - '

' + file.read() + '

\n' + '

' + file.read() + '

\n' cssFilename = baseDir + '/epicyon-profile.css' if os.path.isfile(baseDir + '/epicyon.css'): diff --git a/webapp_profile.py b/webapp_profile.py index 8cb4efdf..3d26b362 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1171,8 +1171,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, 'accept-charset="UTF-8" action="' + path + '/profiledata">\n' editProfileForm += '
\n' editProfileForm += \ - '

' + translate['Profile for'] + \ - ' ' + nickname + '@' + domainFull + '

' + '

' + translate['Profile for'] + \ + ' ' + nickname + '@' + domainFull + '

' editProfileForm += '
\n' # editProfileForm += \ # '