skins: update impact skin (missing confirm.tpl due to bad manipulation during upgrade from trunk)

This commit is contained in:
Thomas CHEMINEAU 2010-03-22 09:56:13 +00:00
parent 1e6dc91fdb
commit 067c96502f
5 changed files with 23 additions and 25 deletions

View File

@ -1,4 +1,4 @@
/* CSS for skin STANDARD */
/* CSS for skin IMPACT */
/* Shipped with LemonLDAP::NG */
/* -------------------------------------------------------------------------- */
@ -27,16 +27,7 @@ hr.solid {
margin-bottom: 15px;
border: 0px;
height: 1px;
color: #ddd;
background: #aaa;
}
hr.hashed {
margin-top: 15px;
margin-bottom: 15px;
border: 0px;
height: 1px;
color: #ddd;
color: #aaa;
background: #aaa;
}
@ -107,6 +98,13 @@ div.title img {
vertical-align: bottom;
}
ul.nostyle,
ul.nostyle li {
list-style-type: none;
margin: 0px;
padding: 0px;
}
/* -------------------------------------------------------------------------- */
/* Main layout */
/* -------------------------------------------------------------------------- */
@ -136,13 +134,6 @@ div.title img {
height: 322px;
}
#content-all ul.nostyle,
#content-all ul.nostyle li {
list-style-type: none;
margin: 0px;
padding: 0px;
}
#content-all table {
margin: 0px;
padding: 0px;

View File

@ -1,5 +1,4 @@
/* jQuery */
$(document).ready(function(){
var select='<select id="appsselector">';
$('#appslist').find('li.appname').each(function(index){
@ -11,6 +10,7 @@ $(document).ready(function(){
select+='</select>';
select+='<input type="button" onclick="goToApplication();return false;" value="OK" />';
$('#appslist').append(select);
$('#logout').hide();
});
function goToApplication(){
@ -19,3 +19,10 @@ function goToApplication(){
location.href=url;
}
function showLogoutBox(url){
if(confirm('Are you sure?')==true){
location.href=url;
}
return false;
}

View File

@ -8,10 +8,10 @@
</div>
<hr class="solid" />
<p id="timer" class="text-error"><lang en="You'll be redirected in 10 seconds" fr="Vous allez &ecirc;tre redirig&eacute;(e) automatiquement dans 10 secondes"/></p>
<form id="form" action="<TMPL_VAR NAME="URL">" method="get" class="login">
<div id="content-all-info">
<TMPL_VAR NAME="MSG">
</div>
<form id="form" action="<TMPL_VAR NAME="URL">" method="get" class="login">
<div class="panel-buttons">
<button type="reset" class="negative" tabindex="4" onclick="stop();">
<lang en="Wait" fr="Attendre" />

View File

@ -13,7 +13,7 @@
<div id="content-right">
<h1><lang en="Open your SSO session" fr="Ouvrir une session SSO" /></h1>
<hr class="solid" />
<p><span class="text-info"><TMPL_VAR NAME="AUTH_ERROR"></span></p>
<p><span class="text-error"><TMPL_VAR NAME="AUTH_ERROR"></span></p>
<form action="#" method="post" class="login">
<input type="hidden" name="url" value="" />
<input type="hidden" name="timezone" />
@ -26,7 +26,7 @@
<span class="text-label"><lang en="Password" fr="Mot de passe"/></span><br/>
<input name="password" type="password" tabindex="2" /><br/>
</p>
<hr class="hashed" />
<hr class="solid" />
<div class="panel-buttons">
<button type="reset" class="negative" tabindex="4">
<lang en="Cancel" fr="Annuler" />

View File

@ -12,7 +12,7 @@
</p>
<TMPL_IF NAME="DISPLAY_APPSLIST">
<div id="content-all-info">
<span class="text-label"><lang en="Choose an application your are allowed to access to" fr="Choisissez une application &agrave; laquelle vous &egrave;tes autoris&eacute;es &agrave; acc&eacute;der" /> :</span>
<span class="text-label"><lang en="Choose an application your are allowed to access to" fr="Choisissez une application &agrave; laquelle vous &ecirc;tes autoris&eacute;es &agrave; acc&eacute;der" /> :</span>
<p></p>
<div id="appslist">
<TMPL_VAR NAME="APPSLIST_MENU">
@ -22,10 +22,10 @@
</TMPL_IF>
<ul class="nostyle" style="float:left;">
<TMPL_IF NAME="DISPLAY_PASSWORD">
<li><img src="/skins/<TMPL_VAR NAME="SKIN">/images/arrow.png" /><a href="#password"><lang en="Reset password" fr="Changer de mot de passe" /></a></li>
<li><img src="/skins/<TMPL_VAR NAME="SKIN">/images/arrow.png" /><a href="#"><lang en="Reset password" fr="Changer de mot de passe" /></a></li>
</TMPL_IF>
<TMPL_IF NAME="DISPLAY_LOGOUT">
<li><img src="/skins/<TMPL_VAR NAME="SKIN">/images/arrow.png" /><a href="#logout"><lang en="Logout" fr="Se d&eacute;connecter" /></a></li>
<li><img src="/skins/<TMPL_VAR NAME="SKIN">/images/arrow.png" /><a href="#" onclick="showLogoutBox('<TMPL_VAR NAME="LOGOUT_URL">');"><lang en="Logout" fr="Se d&eacute;connecter" /></a></li>
</TMPL_IF>
</ul>
</div>