Skip to content
Snippets Groups Projects
Commit 65f7a841 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Adding info screen with icon

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2931 44740490-163a-0410-bde0-09ae8108e29a
parent 21831a03
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,9 @@ div.discojuice div.discojuice_page {
}
div.discojuice p#dj_help {
cursor: pointer;
}
......
......@@ -288,7 +288,10 @@ DiscoJuice.UI = {
'<div class="filters bottom">' +
// '<p style="margin 0px; color: #ccc; font-size: 75%; float: left">Settings</p>' +
'<p style="margin 0px; text-align: right; color: #ccc; font-size: 75%">DiscoJuice &copy; UNINETT</p>' +
'<p id="dj_help" style="margin 0px; text-align: right; color: #ccc; font-size: 75%">' +
'DiscoJuice &copy; UNINETT ' +
'<img class="" style="position: relative; bottom: -4px; right: -5px" alt="Information" src="' + imgpath + 'info.png" />'
'</p>' +
'</div>' +
......@@ -315,6 +318,15 @@ DiscoJuice.UI = {
return false;
});
}
this.popup.find("p#dj_help").click(function() {
that.setScreen(
'<h2>About DiscoJuice</h2>' +
'<p style="margin: .5em 0px">DiscoJuice is a user interface to help users select which provider to login with. DiscoJuice is created by <a href="http://uninett.no">UNINETT</a></p>' +
'<p style="margin: .5em 10px"><a href="http://discojuice.org" target="_blank">Read more about DiscoJuice</a></p>' +
'<p style="margin: .5em 0px; font-size: 80%">Version: ' + DiscoJuice.Version);
});
this.popup.find("#discojuiceextesion_listener").click(function() {
that.control.discojuiceextension();
......
modules/discojuice/www/discojuice/images/info.png

467 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment