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
Ash Christopher
committed
Mar 27, 2010
1 parent
7c99b0f
commit 2b1fd00
Showing
92 changed files
with
4,079 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,16 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>Twitter-App</title> | ||
|
||
<link rel="stylesheet" href="/static/jqtouch/jqtouch/jqtouch.css" type="text/css" media="screen" charset="utf-8" /> | ||
|
||
<script type="text/javascript" src='/static/jquery.js'></script> | ||
<script type="text/javascript" src='/static/jqtouch/jqtouch/jqtouch.js'></script> | ||
<script type="text/javascript" src='/static/twitter-app.js'></script> | ||
</head> | ||
|
||
<body> | ||
|
||
</body> | ||
</html> |
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,38 @@ | ||
<ifModule mod_gzip.c> | ||
mod_gzip_on Yes | ||
mod_gzip_dechunk Yes | ||
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ | ||
mod_gzip_item_include handler ^cgi-script$ | ||
mod_gzip_item_include mime ^text/.* | ||
mod_gzip_item_include mime ^application/x-javascript.* | ||
mod_gzip_item_exclude mime ^image/.* | ||
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* | ||
</ifModule> | ||
|
||
<ifModule mod_deflate.c> | ||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript | ||
</ifModule> | ||
|
||
<ifModule mod_expires.c> | ||
ExpiresActive On | ||
ExpiresDefault "access plus 1 seconds" | ||
ExpiresByType text/html "access plus 1 seconds" | ||
ExpiresByType image/gif "access plus 2592000 seconds" | ||
ExpiresByType image/jpeg "access plus 2592000 seconds" | ||
ExpiresByType image/png "access plus 2592000 seconds" | ||
ExpiresByType text/css "access plus 604800 seconds" | ||
ExpiresByType text/javascript "access plus 216000 seconds" | ||
ExpiresByType application/x-javascript "access plus 216000 seconds" | ||
</ifModule> | ||
|
||
<ifModule mod_headers.c> | ||
Header unset ETag | ||
</ifModule> | ||
|
||
FileETag None | ||
|
||
<ifModule mod_headers.c> | ||
Header unset Last-Modified | ||
</ifModule> | ||
|
||
AddType text/cache-manifest .manifest |
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,38 @@ | ||
<ifModule mod_gzip.c> | ||
mod_gzip_on Yes | ||
mod_gzip_dechunk Yes | ||
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ | ||
mod_gzip_item_include handler ^cgi-script$ | ||
mod_gzip_item_include mime ^text/.* | ||
mod_gzip_item_include mime ^application/x-javascript.* | ||
mod_gzip_item_exclude mime ^image/.* | ||
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* | ||
</ifModule> | ||
|
||
<ifModule mod_deflate.c> | ||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript | ||
</ifModule> | ||
|
||
<ifModule mod_expires.c> | ||
ExpiresActive On | ||
ExpiresDefault "access plus 1 seconds" | ||
ExpiresByType text/html "access plus 1 seconds" | ||
ExpiresByType image/gif "access plus 2592000 seconds" | ||
ExpiresByType image/jpeg "access plus 2592000 seconds" | ||
ExpiresByType image/png "access plus 2592000 seconds" | ||
ExpiresByType text/css "access plus 604800 seconds" | ||
ExpiresByType text/javascript "access plus 216000 seconds" | ||
ExpiresByType application/x-javascript "access plus 216000 seconds" | ||
</ifModule> | ||
|
||
<ifModule mod_headers.c> | ||
Header unset ETag | ||
</ifModule> | ||
|
||
FileETag None | ||
|
||
<ifModule mod_headers.c> | ||
Header unset Last-Modified | ||
</ifModule> | ||
|
||
AddType text/cache-manifest .manifest |
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,20 @@ | ||
The MIT License | ||
Copyright (c) 2009 David Kaneda | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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,19 @@ | ||
_/ _/_/ _/_/_/_/_/ _/ | ||
_/ _/ _/ _/_/ _/ _/ _/_/_/ _/_/_/ | ||
_/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ | ||
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ | ||
_/ _/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/ | ||
_/ | ||
_/ | ||
|
||
Created by David Kaneda <http://www.davidkaneda.com> | ||
Documentation and issue tracking on Google Code <http://code.google.com/p/jqtouch/> | ||
|
||
Special thanks to Jonathan Stark <http://jonathanstark.com/> | ||
and pinch/zoom <http://www.pinchzoom.com/> | ||
|
||
(c) 2009 by jQTouch project members. | ||
See LICENSE.txt for license. | ||
|
||
If you use jQTouch, please consider supporting its development: | ||
http://bit.ly/support-jqt |
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,54 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
body { | ||
font-family: "Helvetica Neue",Arial,Helvetica,Geneva,sans-serif; | ||
} | ||
.clock { | ||
background: url(img/face.png); | ||
position: relative; | ||
width: 78px; | ||
height: 78px; | ||
margin: 5px auto; | ||
overflow: hidden; | ||
} | ||
.hour,.min,.sec { | ||
width: 9px; | ||
height: 78px; | ||
position: absolute; | ||
top: 0; | ||
left: 35px; | ||
} | ||
.hour { | ||
background: url(img/hour.png); | ||
} | ||
.min { | ||
background: url(img/minute.png); | ||
} | ||
.sec { | ||
background: url(img/second.png); | ||
} | ||
#clocks > div { | ||
background: -webkit-gradient(linear,0% 0%,0% 100%,from(#dadadc),to(#b4b3b8)); | ||
border-bottom: 1px solid #9a9fa5; | ||
border-top: 1px solid #dbdbdd; | ||
text-shadow: rgba(255,255,255,.5) 0 1px 0; | ||
position: relative; | ||
} | ||
.city { | ||
display: block; | ||
position: absolute; | ||
top: 35px; | ||
font-weight: bold; | ||
color: #333; | ||
left: 10px; | ||
} | ||
.time { | ||
display: block; | ||
position: absolute; | ||
right: 10px; | ||
top: 30px; | ||
} | ||
.time span { | ||
} |
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,142 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>jQTouch β</title> | ||
<style type="text/css" media="screen">@import "../../jqtouch/jqtouch.min.css";</style> | ||
<style type="text/css" media="screen">@import "../../themes/apple/theme.min.css";</style> | ||
<script src="../../jqtouch/jquery.1.3.2.min.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="../../jqtouch/jqtouch.min.js" type="application/x-javascript" charset="utf-8"></script> | ||
<!-- | ||
jQTouch Clock Demo | ||
All custom code is embedded below: | ||
--> | ||
<link rel="stylesheet" href="clock.css" type="text/css" media="screen" charset="utf-8" /> | ||
<script type="text/javascript" charset="utf-8"> | ||
$.jQTouch({ | ||
icon: 'icon.png', | ||
startupScreen: 'img/startup.png' | ||
}); | ||
$(function(){ | ||
function addClock(label, tz){ | ||
var html = ''; | ||
html += '<div>' | ||
html += '<div class="clock">' | ||
html += '<div class="hour"></div>' | ||
html += '<div class="min"></div>' | ||
html += '<div class="sec"></div>' | ||
html += '</div>' | ||
html += '<div class="city">GMT</div>' | ||
html += '<div class="time">Time</div>' | ||
html += '</div>' | ||
var insert = $(html); | ||
$('#clocks').append( | ||
insert.data('tz_offset', tz).find('.city').html(label).end() | ||
); | ||
} | ||
function updateClocks(){ | ||
var localTime = new Date(); | ||
$('#clocks > div').each(function(){ | ||
var tz_offset = $(this).data('tz_offset') || 0; | ||
var ms = localTime.getTime() | ||
+ (localTime.getTimezoneOffset() * 60000) | ||
+ (tz_offset + 1) * 3600000; | ||
var time = new Date(ms); | ||
var hour = time.getHours(); | ||
var minute = time.getMinutes(); | ||
var second = time.getSeconds(); | ||
var $el = $(this); | ||
var ampm = 'AM'; | ||
var nicehour = hour; | ||
if (hour > 12 ) { | ||
nicehour = hour - 12; | ||
ampm = 'PM'; | ||
} else if ( hour == 0 ) { | ||
nicehour = 12; | ||
} | ||
$('.hour', $el).css('-webkit-transform', 'rotate(' + ( hour * 30 + (minute/2) ) + 'deg)'); | ||
$('.min', $el).css('-webkit-transform', 'rotate(' + ( minute * 6 ) + 'deg)'); | ||
$('.sec', $el).css('-webkit-transform', 'rotate(' + ( second * 6 ) + 'deg)'); | ||
$('.time', this).html(nicehour + ':' + minute + ':' + second + ' ' + ampm); | ||
}); | ||
} | ||
$('#time').submit(function(){ | ||
addClock($('#label').val(), Number($('#timezone').val())); | ||
$('input').blur(); | ||
$('#add .cancel').click(); | ||
this.reset(); | ||
return false; | ||
}); | ||
addClock('Philadelphia', -5.0); | ||
addClock('Los Angeles', -8.0); | ||
updateClocks(); | ||
setInterval(updateClocks, 1000); | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
<div id="home"> | ||
<div class="toolbar"> | ||
<h1>World Clock</h1> | ||
<a href="#info" class="button leftButton flip">Info</a> | ||
<a href="#add" class="button add slideup">+</a> | ||
</div> | ||
<div id="clocks"> | ||
</div> | ||
</div> | ||
<div class="form" id="add"> | ||
<div class="toolbar"> | ||
<h1>New Time Zone</h1> | ||
<a href="#add" class="cancel">Cancel</a> | ||
</div> | ||
<form id="time"> | ||
<ul class="rounded"> | ||
<li><input type="text" id="label" name="Label" placeholder="Label"></li> | ||
<li><select name="timezone" id="timezone"> | ||
<option value="-12.0">(GMT -12:00) Eniwetok</option> | ||
<option value="-11.0">(GMT -11:00) Samoa</option> | ||
<option value="-10.0">(GMT -10:00) Hawaii</option> | ||
<option value="-9.0">(GMT -9:00) Alaska</option> | ||
<option value="-8.0">(GMT -8:00) Pacific Time</option> | ||
<option value="-7.0">(GMT -7:00) Mountain Time</option> | ||
<option value="-6.0">(GMT -6:00) Central Time</option> | ||
<option value="-5.0">(GMT -5:00) Eastern Time</option> | ||
<option value="-4.0">(GMT -4:00) Atlantic Time</option> | ||
<option value="-3.5">(GMT -3:30) Newfoundland</option> | ||
<option value="-3.0">(GMT -3:00) Brazil</option> | ||
<option value="-2.0">(GMT -2:00) Mid-Atlantic</option> | ||
<option value="-1.0">(GMT -1:00 hour) Azores</option> | ||
<option value="0.0" selected>(GMT) Western Europe Time</option> | ||
<option value="1.0">(GMT +1:00 hour) Paris</option> | ||
<option value="2.0">(GMT +2:00) Kaliningrad</option> | ||
<option value="3.0">(GMT +3:00) Baghdad</option> | ||
<option value="3.5">(GMT +3:30) Tehran</option> | ||
<option value="4.0">(GMT +4:00) Abu Dhabi</option> | ||
<option value="4.5">(GMT +4:30) Kabul</option> | ||
<option value="5.0">(GMT +5:00) Ekaterinburg</option> | ||
<option value="5.5">(GMT +5:30) New Delhi</option> | ||
<option value="5.75">(GMT +5:45) Kathmandu</option> | ||
<option value="6.0">(GMT +6:00) Colombo</option> | ||
<option value="7.0">(GMT +7:00) Bangkok</option> | ||
<option value="8.0">(GMT +8:00) Hong Kong</option> | ||
<option value="9.0">(GMT +9:00) Tokyo</option> | ||
<option value="9.5">(GMT +9:30) Adelaide</option> | ||
<option value="10.0">(GMT +10:00) Eastern Australia</option> | ||
<option value="11.0">(GMT +11:00) Solomon Islands</option> | ||
<option value="12.0">(GMT +12:00) Fiji</option> | ||
</select></li> | ||
</ul> | ||
<a href="#" style="margin: 10px;" class="whiteButton submit">Add Clock</a> | ||
</form> | ||
</div> | ||
<div id="info"> | ||
<div class="toolbar"> | ||
<h1>About</h1> | ||
<a href="#add" class="cancel">Cancel</a> | ||
</div> | ||
<div class="info"> | ||
This is a demo for jQTouch. | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.