diff --git a/templates/feidernd/login.php b/templates/feidernd/login.php new file mode 100644 index 0000000000000000000000000000000000000000..305375825b3affa457e7190eb655f8b69ae3d873 --- /dev/null +++ b/templates/feidernd/login.php @@ -0,0 +1,73 @@ +<!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'); ?> »" 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 diff --git a/www/resources/feidernd.css b/www/resources/feidernd.css new file mode 100644 index 0000000000000000000000000000000000000000..99d23a165d54430c46878fb9bc9c2838672a1e4e --- /dev/null +++ b/www/resources/feidernd.css @@ -0,0 +1,178 @@ +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; +} diff --git a/www/resources/login-bkg-bottom.png b/www/resources/login-bkg-bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..69add035639b99bd40177757d481f6090110d557 Binary files /dev/null and b/www/resources/login-bkg-bottom.png differ diff --git a/www/resources/login-bkg-tile.png b/www/resources/login-bkg-tile.png new file mode 100644 index 0000000000000000000000000000000000000000..71f96bd1eb29fc1a12f4f091005eae5bc7dcb108 Binary files /dev/null and b/www/resources/login-bkg-tile.png differ