Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
- -->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="format-detection" content="telephone=no" />
- <!-- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> -->
- <meta name="viewport" content="initial-scale=1, width=device-width" />
- <link rel="stylesheet" type="text/css" href="lib/jquery-mobile/jquery.mobile-1.2.0.css" />
- <link rel="stylesheet" type="text/css" href="css/index.css" />
- <title>Hello World</title>
- </head>
- <body>
- <div data-role="page" id="index">
- <div data-role="header">
- <h1>My Title</h1>
- </div>
- <div data-role="content">
- <p>Hello world</p>
- <a href="tel:3394745492">Chiama Daria!</a>
- <p><a href="#find" data-role="button">Trova un passaggio</a></p>
- <p><a href="#offer" data-role="button">Offri un passaggio</a></p>
- </div>
- </div>
- <div data-role="page" id="find">
- <div data-role="header">
- <h1>PoolMeUp! Trova passaggio</h1>
- </div>
- <div data-role="content">
- <label for="origine">Origine:</label>
- <input type="text" name="origine" id="find-origine">
- <label for="destinazione">Destinazione:</label>
- <input type="text" name="destinazione" id="find-destinazione">
- <label for="data">Data:</label>
- <input type="text" name="data" id="data">
- <label for="find-persons">Siamo In:</label>
- <input type="range" name="persons" id="find-persons" value="1" min="1" max="10" />
- <button id="findride">Trova un passaggio!</button>
- </div>
- </div>
- <div data-role="page" id="offer">
- <div data-role="header">
- <h1>PoolMeUp! Offri Passaggio</h1>
- </div>
- <div data-role="content">
- <label for="offer-origine">Origine:</label>
- <input type="text" name="origine" id="offer-origine">
- <label for="offer-destinazione">Destinazione:</label>
- <input type="text" name="destinazione" id="offer-destinazione">
- <label for="offer-data">Data:</label>
- <input type="text" name="data" id="offer-data" placeholder="dd/mm/yyyy hh:mm">
- <label for="offer-persons">Posti disponibili:</label>
- <input type="range" name="persons" id="offer-persons" value="1" min="1" max="10" />
- <label for="maxtreshold">Ritardo ammissibile (minuti):</label>
- <input type="range" name="maxtreshold" id="maxtreshold" value="30" min="0" max="500" />
- <fieldset id="veicolo" data-role="controlgroup" data-type="horizontal">
- <legend>Tipo di Veicolo:</legend>
- <input type="radio" name="veicolo" id="auto" value="auto" checked="checked">
- <label for="auto">Macchina</label>
- <input type="radio" name="veicolo" id="scooter" value="scooter">
- <label for="scooter">Moto</label>
- </fieldset>
- <button id="offerride">Conferma offerta!</button>
- </div>
- </div>
- <div data-role="dialog" id="dialog">
- <div data-role="header" data-theme="d">
- <h1 id="dialogtitle">Titolo</h1>
- </div>
- <div data-role="content" data-theme="c">
- <p id="dialogmessage">Contenuto</p>
- <a href="#" data-role="button" data-rel="back" data-theme="b">Ok</a>
- </div>
- </div>
- <div data-role="page" id="viewpath">
- <div data-role="header">
- <h1>PoolMeUp!</h1>
- </div>
- <div data-role="content">
- <p>Yuppieeee</p>
- <ul id="actionlist" data-role="listview" data-inset="true" data-filter="true">
- <li><a href="#"><h3>Procedi in direzione Nord lungo VIA DI PORTA ANGELICA</h3>
- <p>500m per 30 secondi</p></a></li>
- </ul>
- </div>
- </div>
- <!--
- <div class="app">
- <h1>Apache Cordova</h1>
- <div id="deviceready" class="blink">
- <p class="event listening">Connecting to Device</p>
- <p class="event received">Device is Ready</p>
- </div>
- </div>
- -->
- <script type="text/javascript" src="cordova-2.2.0.js"></script>
- <script type="text/javascript" src="lib/jquery.min.js"></script>
- <script type="text/javascript" src="lib/jquery-mobile/jquery.mobile-1.2.0.min.js"></script>
- <script type="text/javascript" src="js/index.js"></script>
- <script type="text/javascript">
- app.initialize();
- // $.ajax("roma.xml", {success: function(data) { console.log(data); }});
- // $.post("roma.xml", function(data) { console.log(data); });
- $("#offer-origine").val("Via della vasca navale");
- $("#offer-destinazione").val("viale marconi");
- $("#offer-data").val("23/10/1991 23:23");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment