Commit 291c5679 authored by Yadd's avatar Yadd
Browse files

LEMONLDAP::NG : * Liberty alliance module from FederID project

                * Debian integration in progress
parent a6077277
/* CSS for Identity Provider */
/* Main color : green #8cd749 */
@import url(default.css);
h1, h2, h3, h4, h5, h6 { color : #8cd749; }
#page { border-color : #8cd749; }
#footer { border-top : #8cd749; }
.message { border-color : #8cd749; }
hr, pre, code, th, td, fieldset, legend { border-color : #8cd749; }
/* CSS for LAAP */
/* Main color : clear blue #6699ff */
@import url(default.css);
h1, h2, h3, h4, h5, h6 { color : #6699ff; }
#page { border-color : #6699ff; }
#footer { border-top : #6699ff; }
.message { border-color : #6699ff; }
hr, pre, code, th, td, fieldset, legend { border-color : #6699ff; }
/* CSS for SSO */
/* Main color : orange #d9b500 */
@import url(default.css);
h1, h2, h3, h4, h5, h6 { color : #d9b500; }
#page { border-color : #d9b500; }
#footer { border-top : #d9b500; }
.message { border-color : #d9b500; }
hr, pre, code, th, td, fieldset, legend { border-color : #d9b500; }
/* CSS for LDAP Content Management (WUI) */
/* Main color : blue #1335e2 */
@import url(default.css);
h1, h2, h3, h4, h5, h6 { color : #1335e2; }
#page { border-color : #1335e2; }
#footer { border-top : #1335e2; }
.message { border-color : #1335e2; }
hr, pre, code, th, td, fieldset, legend { border-color : #1335e2; }
function setActiveStyleSheet(title) { var i, a, main; for(i=0; (a = document.getElementsByTagName("link")[i]); i++) { if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) { a.disabled = true; if(a.getAttribute("title") == title) a.disabled = false; } }} function getActiveStyleSheet() { var i, a; for(i=0; (a = document.getElementsByTagName("link")[i]); i++) { if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title"); } return null;} function getPreferredStyleSheet() { var i, a; for(i=0; (a = document.getElementsByTagName("link")[i]); i++) { if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("rel").indexOf("alt") == -1 && a.getAttribute("title") ) return a.getAttribute("title"); } return null;} function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else expires = ""; document.cookie = name+"="+value+expires+"; path=/";} function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null;} window.onload = function(e) { var cookie = readCookie("style"); var title = cookie ? cookie : getPreferredStyleSheet(); setActiveStyleSheet(title);} window.onunload = function(e) { var title = getActiveStyleSheet(); createCookie("style", title, 365);} var cookie = readCookie("style");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Themes for FederID Project</title>
<meta name="keywords" lang="en" content="test" />
<meta name="description" content="Themes for FederID" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" href="federid/default.css" title="FederID Test"/>
<link rel="alternate stylesheet" type="text/css" href="federid/idp.css" title="FederID Test Authentic"/>
<link rel="alternate stylesheet" type="text/css" href="federid/wui.css" title="FederID Test WUI"/>
<link rel="alternate stylesheet" type="text/css" href="federid/laap.css" title="FederID Test LAAP"/>
<link rel="alternate stylesheet" type="text/css" href="federid/sso.css" title="FederID Test SSO"/>
<link rel="alternate stylesheet" type="text/css" href="federid-dc2/default.css" title="FederID DC2"/>
<link rel="alternate stylesheet" type="text/css" href="dc2/default.css" title="DC2"/>
<script type="text/javascript" src="styleswitcher.js"></script>
</head>
<body>
<div id="page">
<div id="top"><h1>&nbsp;</h1></div>
<div id="info-box"><h1>Title</h1><p>Other text</p></div>
<div id="main-menu">
<h3>Menu 1</h3>
<ul>
<li class="active"><a href="#" title="Test 1">Item 1 (Active)</a></li>
<li><a href="#" title="Test 2">Item 2</a></li>
</ul>
<h3>Logos</h3>
<a href="http://www.federid.org"><img src="bouton_federid.png" alt="FederID"/></a>
<a href="http://www.interldap.org"><img src="bouton_interldap.png" alt="InterLDAP"/></a>
<a href="http://authentic.labs.libre-entreprise.org"><img src="bouton_authentic.png" alt="Authentic"/></a>
<a href="http://lemonldap.objectweb.or/"><img src="bouton_lemonldap::ng.png" alt="LemonLDAP::NG"/></a>
</div>
<div id="content">
<h2>H2 Title in content div</h2>
<hr />
<p>Some text in content div</p>
<h3>FederID special themes</h3>
<p><a href="#" onclick="setActiveStyleSheet('FederID Test'); return false;">Change style to FederID Test</a></p>
<p><a href="#" onclick="setActiveStyleSheet('FederID Test Authentic'); return false;">Change style to FederID Test Authentic</a></p>
<p><a href="#" onclick="setActiveStyleSheet('FederID Test WUI'); return false;">Change style to FederID Test WUI</a></p>
<p><a href="#" onclick="setActiveStyleSheet('FederID Test LAAP'); return false;">Change style to FederID Test LAAP</a></p>
<p><a href="#" onclick="setActiveStyleSheet('FederID Test SSO'); return false;">Change style to FederID Test SSO</a></p>
<h3>Old themes</h3>
<p><a href="#" onclick="setActiveStyleSheet('DC2'); return false;">Change style to DC2</a></p>
<p><a href="#" onclick="setActiveStyleSheet('FederID DC2'); return false;">Change style to FederID DC2</a></p>
<h3>Div and messages</h3>
<div class="error"><p>Error</p></div>
<div class="message"><p>Info</p></div>
<h3>A table</h3>
<table>
<tr><th>Title 1</th><th>Title 2</th></tr>
<tr class="line"><td>Content 1</td><td>Content 2</td></tr>
<tr class="line"><td>Content 3</td><td>Content 4</td></tr>
</table>
<h3>A form</h3>
<form action="#" method="post">
<fieldset><legend>Identification</legend>
<label class="required">Login</label><input type="text" name="login" />
<label class="required">Password</label><input type="password" name="password" />
</fieldset>
<fieldset><legend>Informations</legend>
<label>Country</label>
<select name="c"><optgroup label="Europa"><option>France</option><option>Germany</option></optgroup>
<optgroup label="Asia"><option>China</option><option>Japan</option></optgroup></select>
<label>Yes or No ?</label>
<input type="radio" value="yes" name="choice" checked="checked"/>Yes
<input type="radio" value="no" name="choice" />No
<label>Check it baby !</label>
<input type="checkbox" value="1" name="check" />1
<input type="checkbox" value="2" name="check" />2
<label>Describe your holidays</label>
<textarea name="holidays" rows="10" cols="50"></textarea>
</fieldset>
<fieldset><legend>Submit</legend>
<input type="submit" name="submit" value="I'm sure !" />
<input type="reset" name="reset" value="No, reset please !" />
</fieldset>
</form>
<h3>Texts</h3>
<pre>Text in "pre"</pre>
<code>Text in "code"</code>
</div>
<div id="footer"><p>Some text in footer with <a href="#" title="A link">a link</a></p></div>
</div>
</body>
</html>
......@@ -2,7 +2,7 @@ package Lemonldap::NG::Portal;
print STDERR
"See Lemonldap::NG::Portal(3) to know which Lemonldap::NG::Portal::* module to use.";
our $VERSION = "0.77";
our $VERSION = "0.8";
1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment