Skip to content

Commit

Permalink
Updated design of hello-world and cordova-basic.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechWizEric committed Jul 22, 2014
1 parent 2b7af19 commit a04ecd4
Show file tree
Hide file tree
Showing 40 changed files with 3,866 additions and 294 deletions.
441 changes: 441 additions & 0 deletions examples/cordova-basic/evothings-app.css

Large diffs are not rendered by default.

132 changes: 0 additions & 132 deletions examples/cordova-basic/evothings-examples.css

This file was deleted.

Binary file not shown.
438 changes: 438 additions & 0 deletions examples/cordova-basic/fonts/ProximaNova-Black-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
451 changes: 451 additions & 0 deletions examples/cordova-basic/fonts/ProximaNova-Bold-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
452 changes: 452 additions & 0 deletions examples/cordova-basic/fonts/ProximaNova-Reg-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
56 changes: 56 additions & 0 deletions examples/cordova-basic/fonts/ProximaNova.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Web Fonts from fontspring.com
*
* All OpenType features and all extended glyphs have been removed.
* Fully installable fonts can be purchased at http://www.fontspring.com
*
* The fonts included in this stylesheet are subject to the End User License you purchased
* from Fontspring. The fonts are protected under domestic and international trademark and
* copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
* distributing this font software.
*
* (c) 2010-2014 Fontspring
*
*
*
*
* The fonts included are copyrighted by the vendor listed below.
*
* Vendor: Mark Simonson Studio
* License URL: http://www.fontspring.com/fflicense/mark-simonson-studio
*
*
*/

@font-face {
font-family: 'Proxima Nova Regular';
src: url('ProximaNova-Reg-webfont.eot');
src: url('ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
url('ProximaNova-Reg-webfont.woff') format('woff'),
url('ProximaNova-Reg-webfont.ttf') format('truetype'),
url('ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova Bold';
src: url('ProximaNova-Bold-webfont.eot');
src: url('ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('ProximaNova-Bold-webfont.woff') format('woff'),
url('ProximaNova-Bold-webfont.ttf') format('truetype'),
url('ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova Black';
src: url('ProximaNova-Black-webfont.eot');
src: url('ProximaNova-Black-webfont.eot?#iefix') format('embedded-opentype'),
url('ProximaNova-Black-webfont.woff') format('woff'),
url('ProximaNova-Black-webfont.ttf') format('truetype'),
url('ProximaNova-Black-webfont.svg#proxima_nova_blblack') format('svg');
font-weight: bolder;
font-style: normal;
}
10 changes: 10 additions & 0 deletions examples/cordova-basic/gfx/arrow_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions examples/cordova-basic/gfx/arrow_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions examples/cordova-basic/gfx/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions examples/cordova-basic/gfx/menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 20 additions & 21 deletions examples/cordova-basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@

<title>Cordova Basic</title>

<link href="libs/bootstrap-3.0.2/css/bootstrap.min.css" rel="stylesheet" media="screen">
<style>
@import 'evothings-examples.css';
@import 'evothings-app.css';
</style>
<script>
// Redirect console to Evothings Workbench.
if (window.hyper) { console.log = hyper.log; }
</script>
<script src="libs/jquery/jquery-2.0.3.js"></script>
<script src="libs/bootstrap-3.0.2/js/bootstrap.min.js"></script>
<script src="cordova.js"></script>
<script src="app.js"></script>

Expand All @@ -27,34 +25,35 @@
<body>

<header>
<button onclick="history.back()">Back</button>
<h1>Cordova Basic</h1>
<button class="back" onclick="history.back()">
<img src="gfx/arrow_left.svg" />
</button>

<img class="logotype" src="gfx/logo.svg" height="60%" alt="Evothings"
title="Evothings" />

<button class="menu" onclick=""><img src="gfx/menu.svg" /></button>
</header>

<h1>Basic Cordova</h1>

<p>This app demonstrates basic Cordova functionality. For the app to work,
you need to run it in the Evothings Client App, or build a native
Cordova app yourself.</p>

<button class="btn btn-lg btn-success"
onclick="messagebox('Hello Evothings!')">
<button class="bluehue" onclick="messagebox('Hello Evothings!')">
Native Dialog
</button>
<button class="btn btn-lg btn-danger"
onclick="navigator.notification.vibrate(1000)">

<button class="brightlight" onclick="navigator.notification.vibrate(1000)">
Vibrate
</button>

<br /><br />

<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Compass</h3>
</div>
<div class="panel-body">
<p id="compass-heading">[Waiting for compass]</p>
<p id="compass-direction"></p>
</div>
</div>

<h2 class="panel-title">Compass</h2>

<p id="compass-heading">[Waiting for compass]</p>

<p id="compass-direction"></p>

</body>

Expand Down
Loading

0 comments on commit a04ecd4

Please sign in to comment.