💄 Change icons for trusting/distrusting identities
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 2 Nov 2019 21:15:44 +0000 (22:15 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 2 Nov 2019 21:15:44 +0000 (22:15 +0100)
src/main/resources/static/css/sone.css
src/main/resources/templates/include/viewPost.html
src/main/resources/templates/include/viewReply.html

index 349ab5c..e69932a 100644 (file)
@@ -419,16 +419,8 @@ textarea {
        font-weight: bold;
 }
 
-#sone .post .trust button {
-       color: rgb(0, 128, 0);
-}
-
-#sone .post .distrust button {
-       color: rgb(255, 0, 0);
-}
-
 #sone .post .untrust button {
-       color: rgb(64, 64, 64);
+       color: rgb(255, 0, 0);
 }
 
 #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .trust button:hover, #sone .post .distrust button:hover, #sone .post .untrust button:hover, #sone .post .bookmark button:hover, #sone .post .unbookmark button:hover {
index 81683e4..7cdb924 100644 (file)
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% post.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Trust|l10n|html>"></button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Trust|l10n|html>">👍</button>
                                                </form>
                                                <form class="distrust post-distrust<%if post.sone.trust.assigned> hidden<%/if>" action="distrust.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% post.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Distrust|l10n|html>"></button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Distrust|l10n|html>">👎</button>
                                                </form>
                                                <form class="untrust post-untrust<%if !post.sone.trust.assigned> hidden<%/if>" action="untrust.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% post.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Untrust|l10n|html>">â\86</button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Untrust|l10n|html>">â\9c\97</button>
                                                </form>
                                        <%/if>
                                <%/if>
index 3a5e59a..99c02e6 100644 (file)
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% reply.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Trust|l10n|html>"></button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Trust|l10n|html>">👍</button>
                                                </form>
                                                <form class="distrust reply-distrust<%if reply.sone.trust.assigned> hidden<%/if>" action="distrust.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% reply.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Distrust|l10n|html>"></button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Distrust|l10n|html>">👎</button>
                                                </form>
                                                <form class="untrust reply-untrust<%if !reply.sone.trust.assigned> hidden<%/if>" action="untrust.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                                        <input type="hidden" name="sone" value="<% reply.sone.id|html>" />
-                                                       <button type="submit" title="<%= View.Trust.Tooltip.Untrust|l10n|html>">â\86</button>
+                                                       <button type="submit" title="<%= View.Trust.Tooltip.Untrust|l10n|html>">â\9c\97</button>
                                                </form>
                                        <%/if>
                                <%/if>