tyrion

index.html

Dec 1st, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.94 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3.    Licensed to the Apache Software Foundation (ASF) under one
  4.    or more contributor license agreements.  See the NOTICE file
  5.    distributed with this work for additional information
  6.    regarding copyright ownership.  The ASF licenses this file
  7.    to you under the Apache License, Version 2.0 (the
  8.    "License"); you may not use this file except in compliance
  9.    with the License.  You may obtain a copy of the License at
  10.  
  11.    http://www.apache.org/licenses/LICENSE-2.0
  12.  
  13.    Unless required by applicable law or agreed to in writing,
  14.    software distributed under the License is distributed on an
  15.    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16.     KIND, either express or implied.  See the License for the
  17.    specific language governing permissions and limitations
  18.    under the License.
  19. -->
  20. <html>
  21.     <head>
  22.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  23.         <meta name="format-detection" content="telephone=no" />
  24.         <!-- <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" /> -->
  25.         <meta name="viewport" content="initial-scale=1, width=device-width" />
  26.         <link rel="stylesheet" type="text/css" href="lib/jquery-mobile/jquery.mobile-1.2.0.css" />
  27.         <link rel="stylesheet" type="text/css" href="css/index.css" />
  28.         <title>Hello World</title>
  29.     </head>
  30.     <body>
  31.  
  32.     <div data-role="page" id="index">
  33.  
  34.         <div data-role="header">
  35.             <h1>My Title</h1>
  36.         </div>
  37.  
  38.         <div data-role="content">
  39.             <p>Hello world</p>
  40.             <a href="tel:3394745492">Chiama Daria!</a>
  41.             <p><a href="#find" data-role="button">Trova un passaggio</a></p>
  42.             <p><a href="#offer" data-role="button">Offri un passaggio</a></p>
  43.         </div>
  44.  
  45.     </div>
  46.  
  47.     <div data-role="page" id="find">
  48.         <div data-role="header">
  49.             <h1>PoolMeUp! Trova passaggio</h1>
  50.         </div>
  51.  
  52.         <div data-role="content">
  53.             <label for="origine">Origine:</label>
  54.             <input type="text" name="origine" id="find-origine">
  55.             <label for="destinazione">Destinazione:</label>
  56.             <input type="text" name="destinazione" id="find-destinazione">
  57.             <label for="data">Data:</label>
  58.             <input type="text" name="data" id="data">
  59.             <label for="find-persons">Siamo In:</label>
  60.             <input type="range" name="persons" id="find-persons" value="1" min="1" max="10" />
  61.             <button id="findride">Trova un passaggio!</button>
  62.         </div>
  63.     </div>
  64.     <div data-role="page" id="offer">
  65.         <div data-role="header">
  66.             <h1>PoolMeUp! Offri Passaggio</h1>
  67.         </div>
  68.  
  69.         <div data-role="content">
  70.             <label for="offer-origine">Origine:</label>
  71.             <input type="text" name="origine" id="offer-origine">
  72.             <label for="offer-destinazione">Destinazione:</label>
  73.             <input type="text" name="destinazione" id="offer-destinazione">
  74.             <label for="offer-data">Data:</label>
  75.             <input type="text" name="data" id="offer-data" placeholder="dd/mm/yyyy hh:mm">
  76.             <label for="offer-persons">Posti disponibili:</label>
  77.             <input type="range" name="persons" id="offer-persons" value="1" min="1" max="10" />
  78.             <label for="maxtreshold">Ritardo ammissibile (minuti):</label>
  79.             <input type="range" name="maxtreshold" id="maxtreshold" value="30" min="0" max="500" />
  80.             <fieldset id="veicolo" data-role="controlgroup" data-type="horizontal">
  81.                 <legend>Tipo di Veicolo:</legend>
  82.                 <input type="radio" name="veicolo" id="auto" value="auto" checked="checked">
  83.                 <label for="auto">Macchina</label>
  84.                 <input type="radio" name="veicolo" id="scooter" value="scooter">
  85.                 <label for="scooter">Moto</label>
  86.             </fieldset>
  87.             <button id="offerride">Conferma offerta!</button>
  88.         </div>
  89.     </div>
  90.  
  91.     <div data-role="dialog" id="dialog">
  92.         <div data-role="header" data-theme="d">
  93.             <h1 id="dialogtitle">Titolo</h1>
  94.         </div>
  95.         <div data-role="content" data-theme="c">
  96.             <p id="dialogmessage">Contenuto</p>
  97.             <a href="#" data-role="button" data-rel="back" data-theme="b">Ok</a>      
  98.         </div>
  99.     </div>
  100.  
  101.     <div data-role="page" id="viewpath">
  102.         <div data-role="header">
  103.             <h1>PoolMeUp!</h1>
  104.         </div>
  105.  
  106.         <div data-role="content">
  107.             <p>Yuppieeee</p>
  108.  
  109.             <ul id="actionlist" data-role="listview" data-inset="true" data-filter="true">
  110.                 <li><a href="#"><h3>Procedi in direzione Nord lungo VIA DI PORTA ANGELICA</h3>
  111.                 <p>500m per 30 secondi</p></a></li>
  112.             </ul>
  113.         </div>
  114.  
  115.     </div>
  116.  
  117.     <!--
  118.        <div class="app">
  119.            <h1>Apache Cordova</h1>
  120.            <div id="deviceready" class="blink">
  121.                <p class="event listening">Connecting to Device</p>
  122.                <p class="event received">Device is Ready</p>
  123.            </div>
  124.        </div>
  125.    -->
  126.         <script type="text/javascript" src="cordova-2.2.0.js"></script>
  127.         <script type="text/javascript" src="lib/jquery.min.js"></script>
  128.         <script type="text/javascript" src="lib/jquery-mobile/jquery.mobile-1.2.0.min.js"></script>
  129.         <script type="text/javascript" src="js/index.js"></script>
  130.         <script type="text/javascript">
  131.             app.initialize();
  132.  
  133.             // $.ajax("roma.xml", {success: function(data) { console.log(data); }});
  134.             // $.post("roma.xml", function(data) { console.log(data); });
  135.  
  136.             $("#offer-origine").val("Via della vasca navale");
  137.             $("#offer-destinazione").val("viale marconi");
  138.             $("#offer-data").val("23/10/1991 23:23");
  139.  
  140.         </script>
  141.     </body>
  142. </html>
Advertisement
Add Comment
Please, Sign In to add comment