| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> |
| 5 | <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 6 | <title>ToolBarButton</title> |
| 7 | <link href="../../../themes/iphone/base.css" rel="stylesheet"/> |
| 8 | <link href="../../../themes/iphone/base_rtl.css" rel="stylesheet"/> |
| 9 | <link href="../../../themes/iphone/TabBar.css" rel="stylesheet"/> |
| 10 | <link href="../../../themes/iphone/TabBar_rtl.css" rel="stylesheet"/> |
| 11 | <link href="../../../themes/common/domButtons.css" rel="stylesheet"/> |
| 12 | |
| 13 | <script type="text/javascript" src="../../../../../dojo/dojo.js" djConfig="parseOnLoad: true, has:{'dojo-bidi': true}"></script> |
| 14 | |
| 15 | <script language="JavaScript" type="text/javascript"> |
| 16 | dojo.require("dojo.parser"); // Use the lightweight parser. |
| 17 | //dojo.require("dojox.mobile.parser"); |
| 18 | dojo.require("dojox.mobile"); |
| 19 | dojo.require("dojox.mobile.TabBar"); |
| 20 | dojo.requireIf(!dojo.isWebKit, "dojox.mobile.compat"); |
| 21 | |
| 22 | dojo.require("doh.runner"); |
| 23 | </script> |
| 24 | <script type="text/javascript" src="TestUtil_Rtl.js"></script> |
| 25 | <script type="text/javascript" src="ToolBarButton_Rtl.js"></script> |
| 26 | </head> |
| 27 | <body dir="rtl"> |
| 28 | <h1 dojoType="dojox.mobile.Heading" label="World Clock"> |
| 29 | <div id="btn1" dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px">Edit</div> |
| 30 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;" onclick="console.log('+ was clicked')"></div> |
| 31 | |
| 32 | </h1><br> |
| 33 | |
| 34 | |
| 35 | <h1 dojoType="dojox.mobile.Heading"> |
| 36 | <div dojoType="dojox.mobile.ToolBarButton" style="padding: 0px 14px">Edit</div> |
| 37 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" style="float:right;"></div> |
| 38 | Alarm Clock |
| 39 | </h1><br> |
| 40 | |
| 41 | |
| 42 | <h1 dojoType="dojox.mobile.Heading" label="Voice Memos"> |
| 43 | <div dojoType="dojox.mobile.ToolBarButton" label="Speaker"></div> |
| 44 | <div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="float:right;"></div> |
| 45 | </h1><br> |
| 46 | |
| 47 | |
| 48 | <h1 dojoType="dojox.mobile.Heading" label="Updates"> |
| 49 | <div dojoType="dojox.mobile.ToolBarButton" label="Update All" style="float:right;"></div> |
| 50 | </h1><br> |
| 51 | |
| 52 | |
| 53 | <h1 dojoType="dojox.mobile.Heading" label="News" back="Bookmarks" moveTo="bookmarks"> |
| 54 | <div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue" style="float:right;"></div> |
| 55 | </h1><br> |
| 56 | |
| 57 | |
| 58 | <h1 dojoType="dojox.mobile.Heading"> |
| 59 | <div dojoType="dojox.mobile.ToolBarButton" label="Done" class="mblColorBlue"></div> |
| 60 | <div dojoType="dojox.mobile.ToolBarButton" label="New Folder" style="float:right;"></div> |
| 61 | </h1><br> |
| 62 | |
| 63 | |
| 64 | <div dojoType="dojox.mobile.Heading"> |
| 65 | <div dojoType="dojox.mobile.ToolBarButton" toggle="true">New</div> |
| 66 | <div dojoType="dojox.mobile.ToolBarButton" toggle="true">Toggle</div> |
| 67 | <div dojoType="dojox.mobile.ToolBarButton" icon="../../images/a-icon-12.png" moveTo="view3"></div> |
| 68 | <div dojoType="dojox.mobile.ToolBarButton" icon="../../images/tab-icons.png" iconPos="29,0,29,29" moveTo="view3"></div> |
| 69 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus" moveTo="view3" style="float:right;"></div> |
| 70 | </div><br> |
| 71 | |
| 72 | |
| 73 | <h1 dojoType="dojox.mobile.Heading"> |
| 74 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div> |
| 75 | </h1><br> |
| 76 | |
| 77 | |
| 78 | <h1 dojoType="dojox.mobile.Heading" align="center"> |
| 79 | <table cellpadding="0" cellspacing="0" style="width:100%;"><tr> |
| 80 | <td><div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhitePlus"></div></td> |
| 81 | <td align="right"><div dojoType="dojox.mobile.ToolBarButton" icon="../../images/tab-icon-15h.png" style="float:right;"></div></td> |
| 82 | </tr></table> |
| 83 | </h1><br> |
| 84 | |
| 85 | <h1 dojoType="dojox.mobile.Heading" back="Top" label="Inbox(32)"> |
| 86 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteSearch" style="float:right;"></div> |
| 87 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteUpArrow" style="float:right;"></div> |
| 88 | <div dojoType="dojox.mobile.ToolBarButton" icon="mblDomButtonWhiteDownArrow" style="float:right;"></div> |
| 89 | </h1><br> |
| 90 | </body> |
| 91 | </html> |