Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
390 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cheque is a checkbook application for webOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
function DashboardAssistant() { | ||
/* this is the creator function for your scene assistant object. It will be passed all the | ||
additional parameters (after the scene name) that were passed to pushScene. The reference | ||
to the scene controller (this.controller) has not be established yet, so any initialization | ||
that needs the scene controller should be done in the setup function below. */ | ||
} | ||
|
||
DashboardAssistant.prototype.setup = function() { | ||
/* this function is for setup tasks that have to happen when the scene is first created */ | ||
|
||
/* use Mojo.View.render to render view templates and add them to the scene, if needed. */ | ||
|
||
/* setup widgets here */ | ||
|
||
/* add event handlers to listen to events from widgets */ | ||
}; | ||
|
||
DashboardAssistant.prototype.activate = function(event) { | ||
/* put in event handlers here that should only be in effect when this scene is active. For | ||
example, key handlers that are observing the document */ | ||
}; | ||
|
||
|
||
DashboardAssistant.prototype.deactivate = function(event) { | ||
/* remove any event handlers you added in activate and do any other cleanup that should happen before | ||
this scene is popped or another scene is pushed on top */ | ||
}; | ||
|
||
DashboardAssistant.prototype.cleanup = function(event) { | ||
/* this function should do any cleanup needed before the scene is destroyed as | ||
a result of being popped off the scene stack */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
function StageAssistant() { | ||
} | ||
|
||
StageAssistant.prototype.setup = function() { | ||
this.controller.pushScene("dashboard"); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<h2>Accounts List</h2> | ||
<table id="accountsList" border="0" cellspacing="5" cellpadding="5"> | ||
<tr><th>Account</th><th>Balance</th></tr> | ||
<tr><td>AccName</td><td>Bal1</td></tr> | ||
<tr><td>AccName</td><td>Bal1</td></tr> | ||
<tr><td>AccName</td><td>Bal1</td></tr> | ||
<tr><td>AccName</td><td>Bal1</td></tr> | ||
<tr><td>AccName</td><td>Bal1</td></tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "com.thynctank.cheque", | ||
"version": "0.1", | ||
"vendor": "Thynctank", | ||
"vendorurl": "http://www.thynctank.com", | ||
"type": "web", | ||
"main": "index.html", | ||
"title": "Cheque", | ||
"icon": "icon.png" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | ||
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | ||
<head> | ||
<title>Cheque</title> | ||
<script src="/usr/palm/frameworks/mojo/mojo.js" type="text/javascript" x-mojo-version="1" /> | ||
|
||
<!-- application stylesheet should come in after the one loaded by the framework --> | ||
<link href="stylesheets/.css" media="screen" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{"source": "app\/assistants\/stage-assistant.js"}, | ||
{ | ||
"scenes": "dashboard", | ||
"source": "app\/assistants\/dashboard-assistant.js" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* Put Application specific CSS here. */ |