This is a fork of ruleb's count down that rended one of the else ifs unreachable in his code. Even though he was notified by menny people he never fixed his code so i took it on to... fix 1 line of code. This Fork may expand if i have the time to re-learn coffie and see if any outher code is broken.
The rest of this readme and the html code and scss is still the orginal by ruleb.
Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.
##Usage
To use this widget, copy countdown.html
, countdown.coffee
, and countdown.scss
into the /widgets/countdown
directory.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-view="Countdown" data-title="GOAL_DISPLAY_NAME" data-end="26-Apr-2013 18:00:00"></div>
</li>
##Preview
Hi ioangogo,
What do I need to remove to get rid of the time after the date please (ends on date and time)?
Also, when you expand the number of rows this widget is on to make space for the large text such as "Next Release", the "ends on:" text is either cramped or it shifts to the very bottom of the widget.
Cheers Mark