I was just wondering why we needed our password and login name? Does the RSS feed not give the info without having to login?
The gadget doesn't use the RSS feed to obtain the data (instead it uses the CSV files through the customer portal).
I can assure you I do nothing with your credentials other than pass them to idnet to log into the portal, however feel free to look through the code (win+R ->
"%localappdata%\Microsoft\Windows Sidebar\Gadgets\IDNetBUM.gadget").
settings.html and
index.html contain the only Javascript code I wrote (the javascript files in the js folder are all libraries or library extensions).
It might be possible to add a configuration option to not try and log in to the customer portal and use any cached/saved login details in IE (as the IE engine is used to display the gadgets) - something else I can look into tonight.
Good job; very nice. If you fancy making the background and font colours customisable, that would be nice, but it's no biggie.
This would be a little more difficult to do with the rounded background, however you could always replace the
img/background.png file with your own and modify the CSS styles in
index.html to suit.
To change the progressbar colours, there are two CSS statements that specify the warning and good colours:
.pbwarning .ui-progressbar-value { ... }
.pbgood .ui-progressbar-value { ... }
To change the default progressbar colours, you'll need to add a statement above the warning and good statements (so that they will override it)
.ui-progressbar-value { ... }
To specify progressbar colours for the month progressbar, add a statement (after the default colours, if you've added some)
#pbmonth .ui-progressbar-value { ... }
Hope that helps if you want to play around, you'll need to remove and re-add the gadget to pick up any changes made to any files and you'll need to re-enter your settings (as they're specific to the gadget instance).