aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/button/button.html
blob: 9207e1bd8cd6e40fc1cf95801127ab0f3e537698 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Button Visual Test</title>
	<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
	<script src="../../../jquery-1.8.0.js"></script>
	<script src="../../../ui/jquery.ui.core.js"></script>
	<script src="../../../ui/jquery.ui.widget.js"></script>
	<script src="../../../ui/jquery.ui.button.js"></script>
	<script>
	$(function() {
		$( ".buttons" ).each(function() {
			$( this ).children()
				.eq( 0 )
					.button({
						text: false,
						icons: {
							primary: "ui-icon-help"
						}
					})
				.end()
				.eq( 1 )
					.button({
						icons: {
							primary: "ui-icon-help"
						},
						disabled: true
					})
				.end()
				.eq( 2 )
					.button();
		});
	});
	</script>
</head>
<body>

<div class="buttons">
	<button>button</button>
	<button>button</button>
	<button>button</button>
</div>

<div class="buttons">
	<button type="button">button button</button>
	<button type="button">button button</button>
	<button type="button">button button</button>
</div>

<div class="buttons">
	<button type="submit">button submit</button>
	<button type="submit">button submit</button>
	<button type="submit">button submit</button>
</div>

<div class="buttons">
	<input type="button" value="input button">
	<input type="button" value="input button">
	<input type="button" value="input button">
</div>

<div class="buttons">
	<input type="submit" value="input submit">
	<input type="submit" value="input submit">
	<input type="submit" value="input submit">
</div>

<div class="buttons">
	<input type="checkbox" id="input-checkbox0">
	<input type="checkbox" id="input-checkbox1">
	<input type="checkbox" id="input-checkbox2">
	<label for="input-checkbox0">input checkbox</label>
	<label for="input-checkbox1">input checkbox</label>
	<label for="input-checkbox2">input checkbox</label>
</div>

<div class="buttons">
	<input type="radio" id="input-radio0" name="radio">
	<input type="radio" id="input-radio1" name="radio">
	<input type="radio" id="input-radio2" name="radio">
	<label for="input-radio0">input radio</label>
	<label for="input-radio1">input radio</label>
	<label for="input-radio2">input radio</label>
</div>

<div class="buttons">
	<a href="#">anchor</a>
	<a href="#">anchor</a>
	<a href="#">anchor</a>
</div>

</body>
</html>