Documentation ¶
Index ¶
- Variables
- func Active(condition bool) string
- func FileInput(f Form) string
- func IndentJSON(s string) string
- func Match(uri, pattern string) bool
- func NewDashboard(d Dashboard, url *url.URL, u *user.User, a Alert, csrf template.HTML) *baseDashboard
- func Render(p Page) string
- func RenderAlert(a Alert, url string) string
- func RenderCode(c string) string
- func RenderPaginator(url *url.URL, p database.Paginator) string
- func RenderSearch(uri, search, prompt string) string
- func RenderShortStatus(s runner.Status) string
- func RenderSize(n int64) string
- func RenderStatus(s runner.Status) string
- func StreamFileInput(qw422016 *qt422016.Writer, f Form)
- func StreamRender(qw422016 *qt422016.Writer, p Page)
- func StreamRenderAlert(qw422016 *qt422016.Writer, a Alert, url string)
- func StreamRenderCode(qw422016 *qt422016.Writer, c string)
- func StreamRenderPaginator(qw422016 *qt422016.Writer, url *url.URL, p database.Paginator)
- func StreamRenderSearch(qw422016 *qt422016.Writer, uri, search, prompt string)
- func StreamRenderShortStatus(qw422016 *qt422016.Writer, s runner.Status)
- func StreamRenderStatus(qw422016 *qt422016.Writer, s runner.Status)
- func WriteFileInput(qq422016 qtio422016.Writer, f Form)
- func WriteRender(qq422016 qtio422016.Writer, p Page)
- func WriteRenderAlert(qq422016 qtio422016.Writer, a Alert, url string)
- func WriteRenderCode(qq422016 qtio422016.Writer, c string)
- func WriteRenderPaginator(qq422016 qtio422016.Writer, url *url.URL, p database.Paginator)
- func WriteRenderSearch(qq422016 qtio422016.Writer, uri, search, prompt string)
- func WriteRenderShortStatus(qq422016 qtio422016.Writer, s runner.Status)
- func WriteRenderStatus(qq422016 qtio422016.Writer, s runner.Status)
- type Alert
- type BasePage
- func (p *BasePage) Body() string
- func (p *BasePage) Footer() string
- func (p *BasePage) StreamBody(qw422016 *qt422016.Writer)
- func (p *BasePage) StreamFooter(qw422016 *qt422016.Writer)
- func (p *BasePage) StreamTitle(qw422016 *qt422016.Writer)
- func (p *BasePage) Title() string
- func (p *BasePage) WriteBody(qq422016 qtio422016.Writer)
- func (p *BasePage) WriteFooter(qq422016 qtio422016.Writer)
- func (p *BasePage) WriteTitle(qq422016 qtio422016.Writer)
- type Dashboard
- type Error
- func (p *Error) Body() string
- func (p *Error) Footer() string
- func (p *Error) StreamBody(qw422016 *qt422016.Writer)
- func (p *Error) StreamFooter(qw422016 *qt422016.Writer)
- func (p *Error) StreamTitle(qw422016 *qt422016.Writer)
- func (p *Error) Title() string
- func (p *Error) WriteBody(qq422016 qtio422016.Writer)
- func (p *Error) WriteFooter(qq422016 qtio422016.Writer)
- func (p *Error) WriteTitle(qq422016 qtio422016.Writer)
- type FileForm
- func (p *FileForm) Actions() string
- func (p *FileForm) Body() string
- func (p *FileForm) Header() string
- func (p *FileForm) StreamActions(qw422016 *qt422016.Writer)
- func (p *FileForm) StreamBody(qw422016 *qt422016.Writer)
- func (p *FileForm) StreamHeader(qw422016 *qt422016.Writer)
- func (p *FileForm) StreamTitle(qw422016 *qt422016.Writer)
- func (p *FileForm) Title() string
- func (p *FileForm) WriteActions(qq422016 qtio422016.Writer)
- func (p *FileForm) WriteBody(qq422016 qtio422016.Writer)
- func (p *FileForm) WriteHeader(qq422016 qtio422016.Writer)
- func (p *FileForm) WriteTitle(qq422016 qtio422016.Writer)
- type Form
- type InternalError
- type Level
- type Page
- type Section
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NamespacesURI = "(\\/namespaces\\/?|\\/n\\/[_\\-a-zA-Z0-9.]+\\/[\\-a-zA-Z0-9\\/]*\\/?)" CronURI = "\\/cron\\/?" InvitesURI = "^\\/invites\\/?" BuildsURI = "(^\\/builds\\/?|^\\/builds\\/create$|^\\/b/[_\\-a-zA-Z0-9.]+\\/[0-9]+\\/?[a-z]*)" SettingsURI = "\\/settings\\/?" RepositoriesURI = "\\/repos\\/?" )
Functions ¶
func IndentJSON ¶ added in v1.1.0
func NewDashboard ¶
func RenderAlert ¶
func RenderCode ¶
func RenderSearch ¶
func RenderShortStatus ¶
func RenderSize ¶
func RenderStatus ¶
func StreamFileInput ¶
func StreamRender ¶
func StreamRenderCode ¶
func StreamRenderPaginator ¶
func StreamRenderSearch ¶
func StreamRenderShortStatus ¶
func WriteFileInput ¶
func WriteFileInput(qq422016 qtio422016.Writer, f Form)
func WriteRender ¶
func WriteRender(qq422016 qtio422016.Writer, p Page)
func WriteRenderAlert ¶
func WriteRenderAlert(qq422016 qtio422016.Writer, a Alert, url string)
func WriteRenderCode ¶
func WriteRenderCode(qq422016 qtio422016.Writer, c string)
func WriteRenderPaginator ¶
func WriteRenderSearch ¶
func WriteRenderSearch(qq422016 qtio422016.Writer, uri, search, prompt string)
func WriteRenderShortStatus ¶
func WriteRenderShortStatus(qq422016 qtio422016.Writer, s runner.Status)
func WriteRenderStatus ¶
func WriteRenderStatus(qq422016 qtio422016.Writer, s runner.Status)
Types ¶
type BasePage ¶
func (*BasePage) StreamBody ¶
func (*BasePage) StreamFooter ¶
func (*BasePage) StreamTitle ¶
func (*BasePage) WriteBody ¶
func (p *BasePage) WriteBody(qq422016 qtio422016.Writer)
func (*BasePage) WriteFooter ¶
func (p *BasePage) WriteFooter(qq422016 qtio422016.Writer)
func (*BasePage) WriteTitle ¶
func (p *BasePage) WriteTitle(qq422016 qtio422016.Writer)
type Dashboard ¶
type Dashboard interface { Title() string StreamTitle(qw422016 *qt422016.Writer) WriteTitle(qq422016 qtio422016.Writer) Body() string StreamBody(qw422016 *qt422016.Writer) WriteBody(qq422016 qtio422016.Writer) Actions() string StreamActions(qw422016 *qt422016.Writer) WriteActions(qq422016 qtio422016.Writer) Header() string StreamHeader(qw422016 *qt422016.Writer) WriteHeader(qq422016 qtio422016.Writer) }
type Error ¶
func (*Error) StreamBody ¶
func (*Error) StreamFooter ¶
func (*Error) StreamTitle ¶
func (*Error) WriteBody ¶
func (p *Error) WriteBody(qq422016 qtio422016.Writer)
func (*Error) WriteFooter ¶
func (p *Error) WriteFooter(qq422016 qtio422016.Writer)
func (*Error) WriteTitle ¶
func (p *Error) WriteTitle(qq422016 qtio422016.Writer)
type FileForm ¶
type FileForm struct {
Form
}
func (*FileForm) StreamActions ¶
func (*FileForm) StreamBody ¶
func (*FileForm) StreamHeader ¶
func (*FileForm) StreamTitle ¶
func (*FileForm) WriteActions ¶
func (p *FileForm) WriteActions(qq422016 qtio422016.Writer)
func (*FileForm) WriteBody ¶
func (p *FileForm) WriteBody(qq422016 qtio422016.Writer)
func (*FileForm) WriteHeader ¶
func (p *FileForm) WriteHeader(qq422016 qtio422016.Writer)
func (*FileForm) WriteTitle ¶
func (p *FileForm) WriteTitle(qq422016 qtio422016.Writer)
type Form ¶
func (Form) WriteError ¶
func (f Form) WriteError(qq422016 qtio422016.Writer, field string)
type InternalError ¶
func (*InternalError) Body ¶
func (p *InternalError) Body() string
func (*InternalError) StreamBody ¶
func (p *InternalError) StreamBody(qw422016 *qt422016.Writer)
func (*InternalError) WriteBody ¶
func (p *InternalError) WriteBody(qq422016 qtio422016.Writer)
type Page ¶
type Page interface { Title() string StreamTitle(qw422016 *qt422016.Writer) WriteTitle(qq422016 qtio422016.Writer) Body() string StreamBody(qw422016 *qt422016.Writer) WriteBody(qq422016 qtio422016.Writer) }
type Section ¶
type Section interface { Title() string StreamTitle(qw422016 *qt422016.Writer) WriteTitle(qq422016 qtio422016.Writer) Header() string StreamHeader(qw422016 *qt422016.Writer) WriteHeader(qq422016 qtio422016.Writer) Actions() string StreamActions(qw422016 *qt422016.Writer) WriteActions(qq422016 qtio422016.Writer) Body() string StreamBody(qw422016 *qt422016.Writer) WriteBody(qq422016 qtio422016.Writer) }
Click to show internal directories.
Click to hide internal directories.