diff options
author | Simo Sorce <simo@redhat.com> | 2015-04-27 12:46:39 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2015-04-27 23:40:42 +0200 |
commit | c42a8dc97e454f66b5e3d1a99b259e38e8496f85 (patch) | |
tree | efff770439fa567375351feb53828e0141b9ae4b /templates | |
parent | e5a7774427adf44c2100c5535aca569f938e7c2d (diff) | |
download | ipsilon-c42a8dc97e454f66b5e3d1a99b259e38e8496f85.tar.gz ipsilon-c42a8dc97e454f66b5e3d1a99b259e38e8496f85.tar.xz ipsilon-c42a8dc97e454f66b5e3d1a99b259e38e8496f85.zip |
Make availble a list of alternative aut methods
In the form case there is no way to automatically fallback to
other auth methods or even repeat transparent methods.
Add a simple list of alternative auth methods under the description
box so that the user can easily switch back and forth between them
if desired.
Fixes: https://fedorahosted.org/ipsilon/ticket/96
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login/form.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/login/form.html b/templates/login/form.html index 69a0cc7..fe99c5a 100644 --- a/templates/login/form.html +++ b/templates/login/form.html @@ -38,9 +38,6 @@ {% else %} <a href="{{ basepath }}" title="Cancel" class="btn btn-link" tabindex="4">Cancel</a> {% endif %} - {% if next_url %} - <a href="{{ next_url }}" title="Next authentication method" class="btn btn-link" tabindex="5">Next method </a> - {% endif %} <button type="submit" value="login" class="btn btn-primary btn-lg" tabindex="3">Log In</button> </div> </div> @@ -49,6 +46,16 @@ <div class="col-sm-5 col-md-6 col-lg-7 details"> <p>{{description}}</p> +{% if other_stacks %} + <hr> + <p>Other authentication methods: + <ul> + {% for s in other_stacks %} + <li><a href="{{ s['url'] }}" class="btn btn-link" tabindex="5">{{ s['name'] }}</a></li> + {% endfor %} + </ul> + </p> +{% endif %} </div> {% endblock %} |