16 lines
465 B
Go
16 lines
465 B
Go
package components
|
|
|
|
type ContentTabledetail struct {
|
|
ID string
|
|
TableClass string // table-primary, table-secondary,.. table-striped table-bordered
|
|
HeadClass string // table-dark table-light
|
|
Title string
|
|
AllTD []ContentTabledetailTD
|
|
}
|
|
|
|
type ContentTabledetailTD struct {
|
|
ID string
|
|
Caption string
|
|
ValueType string // -> default string, href, badge
|
|
Value interface{} // string or component struct according ValueType
|
|
}
|