social_list: use blue text to distinguish action icons from info icons

This commit is contained in:
Birte Kristina Friesel 2023-07-20 15:52:13 +02:00
parent 86ddfe5c97
commit 3d51395d39
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -185,36 +185,36 @@
<td><a href="/p/<%= $entry->{name} %>"><%= $entry->{name} %></a></td> <td><a href="/p/<%= $entry->{name} %>"><%= $entry->{name} %></a></td>
% if ($type eq 'follow-requests-received') { % if ($type eq 'follow-requests-received') {
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="blockieren">block</i> <i class="material-icons" aria-label="blockieren">block</i>
</button> </button>
</td> </td>
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="ablehnen">cancel</i> <i class="material-icons" aria-label="ablehnen">cancel</i>
</button> </button>
</td> </td>
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="accept_follow_request" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="accept_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="annehmen">check</i> <i class="material-icons" aria-label="annehmen">check</i>
</button> </button>
</td> </td>
% } % }
% elsif ($type eq 'follow-requests-sent') { % elsif ($type eq 'follow-requests-sent') {
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="cancel_follow_request" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="cancel_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="zurücknehmen">cancel</i> <i class="material-icons" aria-label="zurücknehmen">cancel</i>
</button> </button>
</td> </td>
% } % }
% elsif ($type eq 'followers') { % elsif ($type eq 'followers') {
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="blockieren">block</i> <i class="material-icons" aria-label="blockieren">block</i>
</button> </button>
</td> </td>
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="remove_follower" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="remove_follower" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="entfernen">remove</i> <i class="material-icons" aria-label="entfernen">remove</i>
</button> </button>
</td> </td>
@ -226,7 +226,7 @@
<i class="material-icons" aria-label="Zurückfolgen angefragt">access_time</i> <i class="material-icons" aria-label="Zurückfolgen angefragt">access_time</i>
% } % }
% elsif ($entry->{can_follow_back} or $entry->{can_request_follow_back}) { % elsif ($entry->{can_follow_back} or $entry->{can_request_follow_back}) {
<button class="btn-flat waves-effect waves-light" type="submit" name="follow_or_request" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="follow_or_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="zurückfolgen">person_add</i> <i class="material-icons" aria-label="zurückfolgen">person_add</i>
</button> </button>
% } % }
@ -239,14 +239,14 @@
% } % }
</td> </td>
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="unfollow" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="unfollow" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="entfolgen">remove</i> <i class="material-icons" aria-label="entfolgen">remove</i>
</button> </button>
</td> </td>
% } % }
% elsif ($type eq 'blocks') { % elsif ($type eq 'blocks') {
<td class="right-align"> <td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="unblock" value="<%= $entry->{id} %>"> <button class="btn-flat blue-text waves-effect waves-light" type="submit" name="unblock" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="von Blockliste entefrnen">remove</i> <i class="material-icons" aria-label="von Blockliste entefrnen">remove</i>
</button> </button>
</td> </td>