Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Color = lipgloss.AdaptiveColor{Light: "#111222", Dark: "#FAFAFA"} Primary = lipgloss.Color("##1976D2") Green = lipgloss.Color("#1EB980") Teal = lipgloss.Color("#00796B") Red = lipgloss.Color("#D32F2F") White = lipgloss.Color("#ffffff") Black = lipgloss.Color("#000000") Orange = lipgloss.Color("#FF6859") Feint = lipgloss.AdaptiveColor{Light: "#333333", Dark: "#888888"} TextStyle = lipgloss.NewStyle().Foreground(Color) FeintStyle = TextStyle.Copy().Foreground(Feint) BoldStyle = TextStyle.Copy().Bold(true) )
Functions ¶
func NewCreateModel ¶
func NewCreateModel() (*createModel, error)
NewCreateModel renders the UI for creating a new job
func RenderError ¶
RenderError returns a formatted error string.
func RenderWarning ¶
RenderWarning returns a formatted warning string.
Types ¶
type DataWindow ¶
type DataWindow struct {
// contains filtered or unexported fields
}
func NewDataWindow ¶
func NewDataWindow(width, height int, ref time.Time) (*DataWindow, error)
func NewWindow ¶
func NewWindow() (*DataWindow, error)
func (*DataWindow) Init ¶
func (e *DataWindow) Init() tea.Cmd
func (DataWindow) Selected ¶
func (e DataWindow) Selected() *job.DataWindow
func (*DataWindow) UpdateSize ¶
func (e *DataWindow) UpdateSize(width, height int)
UpdateSize updates the size of the event browser's rendering area.
Click to show internal directories.
Click to hide internal directories.