diff options
author | Vitaly Takmazov | 2024-11-25 00:13:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-11-25 00:13:04 +0300 |
commit | 70da316e601c31195287f481db296287b59f2401 (patch) | |
tree | 11a1c40a7a197a41767cfad95b15a74b74d4cd85 /src/main/resources/templates/views/thread.html | |
parent | 997917cfe73ab2f48ecc9c4624ac64f1ce6474b9 (diff) |
Thread cleanup and redesign
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r-- | src/main/resources/templates/views/thread.html | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index ab751294..bb497730 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -6,7 +6,7 @@ <div class="msg-cont"> <div class="msg-header"> <div class="msg-avatar"> - <a href="/{{ msg.user.name }}/"><img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/></a> + <a href="/{{ msg.user.name }}/"><img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"></a> </div> <span> <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span>{% if msg.user.premium %}<span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span>{% endif %}</a> @@ -35,7 +35,7 @@ {% if msg.AttachmentType is not empty %} <div class="msg-media"> <a href="//i.juick.com/p/{{ msg.mid }}.{{ msg.AttachmentType }}" data-fname="{{ msg.mid }}.{{ msg.AttachmentType }}"> - <img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/> + <img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""> </a> </div> {% endif %} @@ -102,7 +102,7 @@ </nav> {% if msg.VisitorCanComment %} <form class="msg-comment-target"> - <input type="hidden" name="mid" value="{{ msg.mid }}"/> + <input type="hidden" name="mid" value="{{ msg.mid }}"> <div class="msg-comment"> <div class="ta-wrapper"> <textarea name="body" rows="1" class="reply" placeholder="{{ i18n("messages","message.writeComment") }}"></textarea> @@ -124,11 +124,10 @@ </div> </li> </ul> -<div class="title2"> +<div style="display:none;"> {% if visitor.uid > 0 %} - <img src="/api/thread/mark_read/{{ msg.mid }}-{{ msg.rid }}.gif?hash={{visitor.authHash}}" /> + <img src="/api/thread/mark_read/{{ msg.mid }}-{{ msg.rid }}.gif"> {% endif %} - <h2>{{ i18n("messages","reply.replies") }} ({{ replies.size() }})</h2> </div> <ul id="replies"> @@ -140,13 +139,13 @@ <a class="a-username" href="/{{ msg.user.name }}/">{{ msg.user.name }}{% if msg.user.premium %}<span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span>{% endif %}</a> <div class="msg-avatar"> <a class="a-username" href="/{{ msg.user.name }}/"> - <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"/> + <img src="{{ msg.user.avatar }}" alt="{{ msg.user.name }}"> </a> </div> {% else %} [удалено]: <div class="msg-avatar"> - <img src="//i.juick.com/av-96.png"/> + <img src="//i.juick.com/av-96.png"> </div> {% endif %} <div class="msg-ts"> @@ -165,7 +164,7 @@ {% if msg.AttachmentType is not empty %} <div class="msg-media"> <a href="//i.juick.com/p/{{ msg.mid }}-{{ msg.rid }}.{{ msg.AttachmentType }}" data-fname="{{ msg.mid }}-{{ msg.rid }}.{{ msg.AttachmentType }}"> - <img src="//i.juick.com/photos-512/{{ msg.mid }}-{{ msg.rid }}.{{ msg.AttachmentType }}" alt=""/> + <img src="//i.juick.com/photos-512/{{ msg.mid }}-{{ msg.rid }}.{{ msg.AttachmentType }}" alt=""> </a> </div> {% endif %} |