IP board 4 Support

This commit is contained in:
orbitroom 2016-03-30 04:40:37 -05:00
parent a18f8f7d05
commit 4666dd748b
2 changed files with 28 additions and 0 deletions

View File

@ -27,6 +27,7 @@ from forms import JabberBroadcastForm
from forms import FleetFormatterForm
from forms import DiscordForm
from forms import ServicePasswordForm
from forms import TeamspeakJoinForm
from util import check_if_user_has_permission
import threading

View File

@ -345,6 +345,33 @@
</td>
</tr>
{% endif %}
{% if ENABLE_AUTH_IPS4 %}
<td class="text-center">IPS4</td>
<td class="text-center">{{ authinfo.ips4_username }}</td>
<td class="text-center">{{ authinfo.ips4_password }}</td>
<td class="text-center"><a href="{{ IPS4_URL }}">{{ IPS4_URL }}</a></td>
<td class="text-center">
{% ifequal authinfo.ips4_username "" %}
<a href="{% url 'auth_activate_ips4' %}">
<button type="button" class="btn btn-warning"><span
class="glyphicon glyphicon-ok"></span></button>
</a>
{% else %}
<a href="{% url 'auth_set_ips4_password' %}">
<button type="button" class="btn btn-warning"><span
class="glyphicon glyphicon-pencil"></span></button>
</a>
<a href="{% url 'auth_reset_ips4_password' %}">
<button type="button" class="btn btn-primary"><span
class="glyphicon glyphicon-refresh"></span></button>
</a>
<a href="{% url 'auth_deactivate_ips4' %}">
<button type="button" class="btn btn-danger"><span
class="glyphicon glyphicon-remove"></span></button>
</a>
{% endifequal %}
</td>
{% endif %}
{% if ENABLE_AUTH_DISCORD %}
<tr>
<td class="text-center">Discord</td>