Project

General

Profile

« Previous | Next » 

Revision 1742

Added by Dietmar about 12 years ago

! Now you can style account login with your frontend Template CSS
this change is in work for the whole account

View differences:

login.htt
2 2
<!-- BEGIN message_block -->
3 3
{MESSAGE_VALUE}
4 4
<!-- END message_block -->
5

  
6
<hr />
5
<hr /><br />
6
<div class="login-box rounded" style="overflow: hidden;width:100%;">
7 7
<form class="login-box" action="{ACTION_URL}" method="post">
8 8
	<input type="hidden" name="action" value="login" />
9 9
	<input type="hidden" name="username_fieldname" value="{USER_FIELDNAME}" />
10 10
	<input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" />
11 11
	<input type="hidden" name="redirect" value="{REDIRECT_URL}" />
12 12

  
13
<table summary="" style="width: 60%; font-size: 1em;">
14
		<tr>
15
			<td height="10" colspan="2" style="text-align: center;"><h1>{TEXT_LOGIN}</h1></td>
16
		</tr>
17
		<tr>
18
			<td height="40" style="text-align: center;" colspan="2">
19
			<strong style="text-align: center;">{THISAPP_MESSAGE_VALUE}</strong>
20
			</td>
21
		</tr>
22
<tr>
23
	<td style="width:100px">{TEXT_USERNAME}:</td>
24
	<td class="value_input">
25
		<input type="text" name="{USER_FIELDNAME}" maxlength="30" style="width:220px;"/>
13
<table summary="">
14
<tbody>
15
<tr class="row1">
16
	<td colspan="3"><h1>{TEXT_LOGIN}</h1></td>
17
</tr>
18
<tr class="row2">
19
	<td colspan="3">
20
	<strong>{THISAPP_MESSAGE_VALUE}</strong>
21
	</td>
22
</tr>
23
<tr class="row3">
24
	<td class="bold">{TEXT_USERNAME}:</td>
25
	<td colspan="2">
26
		<input type="text" name="{USER_FIELDNAME}" maxlength="30"  style="width:98%;"/>
26 27
    	<script type="text/javascript">
27 28
    	// document.login.{USER_FIELDNAME}.focus();
28 29
    	var ref= document.getElementById("{USER_FIELDNAME}");
......
30 31
    	</script>
31 32
	</td>
32 33
</tr>
33
<tr>
34
	<td style="width:100px">{TEXT_PASSWORD}:</td>
35
	<td class="value_input">
36
		<input type="password" name="{PASSWORD_FIELDNAME}" maxlength="30" style="width:220px;"/>
34
<tr class="row4">
35
	<td class="bold">{TEXT_PASSWORD}:</td>
36
	<td colspan="2">
37
		<input type="password" name="{PASSWORD_FIELDNAME}" maxlength="30" style="width:98%;"/>
37 38
	</td>
38 39
</tr>
39 40
<!-- BEGIN show_smart_login_block -->
40 41
<tr>
41 42
	<td>&nbsp;</td>
42
	<td>
43
	<td colspan="2">
43 44
		<input type="checkbox" name="remember" id="remember" value="true"/>
44 45
		<label for="remember">{TEXT_REMEMBER_ME}</label>
45 46
	</td>
46 47
</tr>
47 48
<!-- END show_smart_login_block -->
48
<tr>
49
	<td colspan="2" style="text-align: center;">
50
		<input type="submit" name="submit" value="{TEXT_LOGIN}" style="padding: 3px;"  />
51
		<input type="reset" name="reset" value="{TEXT_RESET}" style="padding: 3px;"  />
52
	<button type="button" value="cancel" onclick="javascript:window.location = '{WB_URL}/';" style="padding: 3px;" >{TEXT_CANCEL}</button>
49
<tr class="submit">
50
	<td>
51
	<p><input type="submit" name="submit" value="{TEXT_LOGIN}"  /></p>
53 52
	</td>
53
	<td>
54
	<p><input type="reset" name="reset" value="{TEXT_RESET}" /></p>
55
	</td>
56
	<td>
57
	<p><button type="button" value="cancel" onclick="javascript:window.location='{WB_URL}/';" >{TEXT_CANCEL}</button></p>
58
	</td>
54 59
</tr>
55
<tr>
56
	<td colspan="2" style="text-align: center;">
60
<tr class="row6">
61
	<td colspan="3">
57 62
	<p class="link"><a href="{FORGOT_URL}">{TEXT_FORGOTTEN_DETAILS}</a></p>
58 63
	</td>
59 64
</tr>
65
</tbody>
60 66
</table>
61 67
</form>
68
</div>
69

  
62 70
<!-- END main_block -->

Also available in: Unified diff