9 changed files with 168 additions and 20 deletions
@ -0,0 +1,40 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### 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()) |
||||
} |
||||
|
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
@ -0,0 +1,16 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### jobs ####### Copyright (c) 2021 mls-361 #################################################### MIT License ####### |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
|
||||
@charset "utf-8"; |
||||
|
||||
@import url("normalize.css"); |
||||
@import url("colors.css"); |
||||
@import url("common.css"); |
||||
|
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
||||
|
@ -0,0 +1,16 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### workflows ####### Copyright (c) 2021 mls-361 ############################################### MIT License ####### |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
|
||||
@charset "utf-8"; |
||||
|
||||
@import url("normalize.css"); |
||||
@import url("colors.css"); |
||||
@import url("common.css"); |
||||
|
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
||||
|
@ -0,0 +1,9 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### jobs ####### Copyright (c) 2021 mls-361 #################################################### MIT License ####### |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
||||
|
@ -0,0 +1,9 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### workflows ####### Copyright (c) 2021 mls-361 ############################################### MIT License ####### |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
||||
|
@ -0,0 +1,40 @@
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
####### 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 workflowList struct { |
||||
app components.Application |
||||
storage components.Storage |
||||
} |
||||
|
||||
func newWorkflowList(ccs *components.Components) *workflowList { |
||||
return &workflowList{ |
||||
app: ccs.Application, |
||||
storage: ccs.Storage, |
||||
} |
||||
} |
||||
|
||||
func (wl *workflowList) content() g.Node { |
||||
return Div( |
||||
Class("jobs"), |
||||
) |
||||
} |
||||
|
||||
func (wl *workflowList) build() g.Node { |
||||
return buildPage(wl.app, "workflows", wl.content()) |
||||
} |
||||
|
||||
/* |
||||
######################################################################################################## @(°_°)@ ####### |
||||
*/ |
Loading…
Reference in new issue