This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
/
buttons.html
142 lines (108 loc) · 4.78 KB
/
buttons.html
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!--
jQuery Mobile Boilerplate
/snippets/buttons.html
-->
<!doctype html>
<html>
<head>
<title> jQuery Mobile Boilerplate - Buttons</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="css/jquery.mobile-1.4.0.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
<!-- Custom css -->
<link rel="stylesheet" href="css/custom.css" />
<!-- Javascript includes -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/mobileinit.js"></script>
<script src="js/jquery.mobile-1.4.0.js"></script>
<script src="js/application.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<a href="index.html" data-icon="home">Home</a>
<h1>Buttons</h1>
</div>
<div data-role="content">
<h2>Simple Button</h2>
<a href="index.html" data-role="button">Link button</a>
<h2>Icon Buttons</h2>
<p><b>Left arrow</b> - data-icon="arrow-l"</p>
<a href="index.html" data-role="button" data-icon="arrow-l">My button</a>
<p><b>Right arrow</b> - data-icon="arrow-r"</p>
<a href="index.html" data-role="button" data-icon="arrow-r">My button</a>
<p><b>Up arrow</b> - data-icon="arrow-u"</p>
<a href="index.html" data-role="button" data-icon="arrow-u">My button</a>
<p><b>Down arrow</b> - data-icon="arrow-d"</p>
<a href="index.html" data-role="button" data-icon="arrow-d">My button</a>
<p><b>Delete</b> - data-icon="delete"</p>
<a href="index.html" data-role="button" data-icon="delete">My button</a>
<p><b>Plus</b> - data-icon="plus"</p>
<a href="index.html" data-role="button" data-icon="plus">My button</a>
<p><b>Minus</b> - data-icon="minus"</p>
<a href="index.html" data-role="button" data-icon="minus">My button</a>
<p><b>Check</b> - data-icon="check"</p>
<a href="index.html" data-role="button" data-icon="check">My button</a>
<p><b>Gear</b> - data-icon="gear"</p>
<a href="index.html" data-role="button" data-icon="gear">My button</a>
<p><b>Refresh</b> - data-icon="refresh"</p>
<a href="index.html" data-role="button" data-icon="refresh">My button</a>
<p><b>Forward</b> - data-icon="forward"</p>
<a href="index.html" data-role="button" data-icon="forward">My button</a>
<p><b>Back</b> - data-icon="back"</p>
<a href="index.html" data-role="button" data-icon="back">My button</a>
<p><b>Grid</b> - data-icon="grid"</p>
<a href="index.html" data-role="button" data-icon="grid">My button</a>
<p><b>Star</b> - data-icon="star"</p>
<a href="index.html" data-role="button" data-icon="star">My button</a>
<p><b>Alert</b> - data-icon="alert"</p>
<a href="index.html" data-role="button" data-icon="alert">My button</a>
<p><b>Info</b> - data-icon="info"</p>
<a href="index.html" data-role="button" data-icon="info">My button</a>
<p><b>Home</b> - data-icon="home"</p>
<a href="index.html" data-role="button" data-icon="home">My button</a>
<p><b>Search</b> - data-icon="search"</p>
<a href="index.html" data-role="button" data-icon="search">My button</a>
<h2>Icon positioning</h2>
<p>Right aligned:</p>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="right">Delete</a>
<p>Top aligned</p>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="top">Delete</a>
<p>Bottom aligned</p>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="bottom">Delete</a>
<p>Icon-only button (no text):</p>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
<h2>Inline buttons</h2>
<a href="index.html" data-role="button" data-inline="true">Cancel</a>
<a href="index.html" data-role="button" data-inline="true" data-theme="b">Save</a>
<h2>Grouped buttons</h2>
<div data-role="controlgroup">
<a href="index.html" data-role="button">One</a>
<a href="index.html" data-role="button">Two</a>
<a href="index.html" data-role="button">Three</a>
</div>
<div data-role="controlgroup" data-type="horizontal">
<a href="index.html" data-role="button">One</a>
<a href="index.html" data-role="button">Two</a>
<a href="index.html" data-role="button">Three</a>
</div>
<div data-role="controlgroup" data-type="horizontal">
<a href="index.html" data-role="button" data-icon="home">One</a>
<a href="index.html" data-role="button" data-icon="gear">Two</a>
<a href="index.html" data-role="button" data-icon="refresh">Three</a>
</div>
<div data-role="controlgroup" data-type="horizontal">
<a href="index.html" data-role="button" data-icon="minus" data-iconpos="notext">One</a>
<a href="index.html" data-role="button" data-icon="plus" data-iconpos="notext">Two</a>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Three</a>
</div>
</div>
<div data-role="footer">
<p>© 2012 - jQuery Mobile Boilerplate</p>
</div>
</div>
</body>
</html>