Commit ccc2ad34 by Sebastián Katzer

Update index.html

parent 112c3d93
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup /> <PropertyGroup>
<ReferenceCachePath>C:\Users\sebastian\AppData\Local\Temp\yxmokjnx_CordovaApp.Phone_refcache</ReferenceCachePath>
</PropertyGroup>
</Project> </Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup /> <PropertyGroup>
<ReferenceCachePath>C:\Users\sebastian\AppData\Local\Temp\anloqo42_CordovaApp.Windows_refcache</ReferenceCachePath>
</PropertyGroup>
</Project> </Project>
\ No newline at end of file
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
under the License. under the License.
--> -->
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" /> <meta name="msapplication-tap-highlight" content="no" />
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<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="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" /> <link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Notification Example</title> <title>Notification Example</title>
</head> </head>
<body> <body>
<div> <div>
<div class="app"> <div class="app">
<h1>Local-Notification Example</h1> <h1>Local-Notification Example</h1>
...@@ -410,5 +410,5 @@ ...@@ -410,5 +410,5 @@
<script type="text/javascript"> <script type="text/javascript">
app.initialize(); app.initialize();
</script> </script>
</body> </body>
</html> </html>
...@@ -42,86 +42,86 @@ ...@@ -42,86 +42,86 @@
<!-- permission --> <!-- permission -->
<h2 class="section" style="padding-top:180px;">Permission (iOS8)</h2> <h2 class="section" style="padding-top:180px;">Permission (iOS8)</h2>
<div class="container"> <div class="container">
<div onclick="hasPermission()">Granted?<br/><span>hasPermission()</span></div> <div onclick="hasPermission()">Granted?<br /><span>hasPermission()</span></div>
<div onclick="registerPermission()">Register<br/><span>registerPermission()</span></div> <div onclick="registerPermission()">Register<br /><span>registerPermission()</span></div>
</div> </div>
<!-- schedule --> <!-- schedule -->
<h2 class="section">Schedule</h2> <h2 class="section">Schedule</h2>
<div class="container"> <div class="container">
<div onclick="schedule()">Single<br/><span>schedule(1)</span></div> <div onclick="schedule()">Single<br /><span>schedule(1)</span></div>
<div onclick="scheduleMultiple()">Multiple<br/><span>schedule(1, 2, 3)</span></div> <div onclick="scheduleMultiple()">Multiple<br /><span>schedule(1, 2, 3)</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="scheduleDelayed()">In 5 sec<br/><span>schedule(1, firstAt:later)</span></div> <div onclick="scheduleDelayed()">In 5 sec<br /><span>schedule(1, firstAt:later)</span></div>
<div onclick="scheduleMinutely()">Every min<br/><span>schedule(1, every:minute)</span></div> <div onclick="scheduleMinutely()">Every min<br /><span>schedule(1, every:minute)</span></div>
</div> </div>
<!-- update --> <!-- update -->
<h2 class="section">Update</h2> <h2 class="section">Update</h2>
<div class="container"> <div class="container">
<div onclick="update()">Title<br/><span>update(1)</span></div> <div onclick="update()">Title<br /><span>update(1)</span></div>
<div onclick="updateInterval()">Interval<br/><span>update(1, every:minute)</span></div> <div onclick="updateInterval()">Interval<br /><span>update(1, every:minute)</span></div>
</div> </div>
<!-- clear --> <!-- clear -->
<h2 class="section">Clear</h2> <h2 class="section">Clear</h2>
<div class="container"> <div class="container">
<div onclick="clearSingle()">Single<br/><span>clear(1)</span></div> <div onclick="clearSingle()">Single<br /><span>clear(1)</span></div>
<div onclick="clearMultiple()">Multiple<br/><span>clear(2, 3)</span></div> <div onclick="clearMultiple()">Multiple<br /><span>clear(2, 3)</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="clearAll()">All<br/><span>clearAll()</span></div> <div onclick="clearAll()">All<br /><span>clearAll()</span></div>
</div> </div>
<!-- cancel --> <!-- cancel -->
<h2 class="section">Cancel</h2> <h2 class="section">Cancel</h2>
<div class="container"> <div class="container">
<div onclick="cancel()">Single<br/><span>cancel(1)</span></div> <div onclick="cancel()">Single<br /><span>cancel(1)</span></div>
<div onclick="cancelMultiple()">Multiple<br/><span>cancel(2, 3)</span></div> <div onclick="cancelMultiple()">Multiple<br /><span>cancel(2, 3)</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="cancelAll()">All<br/><span>cancelAll()</span></div> <div onclick="cancelAll()">All<br /><span>cancelAll()</span></div>
</div> </div>
<!-- presence --> <!-- presence -->
<h2 class="section">Presence</h2> <h2 class="section">Presence</h2>
<div class="container"> <div class="container">
<div onclick="isScheduled()">Scheduled?<br/><span>isScheduled(1)</span></div> <div onclick="isScheduled()">Scheduled?<br /><span>isScheduled(1)</span></div>
<div onclick="isTriggered()">Triggered?<br/><span>isTrigered(1)</span></div> <div onclick="isTriggered()">Triggered?<br /><span>isTrigered(1)</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="isPresent()">Present?<br/><span>present(1)</span></div> <div onclick="isPresent()">Present?<br /><span>present(1)</span></div>
</div> </div>
<!-- id's --> <!-- id's -->
<h2 class="section">ID's</h2> <h2 class="section">ID's</h2>
<div class="container"> <div class="container">
<div onclick="getScheduledIds()">Scheduled<br/><span>getScheduledIds()</span></div> <div onclick="getScheduledIds()">Scheduled<br /><span>getScheduledIds()</span></div>
<div onclick="getTriggeredIds()">Triggered<br/><span>getTriggeredIds()</span></div> <div onclick="getTriggeredIds()">Triggered<br /><span>getTriggeredIds()</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="getIds()">All<br/><span>getIds()</span></div> <div onclick="getIds()">All<br /><span>getIds()</span></div>
</div> </div>
<!-- notifications --> <!-- notifications -->
<h2 class="section">Notifications</h2> <h2 class="section">Notifications</h2>
<div class="container"> <div class="container">
<div onclick="getScheduled()">Scheduled<br/><span>getScheduled()</span></div> <div onclick="getScheduled()">Scheduled<br /><span>getScheduled()</span></div>
<div onclick="getTriggered()">Triggered<br/><span>getTrigered()</span></div> <div onclick="getTriggered()">Triggered<br /><span>getTrigered()</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="get()">Single<br/><span>get(1)</span></div> <div onclick="get()">Single<br /><span>get(1)</span></div>
<div onclick="getMultiple()">Multiple<br/><span>get(1, 2)</span></div> <div onclick="getMultiple()">Multiple<br /><span>get(1, 2)</span></div>
</div> </div>
<div class="container"> <div class="container">
<div onclick="getAll()">All<br/><span>getAll()</span></div> <div onclick="getAll()">All<br /><span>getAll()</span></div>
</div> </div>
<!-- defaults --> <!-- defaults -->
<h2 class="section">Defaults</h2> <h2 class="section">Defaults</h2>
<div class="container"> <div class="container">
<div onclick="setDefaultTitle()">Change title<br/><span>setDefaults(title:"...")</span></div> <div onclick="setDefaultTitle()">Change title<br /><span>setDefaults(title:"...")</span></div>
</div> </div>
<!-- copyright --> <!-- copyright -->
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
text: 'Test Message 1', text: 'Test Message 1',
icon: 'http://www.optimizeordie.de/wp-content/plugins/social-media-widget/images/default/64/googleplus.png', icon: 'http://www.optimizeordie.de/wp-content/plugins/social-media-widget/images/default/64/googleplus.png',
sound: null, sound: null,
data: { test:id } data: { test: id }
}); });
}; };
...@@ -198,10 +198,10 @@ ...@@ -198,10 +198,10 @@
cordova.plugins.notification.local.schedule([{ cordova.plugins.notification.local.schedule([{
id: 1, id: 1,
text: 'Multi Message 1' text: 'Multi Message 1'
},{ }, {
id: 2, id: 2,
text: 'Multi Message 2' text: 'Multi Message 2'
},{ }, {
id: 3, id: 3,
text: 'Multi Message 3' text: 'Multi Message 3'
}]); }]);
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
scheduleDelayed = function () { scheduleDelayed = function () {
var now = new Date().getTime(), var now = new Date().getTime(),
_5_sec_from_now = new Date(now + 5*1000); _5_sec_from_now = new Date(now + 5 * 1000);
var sound = device.platform == 'Android' ? 'file://sound.mp3' : 'file://beep.caf'; var sound = device.platform == 'Android' ? 'file://sound.mp3' : 'file://beep.caf';
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
cordova.plugins.notification.local.update({ cordova.plugins.notification.local.update({
id: 1, id: 1,
text: 'Updated Message 1', text: 'Updated Message 1',
json: { updated:true } json: { updated: true }
}); });
}; };
...@@ -256,11 +256,11 @@ ...@@ -256,11 +256,11 @@
<!-- clear --> <!-- clear -->
<script type="text/javascript"> <script type="text/javascript">
clearSingle = function () { clearSingle = function () {
cordova.plugins.notification.local.clear(1,callback); cordova.plugins.notification.local.clear(1, callback);
}; };
clearMultiple = function () { clearMultiple = function () {
cordova.plugins.notification.local.clear([2, 3],callback); cordova.plugins.notification.local.clear([2, 3], callback);
}; };
clearAll = function () { clearAll = function () {
...@@ -271,11 +271,11 @@ ...@@ -271,11 +271,11 @@
<!-- cancel --> <!-- cancel -->
<script type="text/javascript"> <script type="text/javascript">
cancel = function () { cancel = function () {
cordova.plugins.notification.local.cancel(1,callback); cordova.plugins.notification.local.cancel(1, callback);
}; };
cancelMultiple = function () { cancelMultiple = function () {
cordova.plugins.notification.local.cancel([2, 3],callback); cordova.plugins.notification.local.cancel([2, 3], callback);
}; };
cancelAll = function () { cancelAll = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment