Jobs & Workflows
https://armen.surge.sh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
/* |
|
------------------------------------------------------------------------------------------------------------------------ |
|
####### gui ####### Copyright (c) 2021 mls-361 ##################################################### MIT License ####### |
|
------------------------------------------------------------------------------------------------------------------------ |
|
*/ |
|
|
|
package gui |
|
|
|
import ( |
|
g "github.com/maragudk/gomponents" |
|
. "github.com/maragudk/gomponents/html" |
|
|
|
"forge.chapril.org/armen/armen/internal/components" |
|
) |
|
|
|
type jobList struct { |
|
app components.Application |
|
storage components.Storage |
|
} |
|
|
|
func newJobList(ccs *components.Components) *jobList { |
|
return &jobList{ |
|
app: ccs.Application, |
|
storage: ccs.Storage, |
|
} |
|
} |
|
|
|
func (jl *jobList) content() g.Node { |
|
return Div( |
|
Class("jobs"), |
|
) |
|
} |
|
|
|
func (jl *jobList) build() g.Node { |
|
return buildPage(jl.app, "jobs", jl.content()) |
|
} |
|
|
|
/* |
|
######################################################################################################## @(°_°)@ ####### |
|
*/
|
|
|