2020-03-27 15:50:12 +00:00
|
|
|
package web
|
|
|
|
|
2020-03-28 13:55:53 +00:00
|
|
|
import (
|
|
|
|
"html/template"
|
|
|
|
)
|
2020-03-27 15:50:12 +00:00
|
|
|
|
2020-03-28 13:55:53 +00:00
|
|
|
// Page holds page information that is sent to all webpages rendered
|
|
|
|
// by perseus.
|
2020-03-27 15:50:12 +00:00
|
|
|
type Page struct {
|
|
|
|
SafeList []template.HTML
|
|
|
|
List []string
|
|
|
|
Error []string
|
|
|
|
Success []string
|
|
|
|
Notice []string
|
2020-03-27 16:50:25 +00:00
|
|
|
Version string
|
2020-03-27 15:50:12 +00:00
|
|
|
}
|