Fixed table(appearance) with main buttons in guild.view twig

This commit is contained in:
whiteblXK 2019-05-11 23:20:49 +02:00
parent 624a99b179
commit 2964089483

View File

@ -281,46 +281,46 @@
<tr> <tr>
{% if not logged %} {% if not logged %}
<form action="?subtopic=accountmanagement&redirect={{ getGuildLink(guild_name|url_encode, false) }}" method="post"> <form action="?subtopic=accountmanagement&redirect={{ getGuildLink(guild_name|url_encode, false) }}" method="post">
<th> <td>
<input type="image" name="Login" alt="Login" src="{{ template_path }}/images/global/buttons/sbutton_login.gif" style="width: 120px; height: 20px;"> <input type="image" name="Login" alt="Login" src="{{ template_path }}/images/global/buttons/sbutton_login.gif" style="width: 120px; height: 20px;">
</th> </td>
</form> </form>
{% else %} {% else %}
{% if show_accept_invite > 0 %} {% if show_accept_invite > 0 %}
<form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name|url_encode }}" method="post"> <form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name|url_encode }}" method="post">
<th> <td>
<input type="image" name="Accept Invite" alt="Accept Invite" src="{{ template_path }}/images/global/buttons/sbutton_acceptinvite.png" style="width: 120px; height: 20px;"> <input type="image" name="Accept Invite" alt="Accept Invite" src="{{ template_path }}/images/global/buttons/sbutton_acceptinvite.png" style="width: 120px; height: 20px;">
</th> </td>
</form> </form>
{% endif %} {% endif %}
{% if isVice %} {% if isVice %}
<form action="?subtopic=guilds&action=invite&guild={{ guild_name|url_encode }}" method="post"> <form action="?subtopic=guilds&action=invite&guild={{ guild_name|url_encode }}" method="post">
<th> <td>
<input type="image" name="Invite Player" alt="Invite Player" src="{{ template_path }}/images/global/buttons/sbutton_inviteplayer.png" style="width: 120px; height: 20px;"> <input type="image" name="Invite Player" alt="Invite Player" src="{{ template_path }}/images/global/buttons/sbutton_inviteplayer.png" style="width: 120px; height: 20px;">
</th> </td>
</form> </form>
<form action="?subtopic=guilds&action=change_rank&guild={{ guild_name|url_encode }}" method="post"> <form action="?subtopic=guilds&action=change_rank&guild={{ guild_name|url_encode }}" method="post">
<th> <td>
<input type="image" name="Change Rank" alt="Change Rank" src="{{ template_path }}/images/global/buttons/sbutton_changerank.png" style="width: 120px; height: 20px;"> <input type="image" name="Change Rank" alt="Change Rank" src="{{ template_path }}/images/global/buttons/sbutton_changerank.png" style="width: 120px; height: 20px;">
</th> </td>
</form> </form>
{% endif %} {% endif %}
{% if players_from_account_in_guild|length > 0 %} {% if players_from_account_in_guild|length > 0 %}
<form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name|url_encode }}" method="post"> <form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name|url_encode }}" method="post">
<th> <td>
<input type="image" name="Leave Guild" alt="Leave Guild" src="{{ template_path }}/images/global/buttons/sbutton_leaveguild.png" style="width: 120px; height: 20px;"> <input type="image" name="Leave Guild" alt="Leave Guild" src="{{ template_path }}/images/global/buttons/sbutton_leaveguild.png" style="width: 120px; height: 20px;">
</th> </td>
</form> </form>
{% endif %} {% endif %}
{% endif %} {% endif %}
<form action="{{ getLink('guilds') }}" method="post"> <form action="{{ getLink('guilds') }}" method="post">
<th style="float: right"> <td style="float: right">
{{ include('buttons.back.html.twig') }} {{ include('buttons.back.html.twig') }}
</th> </td>
</form> </form>
</tr> </tr>
</tbody> </tbody>