diff --git a/blog.py b/blog.py index 078d50ff7..a3fe001fa 100644 --- a/blog.py +++ b/blog.py @@ -892,7 +892,7 @@ def html_edit_blog(media_instance: bool, translate: {}, translate['Cancel'] + '' edit_blog_form += \ ' ' + translate['Publish'] + '">' edit_blog_form += ' ' if media_instance: edit_blog_form += edit_blog_image_section @@ -919,10 +919,6 @@ def html_edit_blog(media_instance: bool, translate: {}, edit_blog_form += ' ' edit_blog_form += '' - edit_blog_form = \ - edit_blog_form.replace('', - '') - edit_blog_form += html_footer() return edit_blog_form diff --git a/daemon.py b/daemon.py index e85d7064c..c41ae06e5 100644 --- a/daemon.py +++ b/daemon.py @@ -18806,7 +18806,7 @@ class PubServer(BaseHTTPRequestHandler): not fields.get('pinToProfile'): print('WARN: no message, image description or pin') return -1 - submit_text = self.server.translate['Submit'] + submit_text = self.server.translate['Publish'] custom_submit_text = \ get_config_param(self.server.base_dir, 'customSubmitText') if custom_submit_text: diff --git a/epicyon-profile.css b/epicyon-profile.css index b8286c3b7..72a267f2a 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -1916,6 +1916,9 @@ h3 { blockquote { font-size: var(--quote-font-size-mobile); } + input[type=time] { + width: 5ch; + } figcaption img.emojiheader { float: none; width: 50px; @@ -2700,6 +2703,9 @@ h3 { blockquote { font-size: var(--quote-font-size-tiny); } + input[type=time] { + width: 5ch; + } figcaption img.emojiheader { float: none; width: 50px; diff --git a/webapp_accesskeys.py b/webapp_accesskeys.py index 25a290ba3..223b55975 100644 --- a/webapp_accesskeys.py +++ b/webapp_accesskeys.py @@ -98,7 +98,7 @@ def html_access_keys(css_cache: {}, base_dir: str, translate['Go Back'] + '\n' + \ ' \n \n' + translate['Publish'] + '\n \n' access_keys_form += ' \n' access_keys_form += ' \n' diff --git a/webapp_column_left.py b/webapp_column_left.py index a1b057d51..a13f048a6 100644 --- a/webapp_column_left.py +++ b/webapp_column_left.py @@ -476,7 +476,7 @@ def html_edit_links(css_cache: {}, translate: {}, base_dir: str, path: str, '

' + translate['Edit Links'] + '

' edit_links_form += \ ' \n' edit_links_form += \ ' \n' diff --git a/webapp_column_right.py b/webapp_column_right.py index a848920c3..a88e0849b 100644 --- a/webapp_column_right.py +++ b/webapp_column_right.py @@ -418,7 +418,7 @@ def html_citations(base_dir: str, nickname: str, domain: str, # submit button html_str += \ ' \n' + translate['Publish'] + '">\n' html_str += ' \n' citations_separator = '#####' @@ -596,7 +596,7 @@ def html_edit_newswire(css_cache: {}, translate: {}, base_dir: str, path: str, '
\n' edit_newswire_form += \ ' \n' edit_newswire_form += \ '
\n' @@ -712,7 +712,7 @@ def html_edit_news_post(css_cache: {}, translate: {}, base_dir: str, path: str, '\n' edit_news_post_form += \ ' \n' + translate['Publish'] + '">\n' edit_news_post_form += \ ' \n' diff --git a/webapp_create_post.py b/webapp_create_post.py index 68052569d..47bebb36c 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -729,9 +729,9 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, '' + \ translate['Location'] + '' - date_and_location += \ + date_and_location += '

\n' + \ edit_text_field(location_label_with_link, 'location', '', - 'https://www.openstreetmap.org/#map=') + 'https://www.openstreetmap.org/#map=') + '

\n' date_and_location += end_edit_section() instance_title = get_config_param(base_dir, 'instanceTitle') @@ -870,7 +870,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, ' \n' - submit_text = translate['Submit'] + submit_text = translate['Publish'] if custom_submit_text: submit_text = custom_submit_text new_post_form += \ @@ -952,9 +952,5 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, ' \n' + \ '\n' - if not report_url: - new_post_form = \ - new_post_form.replace('', '') - new_post_form += html_footer() return new_post_form diff --git a/webapp_person_options.py b/webapp_person_options.py index a35702199..627f8e0ba 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -272,7 +272,7 @@ def html_person_options(default_timeline: str, 'accesskey="' + access_keys['enterPetname'] + '">\n' \ '
\n' + translate['Publish'] + '
\n' # Notify when a post arrives from this person if is_following_actor(base_dir, nickname, domain, options_actor): @@ -282,7 +282,7 @@ def html_person_options(default_timeline: str, translate['Notify me when this account posts'] + \ '\n
\n' + translate['Publish'] + '
\n' if not notify_when_person_posts(base_dir, nickname, domain, options_nickname, options_domain_full): @@ -295,7 +295,7 @@ def html_person_options(default_timeline: str, translate['Receive calendar events from this account'] + \ '\n
\n' + translate['Publish'] + '
\n' if not receiving_calendar_events(base_dir, nickname, domain, options_nickname, options_domain_full): @@ -320,7 +320,7 @@ def html_person_options(default_timeline: str, translate['Allow news posts'] + \ '\n
\n' + translate['Publish'] + '
\n' if os.path.isfile(newswire_blocked_filename): checkbox_str = checkbox_str.replace(' checked>', '>') else: @@ -340,7 +340,7 @@ def html_person_options(default_timeline: str, translate['News posts are moderated'] + \ '\n
\n' + translate['Publish'] + '
\n' if not os.path.isfile(moderated_filename): checkbox_str = checkbox_str.replace(' checked>', '>') options_str += checkbox_str @@ -358,7 +358,7 @@ def html_person_options(default_timeline: str, translate['Featured writer'] + \ '\n
\n' + translate['Publish'] + '
\n' if not is_featured_writer(base_dir, options_nickname, options_domain): checkbox_str = checkbox_str.replace(' checked>', '>') @@ -434,7 +434,7 @@ def html_person_options(default_timeline: str, '

' + translate['Notes'] + ': \n' options_str += '
\n' + translate['Publish'] + '
\n' options_str += \ '