]> git.proxmox.com Git - proxmox-backup.git/commit
change index to templates using handlebars
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 29 Apr 2020 09:59:31 +0000 (11:59 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 29 Apr 2020 15:05:53 +0000 (17:05 +0200)
commitf9e3b1104ee6f69e3f4c511fc8e1d478e4d9f572
tree3bbcae1c9e5323595f8faf8524513c40737ac0d8
parentbc0d03885cff94156f7e9add43956fdde0aef482
change index to templates using handlebars

using a handlebars instance in ApiConfig, to cache the templates
as long as possible, this is currently ok, as the index template
can only change when the whole package changes

if we split this in the future, we have to trigger a reload of
the daemon on gui package upgrade (so that the template gets reloaded)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Cargo.toml
debian/proxmox-backup-server.install
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/server/config.rs
src/server/rest.rs
www/Makefile
www/index.hbs [new file with mode: 0644]