Debian Codegraph @

demos/button/icons.html

raw symbols SCIP
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery UI Button - Icons</title>
7 <link rel="stylesheet" href="../../themes/base/all.css">
8 <link rel="stylesheet" href="../demos.css">
9 <script src="../../external/requirejs/require.js"></script>
10 <script src="../bootstrap.js">
11 $( ".widget button" )
12 .eq( 0 ).button()
13 .end().eq( 1 ).button( {
14 icon: "ui-icon-gear",
15 showLabel: false
16 } ).end().eq( 2 ).button( {
17 icon: "ui-icon-gear"
18 } ).end().eq( 3 ).button( {
19 icon: "ui-icon-gear",
20 iconPosition: "end"
21 } ).end().eq( 4 ).button( {
22 icon: "ui-icon-gear",
23 iconPosition: "top"
24 } ).end().eq( 5 ).button( {
25 icon: "ui-icon-gear",
26 iconPosition: "bottom"
27 } );
28 </script>
29 </head>
30 <body>
31 <div class="widget">
32 <h1>Widget</h1>
33 <button>Button with only text</button>
34 <button>Button with icon only</button>
35 <button>Button with icon on the left</button>
36 <button>Button with icon on the right</button>
37 <button>Button with icon on the top</button>
38 <button>Button with icon on the bottom</button>
39 </div>
40 <div class="css">
41 <h1>CSS</h1>
42 <button class="ui-button ui-widget ui-corner-all">
43 Button with only text
44 </button>
45 <button class="ui-button ui-widget ui-corner-all ui-button-icon-only" title="Button with icon only">
46 <span class="ui-icon ui-icon-gear"></span> Button with icon only
47 </button>
48 <button class="ui-button ui-widget ui-corner-all">
49 <span class="ui-icon ui-icon-gear"></span> Button with icon on the left
50 </button>
51 <button class="ui-button ui-widget ui-corner-all">
52 Button with icon on the right <span class="ui-icon ui-icon-gear"></span>
53 </button>
54 <button class="ui-button ui-widget ui-corner-all">
55 <span class="ui-icon ui-icon-gear ui-widget-icon-block"></span> Button with icon on the top
56 </button>
57 <button class="ui-button ui-widget ui-corner-all">
58 Button with icon on the bottom <span class="ui-icon ui-icon-gear ui-widget-icon-block"></span>
59 </button>
60 </div>
61 <div class="demo-description">
62 <p>Some buttons with various combinations of text and icons.</p>
63 </div>
64 </body>
65 </html>