pages

package
v0.0.0-...-c29c143 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLoginPage

func BuildLoginPage(w fyne.Window) *fyne.Container

func BuildMainPage

func BuildMainPage(w fyne.Window) *fyne.Container

func BuildReportPage

func BuildReportPage(w fyne.Window) *fyne.Container

func BuildResultsPage

func BuildResultsPage(w fyne.Window, r []models.Record) *fyne.Container

func GetMainWindow

func GetMainWindow(app fyne.App, title string) fyne.Window

func GetStatus

func GetStatus() (models.StatusResponse, error)
func Navigate(w fyne.Window, page Route)

Types

type DisplayStatus

type DisplayStatus struct {
	Current      string
	SessionTime  string
	CurrentTotal string
	Totals       []struct {
		Project string
		Total   string
	}
}

type Route

type Route int
const (
	MainPage Route = iota
	LoginPage
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL