|
|
@@ -2,327 +2,112 @@
|
|
|
<html>
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
- <title>LungoJS - Kitchen Sink</title>
|
|
|
+ <title>KitchenSink - Lungo 2.0</title>
|
|
|
<meta name="description" content="">
|
|
|
<meta name="author" content="Javier Jiménez Villar (@soyjavi)">
|
|
|
- <!-- Mobile viewport optimization http://goo.gl/b9SaQ -->
|
|
|
<meta name="HandheldFriendly" content="True">
|
|
|
<meta name="MobileOptimized" content="320">
|
|
|
- <meta http-equiv="cleartype" content="on">
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
<meta name="format-detection" content="telephone=no">
|
|
|
- <!-- For iPhone 4 with high-resolution Retina display: -->
|
|
|
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/icon@2x.png">
|
|
|
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/icon-72.png">
|
|
|
- <link rel="apple-touch-icon-precomposed" href="assets/images/icon.png">
|
|
|
- <link rel="apple-touch-startup-image" href="assets/images/default.png">
|
|
|
+ <meta http-equiv="cleartype" content="on">
|
|
|
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://lungo.tapquo.com/resources/icon@2x.png">
|
|
|
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://lungo.tapquo.com/resources/icon-72.png">
|
|
|
+ <link rel="apple-touch-icon-precomposed" href="http://lungo.tapquo.com/resources/icon.png">
|
|
|
+ <link rel="apple-touch-startup-image" href="http://lungo.tapquo.com/resources/default.png">
|
|
|
+
|
|
|
<!-- Main Stylesheet -->
|
|
|
+ <!--
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.base.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.nav.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.aside.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.article.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.list.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.grid.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.splash.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.button.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.form.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.colour.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.brand.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.loading.css">
|
|
|
+ <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.notification.css">
|
|
|
<link rel="stylesheet" href="../../src/stylesheets/css/Lungo.theme.default.css">
|
|
|
+ -->
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.icon.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.icon.brand.css">
|
|
|
+ <link rel="stylesheet" href="../../release/lungo.theme.default.css">
|
|
|
+
|
|
|
<!-- App Stylesheet -->
|
|
|
- <link rel="stylesheet" href="assets/stylesheets/app.css">
|
|
|
+ <link rel="stylesheet" href="stylesheets/app.css">
|
|
|
</head>
|
|
|
|
|
|
<body class="app">
|
|
|
- <!--
|
|
|
- <section id="login">
|
|
|
- <article class="splash">
|
|
|
- <div class="indented">
|
|
|
- <h1>Kitchen<span }
|
|
|
->Sink<span></h1>
|
|
|
-
|
|
|
- <input type="text" placeholder="Type your user" />
|
|
|
- <input type="password" placeholder="Type your password" />
|
|
|
-
|
|
|
- <a href="#kitchen-sink" data-target="section" class="button big" data-icon="check">Go to Kitchen Sink!</a>
|
|
|
- <div class="copyright">Copyright TapQuo Inc, 2011</div>
|
|
|
-
|
|
|
- <div class="switch">
|
|
|
- <span class="thumb"></span>
|
|
|
- <input type="checkbox" checked="off" />
|
|
|
- </div>
|
|
|
-
|
|
|
+ <section id="main" data-transition="slide">
|
|
|
+ <header class="">
|
|
|
+ <nav class="left button">
|
|
|
+ <a href="#features" data-target="aside" data-icon="menu"></a>
|
|
|
+ </nav>
|
|
|
+ <nav class="right button">
|
|
|
+ <a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Flungo.tapquo.com%2F&text=@lungojs a framework for developers who want to design, build and share cross device apps" data-icon="share" data-label="Share" target="_blank" ></a>
|
|
|
+ </nav>
|
|
|
+ <div class="left">
|
|
|
+ <span class="title">Lungo Framework</span>
|
|
|
</div>
|
|
|
- </article>
|
|
|
- </section>
|
|
|
- -->
|
|
|
-
|
|
|
- <!-- ============================= kitchen-sink ============================= -->
|
|
|
-
|
|
|
- <section id="kitchen-sink">
|
|
|
- <header data-title="LungoJS Kitchen Sink">
|
|
|
- <a href="#kitchen-sink-scroll" class="button left" data-target="aside" data-icon="items"></a>
|
|
|
- <a href="#profiles" data-target="aside" data-article="welcome" class="button right">Profiles</a>
|
|
|
</header>
|
|
|
|
|
|
- <!-- ============================= welcome ============================= -->
|
|
|
- <article id="welcome" class="list scrollable indented">
|
|
|
- <div>
|
|
|
- <h1 class="title" data-icon="home">Welcome to LungoJS KitchenSink</h1>
|
|
|
- <p class="text">
|
|
|
- The first <strong>Mobile Framework</strong> that uses the actual features of #HTML5, #CSS3 and #JavaScript.</p>
|
|
|
- <p class="text">
|
|
|
- The main premise in Lungo is to create a semantic structure in the whole project, starting from the markup language HTML, through a well organized CSS< and ending with the JavaScript API</p>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
-
|
|
|
- <!-- ============================= buttons ============================= -->
|
|
|
- <article id="buttons" class="scrollable indented">
|
|
|
- <div>
|
|
|
- <a href="#" class="button big">default</a>
|
|
|
- <a href="#" class="button big disabled">disabled</a>
|
|
|
- <a href="#" class="button big red">red</a>
|
|
|
- <a href="#" class="button big lightgreen">lightgreen</a>
|
|
|
- <a href="#" class="button big green">green</a>
|
|
|
- <a href="#" class="button big blue">blue</a>
|
|
|
- <a href="#" class="button big arcticblue">articblue</a>
|
|
|
- <a href="#" class="button big orange">orange</a>
|
|
|
- <a href="#" class="button big magenta">magenta</a>
|
|
|
- <a href="#" class="button big pink">pink</a>
|
|
|
- <a href="#" class="button big yellow">yellow</a>
|
|
|
- <a href="#" class="button big twitter">twitter</a>
|
|
|
- <a href="#" class="button big facebook">facebook</a>
|
|
|
-
|
|
|
- <div class="text">You can view other examples push in the next button</div>
|
|
|
-
|
|
|
- <a href="#buttons-extra" data-target="section" class="button black big" data-icon="add">View other Examples</a>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
-
|
|
|
- <!-- ============================= icons ============================= -->
|
|
|
- <article id="icons" class="list scrollable">
|
|
|
- <div class="indented">
|
|
|
- <h1 class="title"><class> icon: everything is a vector!</h1>
|
|
|
- <p class="text">In the listed examples you are seeing a attribute "data-icon", this attribute only need the semantic name of the icon you want to show and LungoJS will do the rest of the work.</p>
|
|
|
-
|
|
|
- <ul>
|
|
|
- <li data-icon="map small">map</li>
|
|
|
- <li data-icon="clock small">clock</li>
|
|
|
- <li data-icon="calendar small">calendar</li>
|
|
|
- <li data-icon="message small">message</li>
|
|
|
- <li data-icon="chat small">chat</li>
|
|
|
- <li data-icon="user small">user</li>
|
|
|
- <li data-icon="group small">group</li>
|
|
|
- <li data-icon="loading small">loading</li>
|
|
|
- <li data-icon="refresh small">refresh</li>
|
|
|
- <li data-icon="search small">search</li>
|
|
|
- <li data-icon="pushpin small">pushpin</li>
|
|
|
- <li data-icon="star small">star</li>
|
|
|
- <li data-icon="heart small">heart</li>
|
|
|
- <li data-icon="warning small">warning</li>
|
|
|
- <li data-icon="add small">add</li>
|
|
|
- <li data-icon="remove small">remove</li>
|
|
|
- <li data-icon="question small">question</li>
|
|
|
- <li data-icon="info small">info</li>
|
|
|
- <li data-icon="check small">check</li>
|
|
|
- <li data-icon="substract small">substract</li>
|
|
|
- <li data-icon="close small">close</li>
|
|
|
- <li data-icon="plus small">plus</li>
|
|
|
- <li data-icon="up small">up</li>
|
|
|
- <li data-icon="down small">down</li>
|
|
|
- <li data-icon="left small">left</li>
|
|
|
- <li data-icon="right small">right</li>
|
|
|
- <li data-icon="home small">home</li>
|
|
|
- <li data-icon="pencil small">pencil</li>
|
|
|
- <li data-icon="edit small">edit</li>
|
|
|
- <li data-icon="picture small">picture</li>
|
|
|
- <li data-icon="camera small">camera</li>
|
|
|
- <li data-icon="music small">music</li>
|
|
|
- <li data-icon="wifi small">wifi</li>
|
|
|
- <li data-icon="file small">file</li>
|
|
|
- <li data-icon="files small">files</li>
|
|
|
- <li data-icon="folder small">folder</li>
|
|
|
- <li data-icon="key small">key</li>
|
|
|
- <li data-icon="settings small">settings</li>
|
|
|
- <li data-icon="chart small">chart</li>
|
|
|
- <li data-icon="trash small">trash</li>
|
|
|
- <li data-icon="target small">target</li>
|
|
|
- <li data-icon="items small">items</li>
|
|
|
- <li data-icon="download small">download</li>
|
|
|
- <li data-icon="upload small">upload</li>
|
|
|
- <li data-icon="basket small">basket</li>
|
|
|
- <li data-icon="phone small">phone</li>
|
|
|
- <li data-icon="mail small">mail</li>
|
|
|
- <li data-icon="tag small">tag</li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
-
|
|
|
- <!-- ============================= data - attributes ============================= -->
|
|
|
- <article id="data-attributes" class="list scrollable">
|
|
|
- <div class="indented">
|
|
|
- <h1 class="title">The data-attributes</h1>
|
|
|
- <ul>
|
|
|
- <li data-icon="user">
|
|
|
- data-icon
|
|
|
- <small>Creates an icon LungoJS vectorized</small>
|
|
|
- </li>
|
|
|
- <li data-image="assets/images/avatars/1.jpg">
|
|
|
- data-image
|
|
|
- <small>Instance a <img> automatically</small>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- data-search
|
|
|
- <small>Creates a search input form</small>
|
|
|
- </li>
|
|
|
- <li data-search="Type your search..."></li>
|
|
|
- </ul>
|
|
|
-
|
|
|
- <h1 class="title">Others</h1>
|
|
|
- <ul>
|
|
|
- <li>
|
|
|
- data-title
|
|
|
- <small>Relationship field between <header> and <a></small>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- <div class="right" data-count="23 units"></div>
|
|
|
- data-count
|
|
|
- <small>Creates counters of different <elements></small>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- data-back
|
|
|
- <small>Creates a button that goes to the previous section.</small>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
-
|
|
|
- <!-- ============================= events ============================= -->
|
|
|
- <article id="events" class="list scrollable">
|
|
|
- <div class="indented">
|
|
|
- <ul>
|
|
|
- <li class="tip darker" data-icon="user">
|
|
|
- Test events
|
|
|
- <small>... in each row.</small>
|
|
|
- </li>
|
|
|
- <li class="anchor">Common Events</li>
|
|
|
- <li id="event_touchstart">Touchstart me!</li>
|
|
|
- <li id="event_touchend">Touchend me!</li>
|
|
|
- <li id="event_touchmove">Touchmove me!</li>
|
|
|
- <li class="anchor">Tap Events</li>
|
|
|
- <li id="event_tap">Tap me!</li>
|
|
|
- <li id="event_doubletap">Double-Tap me!</li>
|
|
|
- <li id="event_longtap">Long-Tap me!</li>
|
|
|
- <li class="anchor">Special Events</li>
|
|
|
- <li id="swipe" data-icon="user">
|
|
|
- Swipe me!
|
|
|
- <small>Drag in any direction</small></li>
|
|
|
- <li id="swipe_left" data-icon="left">Swipe-Left me!
|
|
|
- <small>Drag in any direction</small></li>
|
|
|
- <li id="swipe_right" data-icon="right">Swipe-Right me!
|
|
|
- <small>Drag in any direction</small></li>
|
|
|
- <li id="swipe_up" data-icon="up">Swipe-Up me!
|
|
|
- <small>Drag in any direction</small></li>
|
|
|
- <li id="swipe_down" data-icon="down">Swipe-Down me!
|
|
|
- <small>Drag in any direction</small></li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+ <article id="main-article" class="list indented scroll">
|
|
|
+ <ul>
|
|
|
+ <li class="contrast">
|
|
|
+ <strong>
|
|
|
+ A framework for developers who want to design, build and share cross device apps.
|
|
|
+ </strong>
|
|
|
+ </li>
|
|
|
+ <li data-icon="brand html5" class="feature">
|
|
|
+ <strong>HTML5 Optimized Apps</strong>
|
|
|
+ Lungo Framework supports open web standards, such as HTML5, CSS3 and JavaScript. It brings consistent browser environment across mobiles, tvs and desktop devices.
|
|
|
+ </li>
|
|
|
+ <li data-icon="brand github-2" class="feature">
|
|
|
+ <strong>Open Source Project</strong>
|
|
|
+ Each new line of code in Lungo is welcome, we hope that Developers and restless minds help us to improve day by day this humble project.
|
|
|
+ </li>
|
|
|
+ <li data-icon="book" class="feature">
|
|
|
+ <strong>Powerfull JavaScript API</strong>
|
|
|
+ Each new line of code in Lungo is welcome, we hope that Developers and restless minds help us to improve day by day this humble project.
|
|
|
+ </li>
|
|
|
+ <li data-icon="brand branch" class="feature">
|
|
|
+ <strong>Multi-Device full support</strong>
|
|
|
+ Is known that create apps for each platform is expensive, this situation is increased by the arrival of tablets and SmartTVs. Lungo will suit all of them creating a unique and amazing UX.
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
</article>
|
|
|
+ </section>
|
|
|
|
|
|
- <!-- ============================= scrolls ============================= -->
|
|
|
- <article id="scrolls">
|
|
|
- <div id="scroll-horizontal" class="scroll-demo scrollable horizontal">
|
|
|
- <div style="width: 1036px;">
|
|
|
- <span>1</span>
|
|
|
- <span>2</span>
|
|
|
- <span>3</span>
|
|
|
- <span>4</span>
|
|
|
- <span>5</span>
|
|
|
- <span>6</span>
|
|
|
- <span>7</span>
|
|
|
- <span>8</span>
|
|
|
- <span>9</span>
|
|
|
- <span>10</span>
|
|
|
- <span>11</span>
|
|
|
- <span>12</span>
|
|
|
- <span>13</span>
|
|
|
- <span>14</span>
|
|
|
- <span>15</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="scroll-vertical" class="scroll-demo scrollable vertical">
|
|
|
- <div>
|
|
|
- <span>1</span>
|
|
|
- <span>2</span>
|
|
|
- <span>3</span>
|
|
|
- <span>4</span>
|
|
|
- <span>5</span>
|
|
|
- <span>6</span>
|
|
|
- <span>7</span>
|
|
|
- <span>8</span>
|
|
|
- <span>9</span>
|
|
|
- <span>10</span>
|
|
|
- <span>11</span>
|
|
|
- <span>12</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
+ <!-- Lungo dependencies -->
|
|
|
+ <script src="../../src/lib/quo.debug.js"></script>
|
|
|
|
|
|
- <!-- ============================= authors ============================= -->
|
|
|
- <article id="urls" class="list scrollable">
|
|
|
- <div class="indented">
|
|
|
- <ul>
|
|
|
- <li class="anchor" data-icon="pencil">Send a mail</li>
|
|
|
- <li data-icon="mail">
|
|
|
- <a href="mailto:javi@tapquo.com">
|
|
|
- Send a email
|
|
|
- <small>href="mailto:"</small></a></li>
|
|
|
- <li data-icon="phone">
|
|
|
- <a href="tel:+34123">
|
|
|
- Phone call
|
|
|
- <small>href="tel:"</small></a></li>
|
|
|
- <li data-icon="chat">
|
|
|
- <a href="sms:+34123">
|
|
|
- Text a message
|
|
|
- <small>href="sms:"</small></a></li>
|
|
|
- </ul>
|
|
|
+ <script src="../../release/lungo.js"></script>
|
|
|
|
|
|
- <ul>
|
|
|
- <li class="anchor" data-icon="star">Specials for iOS</li>
|
|
|
- <li data-icon="pushpin">
|
|
|
- <a href="maps:ll=38.870454,-77.055702">
|
|
|
- View a point in a map
|
|
|
- <small>href="maps:"</small></a></li>
|
|
|
- <li data-icon="target">
|
|
|
- <a href="maps:ll=38.870454,-77.055702&z=10">
|
|
|
- View a point in a map (zoom)
|
|
|
- <small>href="maps: &z=10"</small></a></li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- </article>
|
|
|
-
|
|
|
- </section>
|
|
|
-
|
|
|
- <!-- Third parties dependencies -->
|
|
|
- <script src="../../src/lib/QuoJS.js"></script>
|
|
|
- <script src="../../src/lib/iscroll-lite.js"></script>
|
|
|
- <!-- LungoJS Libraries (Development mode)-->
|
|
|
+ <!--
|
|
|
<script src="../../src/Lungo.js"></script>
|
|
|
- <script src="../../src/Lungo.App.js" ></script>
|
|
|
+ <script src="../../src/Lungo.init.js"></script>
|
|
|
<script src="../../src/Lungo.Core.js"></script>
|
|
|
<script src="../../src/Lungo.Dom.js"></script>
|
|
|
<script src="../../src/Lungo.Service.js"></script>
|
|
|
<script src="../../src/Lungo.Constants.js"></script>
|
|
|
+ <script src="../../src/Lungo.Element.js"></script>
|
|
|
+ <script src="../../src/Lungo.Events.js"></script>
|
|
|
+ <script src="../../src/Lungo.Notification.js"></script>
|
|
|
<script src="../../src/router/Lungo.Router.js"></script>
|
|
|
<script src="../../src/router/Lungo.Router.History.js" ></script>
|
|
|
<script src="../../src/view/Lungo.View.Resize.js"></script>
|
|
|
<script src="../../src/view/Lungo.View.Article.js" ></script>
|
|
|
<script src="../../src/view/Lungo.View.Aside.js" ></script>
|
|
|
- <script src="../../src/view/Lungo.View.Scroll.js"></script>
|
|
|
<script src="../../src/view/Lungo.View.Element.js"></script>
|
|
|
<script src="../../src/view/Lungo.View.Template.js"></script>
|
|
|
<script src="../../src/view/Lungo.View.Template.Binding.js"></script>
|
|
|
@@ -332,7 +117,6 @@
|
|
|
<script src="../../src/data/Lungo.Data.Storage.js"></script>
|
|
|
<script src="../../src/attributes/Lungo.Attributes.Data.js"></script>
|
|
|
<script src="../../src/Lungo.Fallback.js"></script>
|
|
|
- <script src="../../src/boot/Lungo.Boot.js"></script>
|
|
|
<script src="../../src/boot/Lungo.Boot.Resources.js" ></script>
|
|
|
<script src="../../src/boot/Lungo.Boot.Stats.js" ></script>
|
|
|
<script src="../../src/boot/Lungo.Boot.Layout.js"></script>
|
|
|
@@ -340,12 +124,23 @@
|
|
|
<script src="../../src/boot/Lungo.Boot.Data.js"></script>
|
|
|
<script src="../../src/boot/Lungo.Boot.Section.js"></script>
|
|
|
<script src="../../src/boot/Lungo.Boot.Article.js"></script>
|
|
|
+ -->
|
|
|
|
|
|
<!-- LungoJS - Sandbox App -->
|
|
|
+ <script>
|
|
|
+ Lungo.init({
|
|
|
+ name: 'Kitchen Sink',
|
|
|
+ version: '2.0',
|
|
|
+ sugars: ['map', 'pull'],
|
|
|
+ resources: {
|
|
|
+ sections: [ 'layout.html', 'notification.html', 'list.html', 'icon.html', 'grid.html', 'form.html', 'aside.html', 'touchevents.html', 'splash.html', 'data-attribute.html', 'scroll.html', 'color.html'],
|
|
|
+ templates: [],
|
|
|
+ asides: ['features.html', 'left.html', 'right.html']
|
|
|
+ }
|
|
|
+ });
|
|
|
+ </script>
|
|
|
<script src="app/app.js"></script>
|
|
|
- <script src="app/events.js"></script>
|
|
|
- <script src="app/view.js"></script>
|
|
|
- <script src="app/data.js"></script>
|
|
|
- <script src="app/services.js"></script>
|
|
|
+ <script src="app/events.notification.js"></script>
|
|
|
+ <script src="app/events.touch.js"></script>
|
|
|
</body>
|
|
|
</html>
|