This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from blackberry/restaurantLocator
Added ResturantLocator Example. Updated LICENSE and NOTICE.
- Loading branch information
Showing
11 changed files
with
2,198 additions
and
2 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
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 |
---|---|---|
@@ -1,4 +1,18 @@ | ||
jQuery Mobile Samples | ||
Copyright (c) 2012 Research In Motion Limited. | ||
|
||
This product includes software developed at | ||
Research In Motion Limited (http://www.rim.com/). | ||
This software includes software developed at | ||
Research In Motion Limited | ||
http://www.rim.com/ | ||
|
||
This software includes jQuery | ||
Copyright 2011, John Resig | ||
http://jquery.com | ||
|
||
This software includes Sizzle.js | ||
Copyright 2011, The Dojo Foundation | ||
http://sizzlejs.com | ||
|
||
This software includes the jQuery Mobile Framework | ||
Copyright 2011 (c) jQuery Project | ||
http://jquerymobile.com |
File renamed without changes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,103 @@ | ||
<!-- | ||
* Copyright 2012 Research In Motion Limited. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
--> | ||
|
||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>Restaurant Locator</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="jquery.mobile.css" /> | ||
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | ||
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script> | ||
<style type="text/css" media="screen"> | ||
div.ui-li-aside { | ||
float: right; | ||
margin: 0 1em; | ||
} | ||
.ui-li-aside span { | ||
float: right; | ||
} | ||
.address { | ||
margin-left: 1em; | ||
margin-bottom: 1.5em; | ||
} | ||
.categories { | ||
color: coral; | ||
} | ||
.rating { | ||
margin-left: .3em; | ||
} | ||
.divider { | ||
margin-top: .1em; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div data-role="page"> | ||
<div data-role="content"> | ||
<ul data-role="listview"> | ||
<li><a href="#"> | ||
<h1>Maman's Bakery<hr class='divider'></h1> | ||
<p>This french style bakery will leave you will make you think you in Paris</p> | ||
<p class="address">1523 Main St, Toronto</p> | ||
<p>Categories: <span class='categories'>French, Bakery, Pastries</span></p> | ||
<div class="ui-li-aside"> | ||
<h3>3.1 km NW</h3> | ||
<h4>$</h4> | ||
<span class='rating'>50 reviews</span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
</div> | ||
</a></li> | ||
<li><a href="#"> | ||
<h1>West-End Deli<hr class='divider'></h1> | ||
<p>West-End Deli has some of the best deli meats the city has to offer</p> | ||
<p class="address">82 Stevenson Ave, Toronto</p> | ||
<p>Categories: <span class='categories'>Deli</span></p> | ||
<div class="ui-li-aside"> | ||
<h3>0.6 km S</h3> | ||
<h4>$</h4> | ||
<span class='rating'>3 reviews</span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
</div> | ||
</a></li> | ||
|
||
<li><a href="#"> | ||
<h1>Porter's House<hr class='divider'></h1> | ||
<p>Porter's House is Toronto's premier steakhouse. </p> | ||
<p class="address">210 Canrobert St, Toronto</p> | ||
<p>Categories: <span class='categories'>Fine Dining, Steakhouse</span></p> | ||
<div class="ui-li-aside"> | ||
<h3>1.4 km E</h3> | ||
<h4>$$$</h4> | ||
<span class='rating'>3 reviews</span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
<span class="ui-icon-star ui-icon"></span> | ||
</div> | ||
</a></li> | ||
</ul> | ||
</div><!-- /content --> | ||
</div><!-- /page --> | ||
</body> | ||
</html> |
Oops, something went wrong.