Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
f2587e86
Commit
f2587e86
authored
Sep 18, 2014
by
Julien Furrer
Browse files
Auto login if shibsession active
parent
5ae274ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
adim_app/templates/adim_app/home.html
View file @
f2587e86
...
...
@@ -32,5 +32,15 @@
{{ block.super }}
<script
src=
"{% static "
js
/
libs
/
jquery.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap.min.js
"
%}"
></script>
<script>
if
(
document
.
location
.
search
)
{
$
.
get
(
"
{% url
"
shib
-
display
"
%}
"
)
.
fail
(
function
(){
})
.
done
(
function
(){
document
.
location
.
assign
(
"
{% url
"
shib
-
login
"
%}
"
+
document
.
location
.
search
);
});
}
</script>
{#
<script
src=
"{% static "
js
/
libs
/
require.min.js
"
%}"
data-main=
"{% static "
js
/
su_app
"
%}"
></script>
#}
{% endblock %}
Write
Preview
Supports
Markdown
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