Documentation ¶
Index ¶
- Variables
- type Lang
- type LayoutData
- type PadData
- type PadPayoutData
- type PadPayoutTakerData
- type PadPayoutTakerResultData
- type PadSettingsData
- type PadShareData
- type PadShareResultData
- type PadViewWeekData
- type ShiftCellsData
- type ShiftCreateData
- type ShiftDeleteData
- type ShiftEditData
- type ShiftTakeData
- type TakeApproveData
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") PadPayout = parse("layout.html", "pad.html", "pad-payout.html") PadPayoutTaker = parse("layout.html", "pad.html", "pad-payout-taker.html") PadPayoutTakerResult = parse("layout.html", "pad.html", "pad-payout-taker-result.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 PadPayoutData ¶ added in v0.6.0
type PadPayoutTakerData ¶ added in v0.6.0
type PadPayoutTakerResultData ¶ added in v0.6.0
type PadPayoutTakerResultData struct { PadPayoutTakerData SumHours float64 }
type PadSettingsData ¶
type PadShareData ¶
type PadShareData struct {
}type PadShareResultData ¶
type PadShareResultData struct {}
type PadViewWeekData ¶
type ShiftCellsData ¶ added in v0.7.0
for subtemplate "shift-cells"
type ShiftCreateData ¶
type ShiftDeleteData ¶
type ShiftEditData ¶
type ShiftTakeData ¶
Click to show internal directories.
Click to hide internal directories.