This is a (very) poor man's in/out board widget for dashing. No pretty interface for updating one's status, absolutly 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.
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:
outboard.html
outboard.coffee
outboard.scss
Also, copy the outboard.rb
file in your /jobs
folder.
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"></div>
</li>
You'll need to have a text file which is accessable to both the Dashing server and the users that will be updating it. Dropbox works 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 wiget is updated every minute. If this is too aggressive for your needs, you can update the frequency in the outboard.rb job file.