struct StatusPage::HTMLBuilder::Table

Included Modules

Defined in:

status_page/html_builder.cr

Constructors

Instance Method Summary

Instance methods inherited from module StatusPage::HTMLBuilder::HTMLNodes

div(**args, &) div, escape(*output) escape, link(href : String, &)
link(content, href : String)
link
, node(name, **args, &) node, pre(**args, &) pre

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def escape(*output) #

[View source]
def get_table #

[View source]
def header(*titles) #

[View source]
def kv(key, value, **args) #

[View source]
def link(href : String, &) #

[View source]
def link(content, href : String) #

[View source]
def row(**args, &) #

[View source]
def rows(iter, **args, &) #

[View source]
def td(link : String | Nil = nil, **args, &) #

[View source]
def td(content, **args) #

[View source]
def th(link : String | Nil = nil, **args, &) #

[View source]
def th(content, **args) #

[View source]