mirror of https://gitlab.com/bashrc2/epicyon
Attachments tab index
parent
754c679075
commit
c6d004861f
|
@ -1165,7 +1165,7 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str,
|
||||||
gallery_str += ' </div>\n'
|
gallery_str += ' </div>\n'
|
||||||
gallery_str += '</div>\n'
|
gallery_str += '</div>\n'
|
||||||
|
|
||||||
attachment_str += '<a href="' + image_url + '">'
|
attachment_str += '<a href="' + image_url + '" tabindex="10">'
|
||||||
attachment_str += \
|
attachment_str += \
|
||||||
'<img loading="lazy" decoding="async" ' + \
|
'<img loading="lazy" decoding="async" ' + \
|
||||||
'src="' + image_url + \
|
'src="' + image_url + \
|
||||||
|
@ -1180,7 +1180,9 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str,
|
||||||
if box_name == 'tlmedia':
|
if box_name == 'tlmedia':
|
||||||
gallery_str += '<div class="gallery">\n'
|
gallery_str += '<div class="gallery">\n'
|
||||||
if not is_muted:
|
if not is_muted:
|
||||||
gallery_str += ' <a href="' + attach['url'] + '">\n'
|
gallery_str += \
|
||||||
|
' <a href="' + attach['url'] + \
|
||||||
|
'" tabindex="10">\n'
|
||||||
gallery_str += \
|
gallery_str += \
|
||||||
' <figure id="videoContainer" ' + \
|
' <figure id="videoContainer" ' + \
|
||||||
'data-fullscreen="false">\n' + \
|
'data-fullscreen="false">\n' + \
|
||||||
|
@ -1204,7 +1206,7 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str,
|
||||||
if image_description and not is_muted:
|
if image_description and not is_muted:
|
||||||
gallery_str += \
|
gallery_str += \
|
||||||
' <a href="' + video_post_url + \
|
' <a href="' + video_post_url + \
|
||||||
'" class="gallerytext"><div ' + \
|
'" class="gallerytext" tabindex="10"><div ' + \
|
||||||
'class="gallerytext">' + \
|
'class="gallerytext">' + \
|
||||||
image_description + '</div></a>\n'
|
image_description + '</div></a>\n'
|
||||||
else:
|
else:
|
||||||
|
@ -1248,7 +1250,9 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str,
|
||||||
if box_name == 'tlmedia':
|
if box_name == 'tlmedia':
|
||||||
gallery_str += '<div class="gallery">\n'
|
gallery_str += '<div class="gallery">\n'
|
||||||
if not is_muted:
|
if not is_muted:
|
||||||
gallery_str += ' <a href="' + attach['url'] + '">\n'
|
gallery_str += \
|
||||||
|
' <a href="' + attach['url'] + \
|
||||||
|
'" tabindex="10">\n'
|
||||||
gallery_str += ' <audio controls>\n'
|
gallery_str += ' <audio controls>\n'
|
||||||
gallery_str += \
|
gallery_str += \
|
||||||
' <source src="' + attach['url'] + \
|
' <source src="' + attach['url'] + \
|
||||||
|
|
Loading…
Reference in New Issue