1. Stefan Scherfke
  2. Tea Timer

Commits

Stefan Scherfke  committed d958f52

Version 1.2

  • Participants
  • Parent commits 6658bcd
  • Branches default
  • Tags 1.2

Comments (0)

Files changed (11)

File ChangeLog.txt

View file
 ChangeLog for TeaTimer dashboard widget
 =======================================
 
+2008-12-08 – 1.2:
+ * [NEW] Added link to Tea Timer’s website on the back.
+ * [FIX] Localization issue on update panel
+
 2008-12-08 – 1.1:
-* [NEW] Pressing enter within an input field starts the timer.
-* [FIX] Fixed a bug with pausing the timer.
-* [FIX] Added Alex’s voice.
+ * [NEW] Pressing enter within an input field starts the timer.
+ * [FIX] Fixed a bug with pausing the timer.
+ * [FIX] Added Alex’s voice.
 
 2008-11-30 – 1.0:
-* [NEW] Alarm via Growl
-* [NEW] Alarm via a selectable voice
-* [NEW] Alarm via a selectable system sound
-* [NEW] Fancy animation for pref-pane transitions
-* [FIX] say-message now localized
+ * [NEW] Alarm via Growl
+ * [NEW] Alarm via a selectable voice
+ * [NEW] Alarm via a selectable system sound
+ * [NEW] Fancy animation for pref-pane transitions
+ * [FIX] say-message now localized
 
 2008-11-22 – 0.4:
-* [NEW] Info button and back side
-* [NEW] Set color for the front background within the widget preferences.
-* [NEW] Widget localization and English translation
-* [NEW] Update notification shows current and available version.
-* [NEW] Fancy drop shadows for text ;-)
-* [CHANGE] Overhault default background and widget icon
+ * [NEW] Info button and back side
+ * [NEW] Set color for the front background within the widget preferences.
+ * [NEW] Widget localization and English translation
+ * [NEW] Update notification shows current and available version.
+ * [NEW] Fancy drop shadows for text ;-)
+ * [CHANGE] Overhault default background and widget icon
 
 2008-11-11 – 0.3:
-* [NEW] Initial release
-* [NEW] Change timer target
-* [NEW] Change time
-* [NEW] Cycle through input fields view tab/shift-tab
-* [NEW] Raise/lower numbers with up/down arrow keys
-* [NEW] Start countdown
-* [NEW] Alarm with voice message (by Victoria)
-* [NEW] Available only in German
-* [NEW] Automatically check for updates
+ * [NEW] Initial release
+ * [NEW] Change timer target
+ * [NEW] Change time
+ * [NEW] Cycle through input fields view tab/shift-tab
+ * [NEW] Raise/lower numbers with up/down arrow keys
+ * [NEW] Start countdown
+ * [NEW] Alarm with voice message (by Victoria)
+ * [NEW] Available only in German
+ * [NEW] Automatically check for updates

File TODO.txt

View file
 TODO
 ====
 
-* Choose icon (pizza, tea, cake, eggs, …)
-* Remember last entries for timer target
-* List with tees and their required time
+ * Choose icon (pizza, tea, cake, eggs, …)
+ * Remember last entries for timer target
+ * List with tees and their required time

File TeaTimer.wdgt/Info.plist

View file
 	<key>CFBundleName</key>
 	<string>TeaTimer</string>
 	<key>CFBundleVersion</key>
-	<string>1.1</string>
+	<string>1.2</string>
 	<key>MainHTML</key>
 	<string>TeaTimer.html</string>
 	<key>CloseBoxInsetX</key>

File TeaTimer.wdgt/Scripts/Back.js

View file
 	$('#tabAlarm').css('display', 'inline');
 	$('#prefsDesign').css({'display': 'block', 'opacity': '1.0'});
 	this.currentPrefs = 'Design';
-
+	
+	$('#homeLink > a').click(function(event) {
+		if (window.widget)
+			widget.openURL('http://xerxes.sofa-rockers.org');
+	});
 	$('#backgroundColor').change(function(event) {
 		$('#front').css('background', 'url(Images/Front_' + event.target.value
 			+ '.png) no-repeat');

File TeaTimer.wdgt/TeaTimer.css

View file
 	margin-top: auto;
 }
 
+#homeLink {
+	position: absolute;
+	bottom: 21px;
+	left: 21px;
+	text-align: center;
+}
+#homeLink a:link, #homeLink a:visited { color: #DDD; text-decoration: none; }
+#homeLink a:active, #homeLink a:hover { color: #FFF; }
+
 #tabMenu {
 	margin: 0px;
 	padding: 0px;

File TeaTimer.wdgt/TeaTimer.html

View file
 			</tr>
 		</table>
 	</div>
+	<div id="homeLink"><a href="">Tea Timer Website</a></div>
 	<div id="doneButton"></div>
 </div>
 

File TeaTimer.wdgt/TeaTimer.js

View file
 	$('#secondsLabel').text(getLocalizedString('secs.'));
 	
 	// Back side
+	$('#homeLink > a').text(getLocalizedString('Tea Timer website'));
 	$('#prefBgColorLabel').text(getLocalizedString('Background color') + ':');
 	$('#backgroundColor > option[value=default]')
 			.text(getLocalizedString('Default'));
 	// Update panel
 	$('#updateLabel').text(getLocalizedString('Update available'));
 	$('#clientVersionLabel').text(getLocalizedString('Your version') + ':');
-	$('#availableVersionLabel').text(getLocalizedString('New version:') + ':');	
+	$('#availableVersionLabel').text(getLocalizedString('New version') + ':');	
 }
 
 /**

File TeaTimer.wdgt/de.lproj/LocalizedStrings.js

View file
 
 	// Back side
 	'Done': 'Fertig',
+	'Tea Timer website': 'Tea Timer Website',
 	'Design': 'Design',
 	'Background color': 'Hintergrundfarbe',
 	'Default': 'Standard',

File TeaTimer.wdgt/en.lproj/LocalizedStrings.js

View file
 
 	// Back side
 	'Done': 'Done',
+	'Tea Timer website': 'Tea Timer website',
 	'Design': 'Design',
 	'Background color': 'Background color',
 	'Default': 'Default',

File releases/TeaTimer-1.1.zip

Binary file added.

File releases/TeaTimer-1.2.zip

Binary file added.