git-annex/templates
Joey Hess 1f89712e6b add a navbar button that opens the repo in the desktop's native file browser
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.
2012-08-03 10:02:56 -04:00
..
configurators full input validation for repository path 2012-07-31 20:56:10 -04:00
dashboard reorg templates 2012-07-31 01:24:49 -04:00
documentation add icons 2012-07-31 03:10:16 -04:00
notifications reorg templates 2012-07-31 01:24:49 -04:00
sidebar layout 2012-08-02 09:08:58 -04:00
bootstrap.hamlet webapp now starts up when run not in a git repo 2012-07-31 12:17:31 -04:00
page.cassius template reorg 2012-07-27 20:47:48 -04:00
page.hamlet add a navbar button that opens the repo in the desktop's native file browser 2012-08-03 10:02:56 -04:00
page.julius further refactoring my js 2012-07-30 20:33:23 -04:00
README add README 2012-07-27 00:40:18 -04:00

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.