aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/highlight_error.html
blob: e050fefdc71cfc1a7e6b8472bd4d4a2e33bc1288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Themeroller CSS Framework Demo</title>
	<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
	<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
	<script type="text/javascript" src="static_helpers.js"></script>
	<style type="text/css">
		body {font-size: 62.5%; margin: 20px; font-family: Verdana, sans-serif; color: #444;}
		h1 {font-size: 1.5em; margin: 1em 0;}
		h2 {font-size: 1.3em; margin: 2em 0 .5em;}
		h2 a {font-size: .8em;}
		p {font-size: 1.2em; }
		form {margin: 4em 0;}
		div {padding: .2em .5em;}
		.ui-icon {float: left; margin-right: .5em;}
		form div.ui-state-error-text {background: none; border: 0;}
	</style>
</head>
<body>

<h2>Error State</h2>
<div class="ui-state-error ui-corner-all" style="width: 420px;"> 
	<p><span class="ui-icon ui-icon-alert"></span> 
	<strong>Error:</strong> There is a problem in your form submission!</p>
</div>

<h2>Highlight State</h2>
<div class="ui-state-highlight ui-corner-all" style="width: 420px;"> 
	<p><span class="ui-icon ui-icon-info"></span> <strong>Quick Tip!</strong> Hold ctrl while clicking to get contextual helpers.</p>
</div>

<form>
<fieldset>
	<div>
		<label>Text</label>
		<input type="text" value="dafs"  />
	</div>
	
	<div>
		<label>Text</label>
		<input type="text" value="dafs" class="ui-state-error" />
	</div>
	
	<div>
		<input type="radio"  />
		<label>Text</label>
	</div>
	
	<div class="ui-state-error-text">
		<input type="radio"  />
		<label>Text</label>
	</div>

	<div>
		<input type="checkbox" class="ui-state-error" />
		<label>Text</label>
	</div>
	
	<div>
		<label>Text</label>
		<select class="ui-state-error">
		<option val="dasf">dsaf</option>
		<option val="dasf">dsaf</option>
		<option val="dasf">dsaf</option>
		<option val="dasf">dsaf</option>
		</select>
	</div>
	
	<button class="ui-state-default ui-priority-primary ui-corner-all">Primary</button>
	<button class="ui-state-default ui-priority-secondary ui-corner-all">Secondary</button>
	<button class="ui-state-default ui-state-disabled ui-corner-all">Disabled</button>

</fieldset>
</form>

</body>
</html>