This is a simple in/out board widget for dashing. No pretty interface for updating one's status, absolutely no authentication and a barely passable widget design. But, it works.
Users update a simple text file (see outboard.txt example in this gist) with their status. A handful of common statuses are included, more or less might be needed for particular situation.
If you have any questions or problems, leave a comment on this post.
2016-03-31: No functional changes. Only updates to the readme and the addition of some comments explaining how to change the icons on the widget.
2015-12-10: Minor improvements to make the widget less fragile. It now handles imperfect lines in the text input file and the statuses are no longer case sensitive. It will also work with docs from Google Drive, so long as the files can be downloaded directly (not using the web viewer).
Install from this gist by running
dashing install d84a933bfa6e861bcfe8
Or, if you'd rather install manually, create a '/widgets/outboard' directory and copy the following files into it:
Also, copy the
outboard.rb file in your
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-id="outboard" data-view="Outboard" data-title="Who's Where"></div> </li>
You'll need to have a text file which is accessible to both the Dashing server and the users that will be updating it. Dropbox and Google Drive both work well for this. You can use the 'outboard.txt' included in this gist as an example, but you can name it whatever you wish. Add the path to that text file to your 'config.ru' file. It should be within the configure block.
set :outboard_file, 'http://example.com/path/to/your/outboard.txt'
The in/out widget is updated every minute. If this is too aggressive for your needs, you can update the frequency in the outboard.rb job file.