charlesthomas / magpie

Git-backed Evernote replacement
MIT License
645 stars 50 forks source link

Added support for custom paths. #60

Closed jackolantern closed 8 years ago

jackolantern commented 9 years ago

Custom paths for static files and custom templates can be given from the config.html page.


Originally I wanted this to allow new files and overrides, and I know how this can be accomplished in Flask/Jinja2 or Django, but I did not see a straightforward way of doing this in Tornado, so I only added functionality to completely replace the current paths.

Also, it would be nice to add a little javascript to the UI for these options to disable the fields when the checkboxs are unchecked, but as there is currently no JS driving the UI, I thought such a change would be out of scope.