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

@@ -11,17 +11,17 @@
<div class="col-lg-12">
<h1 class="page-header text-center">{% trans "View Application" %}</h1>
<div class="container-fluid">
<div class="col-md-4 col-md-offset-4">
<div class="col-md-6 col-md-offset-3">
<div class="row">
{% if app.approved %}
<div class="alert alert-success">{% trans "Approved" %}</div>
<div class="alert alert-success text-center">{% trans "Approved" %}</div>
{% elif app.approved == False %}
<div class="alert alert-danger">{% trans "Denied" %}</div>
<div class="alert alert-danger text-center">{% trans "Denied" %}</div>
{% else %}
<div class="alert alert-warning">{% trans "Pending" %}</div>
<div class="alert alert-warning text-center">{% trans "Pending" %}</div>
{% endif %}
{% if app.reviewer_str %}
<div class="alert alert-info">{% trans "Reviewer:" %} {{ app.reviewer_str }}</div>
<div class="alert alert-info text-center">{% trans "Reviewer:" %} {{ app.reviewer_str }}</div>
{% endif %}
</div>
<div class="row">