|
| 1 | +<!DOCTYPE html> |
| 2 | +<!--HTML5 doctype--> |
| 3 | +<html> |
| 4 | + |
| 5 | +<head> |
| 6 | + |
| 7 | + <title>App Framework Kitchen Sink</title> |
| 8 | + <meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 9 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, minimal-ui"> |
| 10 | + <meta name="apple-mobile-web-app-capable" content="yes" /> |
| 11 | + <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
| 12 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 13 | + <link rel="stylesheet" type="text/css" href="src/css/icons.css" /> |
| 14 | + |
| 15 | + <link rel="stylesheet" type="text/css" href="../build/af.ui.css" /> |
| 16 | + |
| 17 | + <script type="text/javascript" charset="utf-8" src="./jquery.min.js"></script> |
| 18 | + <script type="text/javascript" charset="utf-8" src="3rdparty/fastclick.js"></script> |
| 19 | + <script type="text/javascript" charset="utf-8" src="src/af.shim.js"></script> |
| 20 | + <script type="text/javascript" charset="utf-8" src="src/af.ui.js"></script> |
| 21 | + |
| 22 | + |
| 23 | + <script src="src/af.desktopBrowsers.js"></script> |
| 24 | + <script type="text/javascript" charset="utf-8" src="src/af.actionsheet.js"></script> |
| 25 | + <script type="text/javascript" charset="utf-8" src="src/af.animation.js"></script> |
| 26 | + <script type="text/javascript" charset="utf-8" src="src/af.touchEvents.js"></script> |
| 27 | + <script type="text/javascript" charset="utf-8" src="src/af.popup.js"></script> |
| 28 | + <script type="text/javascript" charset="utf-8" src="src/af.drawer.js"></script> |
| 29 | + <script type="text/javascript" charset="utf-8" src="src/af.toast.js"></script> |
| 30 | + <script type="text/javascript" charset="utf-8" src="src/af.animateheader.js"></script> |
| 31 | + <script type="text/javascript" charset="utf-8" src="src/af.splashscreen.js"></script> |
| 32 | + <script type="text/javascript" charset="utf-8" src="src/af.swipereveal.js"></script> |
| 33 | + |
| 34 | + |
| 35 | + <script> |
| 36 | + $.afui.useOSThemes=true; |
| 37 | + $.afui.loadDefaultHash=true; |
| 38 | + $(document).ready(function(){ |
| 39 | + //$.afui.splitview.enable(); |
| 40 | + }) |
| 41 | + |
| 42 | + if($.os.ios) |
| 43 | + $.afui.animateHeader(); |
| 44 | + |
| 45 | + </script> |
| 46 | +</head> |
| 47 | + |
| 48 | +<body > |
| 49 | + <div id="splashscreen" class='ui-loader heavy'> |
| 50 | + App Framework |
| 51 | + <br> |
| 52 | + <br> |
| 53 | + <span class='ui-icon ui-icon-loading spin'></span> |
| 54 | + <h1>Starting app</h1> |
| 55 | + |
| 56 | + </div> |
| 57 | + <div class="view" id="mainview"> |
| 58 | + <header> |
| 59 | + <h1>What</h1> |
| 60 | + </header> |
| 61 | + <div class="pages"> |
| 62 | + <div data-left-drawer="left" class="panel" id="main" data-title="Main" data-selected="true"> |
| 63 | + |
| 64 | + <ul class="list"> |
| 65 | + <li><a href="#login" data-transition="up-reveal">Login View (modal)</a></li> |
| 66 | + <li><a href="#drawer" >Drawer</a></li> |
| 67 | + <li><a href="ajax.html" data-refresh="true" >Ajax</a></li> |
| 68 | + <li><a href="#toast" data-transition="flip">Toast</a></li> |
| 69 | + <li><a href="#afforms" >Form Elements</a></li> |
| 70 | + <li><a href="#popup">Popup</a></li> |
| 71 | + <li><a href="#actionsheet">Actionsheet</a></li> |
| 72 | + <li><a href="#foobar">Button Groups</a></li> |
| 73 | + <li><a href="#cards">cards</a></li> |
| 74 | + </ul> |
| 75 | + </div> |
| 76 | + <div class="panel" id="popup" data-title="Popup Plugin" data-include="partials/popup.html"> |
| 77 | + </div> |
| 78 | + <div class="panel" id="actionsheet" data-title="Actionsheet Plugin" data-include="partials/actionsheet.html"> |
| 79 | + </div> |
| 80 | + <div class="panel" id="toast" data-title="Toast Plugin" data-include="partials/toast.html"> |
| 81 | + </div> |
| 82 | + <div data-left-drawer="left" class="panel" id="foobar" data-title="Foobar"> |
| 83 | + Foobar stuff goes here |
| 84 | + |
| 85 | + <div class='button-grouped tabbed'> |
| 86 | + <a class='button'>One</a> |
| 87 | + <a class='button'>two</a> |
| 88 | + <a class='button'>three</a> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + <div data-left-drawer="left" class="panel" id="cards" data-title="Cards"> |
| 92 | + <br> |
| 93 | + <div class="card"> |
| 94 | + <h1>Card One</h1> |
| 95 | + <h2>Card Two</h2> |
| 96 | + </div> |
| 97 | + <div class="card"> |
| 98 | + <h1 class='info'>Meeting</h1> |
| 99 | + <p>This is card content</p> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + <div class="panel" id="drawer" data-title="Drawer"> |
| 103 | + <a href="#" class="button" onclick="$.afui.drawer.hide('#left')">Hide Left</a> |
| 104 | + <a href="#" class="button" data-menu-close>Hide Active</a> |
| 105 | + <a href="#" class="button" data-menu-close data-right-menu="right">Hide Right</a> |
| 106 | + <br> |
| 107 | + <a href="#" class="button" data-left-menu="left" >Cover Left</a> |
| 108 | + <br> |
| 109 | + <a href="#" class="button" onclick="$.afui.drawer.show('#right','right')">Cover Right</a> |
| 110 | + <br> |
| 111 | + <a href="#" class="button" data-left-menu="left" data-transition="push">Left Push</a> |
| 112 | + <br> |
| 113 | + <a href="#" class="button" onclick="$.afui.drawer.show('#left','left','reveal')">Left Reveal</a> |
| 114 | + <br> |
| 115 | + <a href="#" class="button" onclick="$.afui.drawer.show('#right','right','push')">Right Push</a> |
| 116 | + <br> |
| 117 | + <a href="#" class="button" onclick="$.afui.drawer.show('#right','right','reveal')">Right Reveal</a> |
| 118 | + </div> |
| 119 | + |
| 120 | + <div id="afforms" title="Form Styles" class="panel" data-include="partials/forms.html"></div> |
| 121 | + |
| 122 | + </div> |
| 123 | + <footer> |
| 124 | + <a href="#main" class="icon home">Main</a> |
| 125 | + |
| 126 | + <a href="#about" class="icon html5" data-transition="up-reveal">About</a> |
| 127 | + <a href="#test" class="icon trash">test</a> |
| 128 | + <a href="#touchevents" class="icon trash">Touch Events</a> |
| 129 | + </footer> |
| 130 | + <nav id="left" data-include="partials/leftnav.html"> |
| 131 | + |
| 132 | + </nav> |
| 133 | + <nav id="right"> |
| 134 | + <div class="view active" id="navView2"> |
| 135 | + <header> |
| 136 | + <h1>What</h1> |
| 137 | + </header> |
| 138 | + <div class="pages"> |
| 139 | + |
| 140 | + <div class="panel active" id="rightNav" data-title="Foobar"> |
| 141 | + This is the right nav |
| 142 | + </div> |
| 143 | + </div> |
| 144 | + </div> |
| 145 | + </nav> |
| 146 | + </div> |
| 147 | + |
| 148 | + <div class="view" id="touchView"> |
| 149 | + <header><h1></h1></header> |
| 150 | + <div class="pages"> |
| 151 | + <div class="panel" data-title="touch events" id="touchevents" data-include="partials/touch.html"> |
| 152 | + </div> |
| 153 | + </div> |
| 154 | + </div> |
| 155 | + <div class="view" id="aboutView"> |
| 156 | + <header> |
| 157 | + <h1>Bar</h1> |
| 158 | + </header> |
| 159 | + <div class="pages"> |
| 160 | + <div class="panel" id="about" data-title="Bar"> |
| 161 | + About |
| 162 | + </div> |
| 163 | + </div> |
| 164 | + <footer> |
| 165 | + <a href="#" class="icon home" data-back >Home</a> |
| 166 | + <a href="#test" class="icon home">Test</a> |
| 167 | + </footer> |
| 168 | + </div> |
| 169 | + |
| 170 | + <div class="view" id="testView"> |
| 171 | + <header> |
| 172 | + <h1>Bar</h1> |
| 173 | + </header> |
| 174 | + |
| 175 | + <div class="pages"> |
| 176 | + <div class="panel" id="test" data-title="Test Tabbar"> |
| 177 | + About |
| 178 | + </div> |
| 179 | + </div> |
| 180 | + <footer> |
| 181 | + <a class="button" href="#main">Something</a> |
| 182 | + </footer> |
| 183 | + </div> |
| 184 | + |
| 185 | + <div class="view" id="loginView"> |
| 186 | + <div class="pages"> |
| 187 | + <div class="panel" id="login"> |
| 188 | + <h1>Login</h1> |
| 189 | + <div style="height:300px"> |
| 190 | + |
| 191 | + </div> |
| 192 | + <label>Test<input type="text" placeholder="Username"> |
| 193 | + <br> |
| 194 | + <a class='button' href='#' data-message='Hi There' data-alert>Alert</a> |
| 195 | + <a class='button' href='#main' data-transition='up-reveal:dismiss'>Back</a> |
| 196 | + <div style="height:300px;background:green;"> |
| 197 | + asdf |
| 198 | + </div> |
| 199 | + more stuff |
| 200 | + </div> |
| 201 | + </div> |
| 202 | + </div> |
| 203 | +</body> |
| 204 | + |
| 205 | +</html> |
0 commit comments