support for xml and json export of all user data

This commit is contained in:
Nick Gordon
2013-11-25 08:06:27 -08:00
parent b4d910c9cb
commit c0a02eeef8
4 changed files with 67 additions and 2 deletions
+6 -1
View File
@@ -71,4 +71,9 @@ script(id='partials/options.settings.export.html', type="text/ng-template")
h2 Data Export
small Here are a few options for saving your Habit data.
h4 Habit History
a(href="/export/history.csv") Export History (CSV)
Export History:  
a(href="/export/history.csv") (CSV)  
h4 User Data
Export User Data:  
a(href="/export/userdata.xml") (XML)  
a(href="/export/userdata.json") (JSON)