dex/web/templates
Rui Yang 4e569024fd use go 1.16 new package io/fs
Unify the interface for reading web statics. Now it could read an
OS directory or get the content on live

One could use

//go:embed static
var webFiles embed.FS

anywhere and config dex server to take the file system by setting

WebConfig{WebFS: webFiles}

Signed-off-by: Rui Yang <ruiya@vmware.com>
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io>
2021-03-20 20:05:59 +00:00
..
approval.html Improve "Grant Access" template when client requests only openid scope 2021-02-11 17:35:40 +00:00
device.html Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
device_success.html Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
error.html server: add error HTML templates with error description. 2016-12-16 10:42:54 -08:00
footer.html web/templates: port templates from v1 2016-09-05 17:25:12 -07:00
header.html use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
login.html Pick icons on login screen by connector type instead of ID 2019-12-23 12:38:22 +04:00
oob.html web: Updates classes in templates 2016-12-01 13:41:56 -08:00
password.html show "back" link for password connectors 2017-11-13 08:39:59 +01:00