Switch the scopes checkboxen from Bootstrap's custom ones to browser-native ones, since the custom one wasn't getting us much

This commit is contained in:
Danielle McLean 2018-03-23 13:14:34 +11:00
parent 43348a89da
commit 7e50300942
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -28,13 +28,12 @@
<p class="card-text">do you want to confirm your identity, <a class="code" href="{{ me }}">{{ me }}</a>, with this app?</p> <p class="card-text">do you want to confirm your identity, <a class="code" href="{{ me }}">{{ me }}</a>, with this app?</p>
{% if params.response_type == 'code' %} {% if params.response_type == 'code' %}
<p class="card-text">additionally, this app is requesting the following <i>scopes</i> - you can edit the scopes that will be granted to the app, if you wish</p> <p class="card-text">additionally, this app is requesting the following <i>scopes</i> - you can edit the scopes that will be granted to the app, if you wish</p>
<div class="custom-controls-stacked card-text"> <div class="card-text form-group">
{% for scope in scopes %} {% for scope in scopes %}
<label class="custom-control custom-checkbox"> <div class="form-check">
<input name="scope" type="checkbox" class="custom-control-input" checked value="{{ scope }}" /> <input class="form-check-input" id="scopes-{{ scope }}" name="scope" type="checkbox" checked value="{{ scope }}" />
<span class="custom-control-indicator"></span> <label class="form-check-label" for="scopes-{{ scope }}">{{ scope }}</label>
<span class="custom-control-description">{{ scope }}</span> </div>
</label>
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}