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

Adding a new demotheme: feidernd

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@432 44740490-163a-0410-bde0-09ae8108e29a
parent 4f61950d
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<title><?php echo $this->t('error_header'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel='stylesheet' href="/<?php echo $this->data['baseurlpath']; ?>resources/feidernd.css" type='text/css' />
<!--[if IE]><style type="text/css">#login h1 a { margin-top: 35px; } #login #login_error { margin-bottom: 10px; }</style><![endif]--><!-- Curse you, IE! -->
<style>
input {
border: 1px solid #005;
}
</style>
<script type="text/javascript">
function focusit() {
document.getElementById('username').focus();
}
window.onload = focusit;
</script>
</head>
<body class="login">
<div id="login">
<h1>
<a href="http://feide.no/" title="Go to Feide.no">Feide</a>
</h1>
<form name="loginform" id="loginform" action="?" method="post">
<p>
<label><?php echo $this->t('username'); ?><br />
<input type="text" name="username" id="username" class="input" <?php if (isset($this->data['username'])) {
echo 'value="' . htmlspecialchars($this->data['username']) . '"';
} ?> size="20" tabindex="10" /></label>
</p>
<p>
<label><?php echo $this->t('password'); ?><br />
<input type="password" name="password" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
</p>
<!-- p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> Remember me</label></p -->
<p class="submit">
<input type="submit" name="wp-submit" id="wp-submit" value="<?php echo $this->t('login_button'); ?> &raquo;" tabindex="100" />
<input type="hidden" name="RelayState" value="<?php echo htmlspecialchars($this->data['relaystate']); ?>" />
</p>
<?php if (isset($this->data['error'])) { ?>
<div style="border: 1px solid #500; background: #880b17; ">
<img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/bomb.png" style="float: left; margin: 15px " />
<h2><?php echo $this->t('error_header'); ?></h2>
<p style="padding: .2em"><?php echo $this->t($this->data['error']); ?> </p>
</div>
<?php } ?>
</form>
</div>
<ul>
<li><a href="http://rnd.feide.no/" title="Feide RnD">» Feide RnD</a></li>
</ul>
<!--
<h2><?php echo $this->t('help_header'); ?></h2>
<p><?php echo $this->t('help_text'); ?></p>
-->
</body>
</html>
\ No newline at end of file
body {
font-family: Verdana, Arial, sans-serif;
}
.error {
background: #FFEFF7;
border: 1px solid #c69;
margin: 1em 5% 10px;
padding: 0 1em 0 1em;
}
.wrap {
background: #fff;
border: 1px solid #ccc;
clear: both;
margin: 15px 5%;
padding: 1em;
}
.narrow {
width: 450px;
margin: auto;
}
.narrow p {
line-height: 150%;
}
.wrap h2 {
margin: 0 0 .5em;
clear: both;
}
* html .wrap h2 {
margin-top: 1em;
}
table .vers {
text-align: center;
}
textarea.all-options, input.all-options {
width: 250px;
}
input.disabled, textarea.disabled {
background: #ccc;
}
#content {
margin: 0;
width: 100%;
}
#login input {
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
#login {
position: relative;
background: url('login-bkg-tile.png') no-repeat top center;
color: #fff;
margin: 5em auto 1em;
padding: 20px 0 0;
width: 425px;
_width: 390px;
}
#login form {
background: url('login-bkg-bottom.png') no-repeat bottom center;
padding: 0 50px 25px;
_width: 325px;
_margin: 0 auto;
min-height: 200px;
height: auto !important; /* min-height fast hack */
height: 200px;
}
#login #login_error {
background: #0e3350;
border: 1px solid #2571ab;
color: #ebcd4e;
font-size: 11px;
font-weight: bold;
padding: .6em;
width: 310px;
margin: 0 50px;
text-align: center;
}
#login p {
font-size: 12px;
}
#login p.message {
width: 310px;
margin: 0 auto 1em;
}
#login #login_error a {
color: #ebcd4e;
border-color: #ebcd4e;
}
#login #send {
color: #fff;
text-align: left;
font-weight: normal;
font-size: 1.1em;
_width: 325px;
_margin: 0 auto 15px;
}
#login h1 a {
margin: 0 auto;
height: 88px;
width: 320px;
display: block;
border-bottom: none;
text-indent: -9999px;
}
#login .message {
font-size: 10pt;
text-align: center;
}
#login .register {
font-size: 20px;
}
#login input {
padding: 4px;
}
.login ul, #protected #login .bottom {
list-style: none;
width: 325px;
margin: 0 auto;
padding: 0;
line-height: 1.2;
}
.login ul li {
font-size: 11px;
}
.login ul li a {
color: #0d324f;
border: none;
}
#login ul li a:hover {
color: #fff;
}
#login .input {
font-size: 1.8em;
margin-top: 3px;
width: 97%;
}
#login p label {
font-size: 11px;
}
#login #submit {
margin: 0;
font-size: 15px;
}
.plugins p {
}
#login .fullwidth {
width: 320px;
}
www/resources/login-bkg-bottom.png

3.38 KiB

www/resources/login-bkg-tile.png

59.7 KiB

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