/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
83.1.1 by Erik Wikström
Moved login- and password change-views to to an own popups.php-view
1
<div id="passwordChanger">
2
	<p class="passwordHeader">Change password</p><p class="passwordHeaderBorder"></p>
3
	<form id="changePassword" onsubmit="return confirm('<?php echo base_url(); ?>'); return false;">
4
		<p>Current password:
5
			<span class="errorMessage" name="currentPwd" title="Enter your current password.">#</span>
6
			<input type="password" id="currentPwd"/>
7
		</p>
8
		<p>New password:
9
			<span class="errorMessage" name="newPwd" title="Password can only use: a-z A-Z 0-9 _ - and must be of minimum 6 characters.">#</span>
10
			<input type="password" id="newPwd" onkeyup="validNewPwd(), validRepeatedPwd();"/>
11
		</p>
12
		<p>Repeat password:
13
			<span class="errorMessage" name="repeatPwd" title="Passwords don't match!">#</span>
14
			<input type="password" id="repeatPwd" onkeyup="validRepeatedPwd();"/>
15
		</p>
16
		<p>Password hint:
17
			<span class="errorMessage" name="hintPwd" title="This hint should be cool!">#</span>
18
			<input type="text" id="hintPwd"/>
19
		</p>
20
		<input type="button" class="button" value="Cancel" onclick="cancelPasswordChange();"/>
21
		<input type="button" class="button" value="Ok" onclick="confirm('<?php echo base_url(); ?>');"/>
22
	</form>
23
</div>
24
83.1.2 by Erik Wikström
Moved popup-code from header.js to popup-roland.js (popup.js exists). Moved popup-styles from header.css to popup.css.
25
<div id="loginForm">
83.1.1 by Erik Wikström
Moved login- and password change-views to to an own popups.php-view
26
	<h2 class="loginTitle">Login<button type="button" id="popupxButton" onClick="loginButtonHide()">x</button></h2>
27
	<?php echo form_open('login/validate'); ?>
28
	<div class="inputarea">
83.1.2 by Erik Wikström
Moved popup-code from header.js to popup-roland.js (popup.js exists). Moved popup-styles from header.css to popup.css.
29
		<input class="text" type="text" size="20" id="username" name="username" /><br>
30
		<input class="text" type="password" size="20" id="password" name="password" /><br>
83.1.1 by Erik Wikström
Moved login- and password change-views to to an own popups.php-view
31
	</div>
32
	<div>
33
		<input class="hint btn" type="button" onclick="passwordHint('<?php echo base_url(); ?>');"/>
34
		<input class="submit btn" type="submit" value="Login"/>
35
		<div id='hinttext'></div>
36
	</div>
37
	</form>
38
</div>