API SSO, Beautification of Tables, and more. (#562)

# One Thousandth Commit 🎉 🎈 🎆 🍾

* Allow requiring API ownership validation by SSO.
Closes #163

* Add Discourse group name length restrictions.

* Redirect after api addition/deletion of main character

* Correct admin searching for removed discourse_username field in AuthServicesInfo

* Correct admin function to sync user Discourse groups

* Beautify tables by removing borders and hiding when empty.

*Add buttons on dead-end pages to return to originating view.
This commit is contained in:
Adarnof
2016-10-27 23:28:00 -04:00
committed by GitHub
parent 4ea7fdeaf2
commit e77c162fa0
26 changed files with 313 additions and 135 deletions

View File

@@ -24,7 +24,7 @@
</div>
{% if corp_timers %}
<h4><b>{% trans "Corp Timers" %}</b></h4>
<table class="table table-bordered">
<table class="table">
<tr>
<th style="width:150px" class="text-center">{% trans "Details" %}</th>
<th class="text-center">{% trans "Objective" %}</th>
@@ -124,7 +124,8 @@
</table>
{% endif %}
<h4><b>{% trans "Next Timers" %}</b></h4>
<table class="table table-bordered">
{% if future_timers %}
<table class="table">
<tr>
<th style="width:150px" class="text-center">{% trans "Details" %}</th>
<th class="text-center">{% trans "Objective" %}</th>
@@ -221,8 +222,12 @@
</tr>
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No upcoming timers.</div>
{% endif %}
<h4><b>{% trans "Past Timers" %}</b></h4>
<table class="table table-bordered">
{% if past_timers %}
<table class="table">
<tr>
<th style="width:150px" class="text-center">{% trans "Details" %}</th>
<th class="text-center">{% trans "Objective" %}</th>
@@ -320,6 +325,9 @@
</tr>
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No past timers.</div>
{% endif %}
</div>