aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/button/button.html
blob: bb80d8a85217e4027a2032ff473dd8689ca2ff28 (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
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Button Visual Test</title>
	<link rel="stylesheet" href="../../../themes/base/all.css">
	<script src="../../../external/requirejs/require.js"></script>
	<script src="../../../demos/bootstrap.js">
		$( ".buttons" ).each(function() {
			$( this ).children()
				.eq( 0 )
					.button({
						showLabel: false,
						icon:  "ui-icon-help"
					})
				.end()
				.eq( 1 )
					.button({
						icon:  "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">
	<a href="#">anchor</a>
	<a href="#">anchor</a>
	<a href="#">anchor</a>
</div>

</body>
</html>