Commit graph

7 commits

Author SHA1 Message Date
1f32b6d25b Add icon images 2019-08-02 23:55:51 +02:00
29a7a1c90c Apply Apache License 2.0 2019-07-31 17:30:58 +02:00
eaced9af06 Remove unused styles.css file 2019-07-31 17:29:41 +02:00
4266620eff Update to latest jQuery and Semantic-UI 2019-07-31 15:04:39 +02:00
5977eb5a7a Implement CSRF protection 2018-03-31 10:50:06 +02:00
94dcb5bd75 Use static assets for HTML templates
- implement custom http.Filesystem boardvoting.AssetFS
- replace "footer" and "header" with "footer.html" and "header.html"
- change renderTemplate to use Assets
- use boardvoting.GetAssetFS() with http.Fileserver
2018-03-29 21:26:12 +02:00
4dd5e09820 Embed database migrations
- switch from goose to github.com/rubenv/sql-migrate
- move assets (static, templates, migrations) to boardvoting package
- add generated boardvoting/assets.go
- remove unused static files from static directory
- add package db with db migration configuration
2018-03-29 20:08:41 +02:00