Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Index = parse("layout.html", "index.html") InternalServerError = parse("layout.html", "internal-server-error.html") NotFound = parse("layout.html", "not-found.html") PadCreate = parse("layout.html", "pad-create.html") PadSettings = parse("layout.html", "pad.html", "pad-settings.html") PadViewWeek = parse("layout.html", "pad.html", "pad-view-week.html") ShiftCreate = parse("layout.html", "pad.html", "shift-create.html") ShiftDelete = parse("layout.html", "pad.html", "shift-delete.html") ShiftEdit = parse("layout.html", "pad.html", "shift-edit.html") ShiftTake = parse("layout.html", "pad.html", "shift-take.html") TakeApprove = parse("layout.html", "pad.html", "take-approve.html") )
Functions ¶
This section is empty.
Types ¶
type LayoutData ¶ added in v0.2.0
type LayoutData struct {
Lang
}
func MakeLayoutData ¶ added in v0.2.0
func MakeLayoutData(r *http.Request) LayoutData
type PadData ¶
type PadData struct { LayoutData ActiveTab string Errors []string Pad shiftpad.AuthPad }
type PadSettingsData ¶
type PadShareData ¶
type PadShareData struct {
}type PadShareResultData ¶
type PadShareResultData struct {}
type PadViewWeekData ¶
type ShiftCreateData ¶
type ShiftDeleteData ¶
type ShiftEditData ¶
type ShiftTakeData ¶
Click to show internal directories.
Click to hide internal directories.