template

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderArtifactTable

func RenderArtifactTable(aa []*build.Artifact, uri, search string, showSearch bool) string

func RenderStatusNav

func RenderStatusNav(uri, status string) string

func RenderTrigger

func RenderTrigger(b *build.Build) string

func StreamRenderArtifactTable

func StreamRenderArtifactTable(qw422016 *qt422016.Writer, aa []*build.Artifact, uri, search string, showSearch bool)

func StreamRenderStatusNav

func StreamRenderStatusNav(qw422016 *qt422016.Writer, uri, status string)

func StreamRenderTrigger

func StreamRenderTrigger(qw422016 *qt422016.Writer, b *build.Build)

func WriteRenderArtifactTable

func WriteRenderArtifactTable(qq422016 qtio422016.Writer, aa []*build.Artifact, uri, search string, showSearch bool)

func WriteRenderStatusNav

func WriteRenderStatusNav(qq422016 qtio422016.Writer, uri, status string)

func WriteRenderTrigger

func WriteRenderTrigger(qq422016 qtio422016.Writer, b *build.Build)

Types

type Artifacts

type Artifacts struct {
	URL       *url.URL
	Search    string
	Build     *build.Build
	Artifacts []*build.Artifact
	// contains filtered or unexported fields
}

func (*Artifacts) Actions

func (p *Artifacts) Actions() string

func (*Artifacts) Body

func (p *Artifacts) Body() string

func (*Artifacts) Header

func (p *Artifacts) Header() string

func (*Artifacts) StreamActions

func (p *Artifacts) StreamActions(qw422016 *qt422016.Writer)

func (*Artifacts) StreamBody

func (p *Artifacts) StreamBody(qw422016 *qt422016.Writer)

func (*Artifacts) StreamHeader

func (p *Artifacts) StreamHeader(qw422016 *qt422016.Writer)

func (*Artifacts) StreamTitle

func (p *Artifacts) StreamTitle(qw422016 *qt422016.Writer)

func (*Artifacts) Title

func (p *Artifacts) Title() string

func (*Artifacts) WriteActions

func (p *Artifacts) WriteActions(qq422016 qtio422016.Writer)

func (*Artifacts) WriteBody

func (p *Artifacts) WriteBody(qq422016 qtio422016.Writer)

func (*Artifacts) WriteHeader

func (p *Artifacts) WriteHeader(qq422016 qtio422016.Writer)

func (*Artifacts) WriteTitle

func (p *Artifacts) WriteTitle(qq422016 qtio422016.Writer)

type Create

type Create struct {
	template.BasePage
	template.Form
}

func (*Create) Actions

func (p *Create) Actions() string

func (*Create) Body

func (p *Create) Body() string

func (*Create) Header

func (p *Create) Header() string

func (*Create) Navigation

func (p *Create) Navigation() string

func (*Create) StreamActions

func (p *Create) StreamActions(qw422016 *qt422016.Writer)

func (*Create) StreamBody

func (p *Create) StreamBody(qw422016 *qt422016.Writer)

func (*Create) StreamHeader

func (p *Create) StreamHeader(qw422016 *qt422016.Writer)

func (*Create) StreamNavigation

func (p *Create) StreamNavigation(qw422016 *qt422016.Writer)

func (*Create) StreamTitle

func (p *Create) StreamTitle(qw422016 *qt422016.Writer)

func (*Create) Title

func (p *Create) Title() string

func (*Create) WriteActions

func (p *Create) WriteActions(qq422016 qtio422016.Writer)

func (*Create) WriteBody

func (p *Create) WriteBody(qq422016 qtio422016.Writer)

func (*Create) WriteHeader

func (p *Create) WriteHeader(qq422016 qtio422016.Writer)

func (*Create) WriteNavigation

func (p *Create) WriteNavigation(qq422016 qtio422016.Writer)

func (*Create) WriteTitle

func (p *Create) WriteTitle(qq422016 qtio422016.Writer)

type Index

type Index struct {
	template.BasePage

	Paginator database.Paginator
	Builds    []*build.Build
	Search    string
	Status    string
	Tag       string
}

func (*Index) Actions

func (p *Index) Actions() string

func (*Index) Body

func (p *Index) Body() string

func (*Index) Header

func (p *Index) Header() string

func (*Index) Navigation

func (p *Index) Navigation() string

func (*Index) Section

func (p *Index) Section() string

func (*Index) StreamActions

func (p *Index) StreamActions(qw422016 *qt422016.Writer)

func (*Index) StreamBody

func (p *Index) StreamBody(qw422016 *qt422016.Writer)

func (*Index) StreamHeader

func (p *Index) StreamHeader(qw422016 *qt422016.Writer)

func (*Index) StreamNavigation

func (p *Index) StreamNavigation(qw422016 *qt422016.Writer)

func (*Index) StreamSection

func (p *Index) StreamSection(qw422016 *qt422016.Writer)

func (*Index) StreamTitle

func (p *Index) StreamTitle(qw422016 *qt422016.Writer)

func (*Index) Title

func (p *Index) Title() string

func (*Index) WriteActions

func (p *Index) WriteActions(qq422016 qtio422016.Writer)

func (*Index) WriteBody

func (p *Index) WriteBody(qq422016 qtio422016.Writer)

func (*Index) WriteHeader

func (p *Index) WriteHeader(qq422016 qtio422016.Writer)

func (*Index) WriteNavigation

func (p *Index) WriteNavigation(qq422016 qtio422016.Writer)

func (*Index) WriteSection

func (p *Index) WriteSection(qq422016 qtio422016.Writer)

func (*Index) WriteTitle

func (p *Index) WriteTitle(qq422016 qtio422016.Writer)

type Job

type Job struct {
	template.BasePage

	Job *build.Job
}

func (*Job) Actions

func (p *Job) Actions() string

func (*Job) Body

func (p *Job) Body() string

func (*Job) Header

func (p *Job) Header() string

func (*Job) Navigation

func (p *Job) Navigation() string

func (*Job) StreamActions

func (p *Job) StreamActions(qw422016 *qt422016.Writer)

func (*Job) StreamBody

func (p *Job) StreamBody(qw422016 *qt422016.Writer)

func (*Job) StreamHeader

func (p *Job) StreamHeader(qw422016 *qt422016.Writer)

func (*Job) StreamNavigation

func (p *Job) StreamNavigation(qw422016 *qt422016.Writer)

func (*Job) StreamTitle

func (p *Job) StreamTitle(qw422016 *qt422016.Writer)

func (*Job) Title

func (p *Job) Title() string

func (*Job) WriteActions

func (p *Job) WriteActions(qq422016 qtio422016.Writer)

func (*Job) WriteBody

func (p *Job) WriteBody(qq422016 qtio422016.Writer)

func (*Job) WriteHeader

func (p *Job) WriteHeader(qq422016 qtio422016.Writer)

func (*Job) WriteNavigation

func (p *Job) WriteNavigation(qq422016 qtio422016.Writer)

func (*Job) WriteTitle

func (p *Job) WriteTitle(qq422016 qtio422016.Writer)

type Keys

type Keys struct {
	Build *build.Build
	Keys  []*build.Key
	// contains filtered or unexported fields
}

func (*Keys) Actions

func (p *Keys) Actions() string

func (*Keys) Body

func (p *Keys) Body() string

func (*Keys) Header

func (p *Keys) Header() string

func (*Keys) StreamActions

func (p *Keys) StreamActions(qw422016 *qt422016.Writer)

func (*Keys) StreamBody

func (p *Keys) StreamBody(qw422016 *qt422016.Writer)

func (*Keys) StreamHeader

func (p *Keys) StreamHeader(qw422016 *qt422016.Writer)

func (*Keys) StreamTitle

func (p *Keys) StreamTitle(qw422016 *qt422016.Writer)

func (*Keys) Title

func (p *Keys) Title() string

func (*Keys) WriteActions

func (p *Keys) WriteActions(qq422016 qtio422016.Writer)

func (*Keys) WriteBody

func (p *Keys) WriteBody(qq422016 qtio422016.Writer)

func (*Keys) WriteHeader

func (p *Keys) WriteHeader(qq422016 qtio422016.Writer)

func (*Keys) WriteTitle

func (p *Keys) WriteTitle(qq422016 qtio422016.Writer)

type Manifest

type Manifest struct {
	Build *build.Build
	// contains filtered or unexported fields
}

func (*Manifest) Actions

func (p *Manifest) Actions() string

func (*Manifest) Body

func (p *Manifest) Body() string

func (*Manifest) Header

func (p *Manifest) Header() string

func (*Manifest) StreamActions

func (p *Manifest) StreamActions(qw422016 *qt422016.Writer)

func (*Manifest) StreamBody

func (p *Manifest) StreamBody(qw422016 *qt422016.Writer)

func (*Manifest) StreamHeader

func (p *Manifest) StreamHeader(qw422016 *qt422016.Writer)

func (*Manifest) StreamTitle

func (p *Manifest) StreamTitle(qw422016 *qt422016.Writer)

func (*Manifest) Title

func (p *Manifest) Title() string

func (*Manifest) WriteActions

func (p *Manifest) WriteActions(qq422016 qtio422016.Writer)

func (*Manifest) WriteBody

func (p *Manifest) WriteBody(qq422016 qtio422016.Writer)

func (*Manifest) WriteHeader

func (p *Manifest) WriteHeader(qq422016 qtio422016.Writer)

func (*Manifest) WriteTitle

func (p *Manifest) WriteTitle(qq422016 qtio422016.Writer)

type Objects

type Objects struct {
	Build   *build.Build
	Objects []*build.Object
	// contains filtered or unexported fields
}

func (*Objects) Actions

func (p *Objects) Actions() string

func (*Objects) Body

func (p *Objects) Body() string

func (*Objects) Header

func (p *Objects) Header() string

func (*Objects) StreamActions

func (p *Objects) StreamActions(qw422016 *qt422016.Writer)

func (*Objects) StreamBody

func (p *Objects) StreamBody(qw422016 *qt422016.Writer)

func (*Objects) StreamHeader

func (p *Objects) StreamHeader(qw422016 *qt422016.Writer)

func (*Objects) StreamTitle

func (p *Objects) StreamTitle(qw422016 *qt422016.Writer)

func (*Objects) Title

func (p *Objects) Title() string

func (*Objects) WriteActions

func (p *Objects) WriteActions(qq422016 qtio422016.Writer)

func (*Objects) WriteBody

func (p *Objects) WriteBody(qq422016 qtio422016.Writer)

func (*Objects) WriteHeader

func (p *Objects) WriteHeader(qq422016 qtio422016.Writer)

func (*Objects) WriteTitle

func (p *Objects) WriteTitle(qq422016 qtio422016.Writer)

type Show

type Show struct {
	template.BasePage
	template.Section

	Build *build.Build
	CSRF  htmltemplate.HTML
}

func (*Show) Actions

func (p *Show) Actions() string

func (*Show) Body

func (p *Show) Body() string

func (*Show) Header

func (p *Show) Header() string

func (*Show) Navigation

func (p *Show) Navigation() string

func (*Show) StreamActions

func (p *Show) StreamActions(qw422016 *qt422016.Writer)

func (*Show) StreamBody

func (p *Show) StreamBody(qw422016 *qt422016.Writer)

func (*Show) StreamHeader

func (p *Show) StreamHeader(qw422016 *qt422016.Writer)

func (*Show) StreamNavigation

func (p *Show) StreamNavigation(qw422016 *qt422016.Writer)

func (*Show) StreamTitle

func (p *Show) StreamTitle(qw422016 *qt422016.Writer)

func (*Show) Title

func (p *Show) Title() string

func (*Show) WriteActions

func (p *Show) WriteActions(qq422016 qtio422016.Writer)

func (*Show) WriteBody

func (p *Show) WriteBody(qq422016 qtio422016.Writer)

func (*Show) WriteHeader

func (p *Show) WriteHeader(qq422016 qtio422016.Writer)

func (*Show) WriteNavigation

func (p *Show) WriteNavigation(qq422016 qtio422016.Writer)

func (*Show) WriteTitle

func (p *Show) WriteTitle(qq422016 qtio422016.Writer)

type Tags

type Tags struct {
	CSRF  htmltemplate.HTML
	User  *user.User
	Build *build.Build
	Tags  []*build.Tag
	// contains filtered or unexported fields
}

func (*Tags) Actions

func (p *Tags) Actions() string

func (*Tags) Body

func (p *Tags) Body() string

func (*Tags) Header

func (p *Tags) Header() string

func (*Tags) StreamActions

func (p *Tags) StreamActions(qw422016 *qt422016.Writer)

func (*Tags) StreamBody

func (p *Tags) StreamBody(qw422016 *qt422016.Writer)

func (*Tags) StreamHeader

func (p *Tags) StreamHeader(qw422016 *qt422016.Writer)

func (*Tags) StreamTitle

func (p *Tags) StreamTitle(qw422016 *qt422016.Writer)

func (*Tags) Title

func (p *Tags) Title() string

func (*Tags) WriteActions

func (p *Tags) WriteActions(qq422016 qtio422016.Writer)

func (*Tags) WriteBody

func (p *Tags) WriteBody(qq422016 qtio422016.Writer)

func (*Tags) WriteHeader

func (p *Tags) WriteHeader(qq422016 qtio422016.Writer)

func (*Tags) WriteTitle

func (p *Tags) WriteTitle(qq422016 qtio422016.Writer)

type Variables

type Variables struct {
	Build     *build.Build
	Variables []*build.Variable
	// contains filtered or unexported fields
}

func (*Variables) Actions

func (p *Variables) Actions() string

func (*Variables) Body

func (p *Variables) Body() string

func (*Variables) Header

func (p *Variables) Header() string

func (*Variables) StreamActions

func (p *Variables) StreamActions(qw422016 *qt422016.Writer)

func (*Variables) StreamBody

func (p *Variables) StreamBody(qw422016 *qt422016.Writer)

func (*Variables) StreamHeader

func (p *Variables) StreamHeader(qw422016 *qt422016.Writer)

func (*Variables) StreamTitle

func (p *Variables) StreamTitle(qw422016 *qt422016.Writer)

func (*Variables) Title

func (p *Variables) Title() string

func (*Variables) WriteActions

func (p *Variables) WriteActions(qq422016 qtio422016.Writer)

func (*Variables) WriteBody

func (p *Variables) WriteBody(qq422016 qtio422016.Writer)

func (*Variables) WriteHeader

func (p *Variables) WriteHeader(qq422016 qtio422016.Writer)

func (*Variables) WriteTitle

func (p *Variables) WriteTitle(qq422016 qtio422016.Writer)

Jump to

Keyboard shortcuts

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