Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4aa93275
authored
Mar 03, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: don't display SSO if there is no SAML2
parent
c7ceae9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
circle/templates/registration/login.html
+3
-5
No files found.
circle/templates/registration/login.html
View file @
4aa93275
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
{% endif %}
{% endif %}
<div
class=
"col-sm-
6
"
>
<div
class=
"col-sm-
{% if saml2 %}6{% else %}12{% endif %}
"
>
<div
class=
"login-form"
>
<div
class=
"login-form"
>
<form
action=
""
method=
"POST"
>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
{% csrf_token %}
...
@@ -20,14 +20,12 @@
...
@@ -20,14 +20,12 @@
</form>
</form>
</div>
</div>
</div>
</div>
{% if saml2 %}
<div
class=
"col-sm-6"
>
<div
class=
"col-sm-6"
>
<h4
style=
"padding-top: 0; margin-top: 0;"
>
Login with SSO
</h4>
<h4
style=
"padding-top: 0; margin-top: 0;"
>
Login with SSO
</h4>
{% if saml2 %}
<a
href=
"{% url "
saml2_login
"
%}"
>
Click here!
</a>
<a
href=
"{% url "
saml2_login
"
%}"
>
Click here!
</a>
{% else %}
{% trans "SAML2 NOT AVAILABLE" %}
{% endif %}
</div>
</div>
{% endif %}
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment