Dashing widget to display Outlook calendar events Gets all the events over the next two days, and display the two next ones
Live demo:
http://camilledashing.herokuapp.com/dashboard
Put the exchange_calendar.rb file in your /jobs folder
Create a new exchange_calendar folder in your /widgets folder, and add the three following files to that folder:
- exchange_calendar.scss
- exchange_calendar.html
- exchange_calendar.coffee
Add the following gem to your Gemfile:
gem 'viewpoint', :git => "git://github.com/zenchild/Viewpoint.git"
then run:
bundle
To include the widgets in a dashboard, add the following snippet:
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="exchange_calendar" data-view="ExchangeCalendar"></div>
<i class="icon-calendar icon-background"></i>
</li>
Four configuration values are necessary, which you can set by adding the following line in your config.ru file (the whole example of config.ru is available lower in the gist):
set :ewsEndpoint, 'https://servername/ews/Exchange.asmx'
set :ewsUser, '[email protected]'
set :ewsPassword, 'password'
set :timeZoneBias, 0
- timeZoneBias should be the UTC time offset of your timezone, in minutes (positive or negative integer) To find your bias, go to http://en.wikipedia.org/wiki/List_of_UTC_time_offsets
pi@raspberrypi:~/aaaa $ smashing start
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:3030, CTRL+C to stop
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
Please configure icinga_cgi in config.ru!
please help cant get this working