feat: 一部のnoscriptタグを削除

This commit is contained in:
usbharu 2024-09-04 19:12:42 +09:00
parent 4f9c431d9b
commit 15cb1375c8
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
5 changed files with 28 additions and 35 deletions

View File

@ -5,8 +5,6 @@
<title>Title</title>
</head>
<body>
<noscript>
<div th:replace="~{fragments-timeline :: simple-timline(${timeline},'/home')}"></div>
</noscript>
</body>
</html>

View File

@ -9,6 +9,7 @@
<th:block th:if="${image != null}">
<meta property="og:image" th:content="${image}">
</th:block>
<meta http-equiv="refresh" th:content="${'1; url='+nsUrl}">
</head>
<body>
<noscript>

View File

@ -8,7 +8,6 @@
</head>
<body>
<noscript>
<div>
<img alt="" height="80px" src="" th:src="${user.iconUrl}" width="80px">
<div style="display: inline-block">
@ -56,7 +55,6 @@
<input th:value="#{post-form.new-posts-submit}" type="submit" value="Publish!">
</div>
</form>
</noscript>
</body>
</html>

View File

@ -18,7 +18,7 @@
</head>
<body>
<noscript>
<th:block th:if=" ${post.reply != null}">
<th:block th:replace="~{fragments-post :: single-simple-post(${post.reply})}"></th:block>
<hr>
@ -40,6 +40,5 @@
<th:block th:replace="={fragments-post :: single-simple-post(${post.repost})}"></th:block>
<cite th:text="${post.repost.apId}"></cite>
</th:block>
</noscript>
</body>
</html>

View File

@ -5,10 +5,9 @@
<title th:text="#{user-by-id.title(${user.screenName},${instance.name})}">User - hideout</title>
</head>
<body>
<noscript>
<div>
<img height="150px" th:src="${user.iconUrl}" width="150px" alt="">
<img height="150px" th:src="${user.bannerURL}" width="600px" alt="">
<img alt="" height="150px" th:src="${user.iconUrl}" width="150px">
<img alt="" height="150px" th:src="${user.bannerURL}" width="600px">
</div>
<div>
<th:block th:if="${user.locked}">
@ -31,7 +30,5 @@
Followers</p>
</div>
<div th:replace="~{fragments-timeline :: simple-timline(${userTimeline},'/users/'+${user.name}+'@'+${user.host})}"></div>
</noscript>
</body>
</html>