![]() This should work on linux (xdg-open) and OSX (open). If the program is not in $PATH, it falls back to opening a browser window/tab with file:/// The only tricky bit is the javascript code, that handles clicking on the link. This is to avoid unnecessary page refreshes. Until I added the return false at the end, the <a>'s normal click event also fired, so two file browsers opened. I have not checked portability extensively. |
||
---|---|---|
.. | ||
configurators | ||
dashboard | ||
documentation | ||
notifications | ||
sidebar | ||
bootstrap.hamlet | ||
page.cassius | ||
page.hamlet | ||
page.julius | ||
README |
These are template files for the git-annex webapp. They use the Shakespearean template library, which is documented here: http://www.yesodweb.com/book/shakespearean-templates Note that for most of the templates, it will use files ending in .hamlet, .julius, and .cassius if they exist. So if you need to add CSS, or javascript, you can create the missing template files.