package templates import "fmt" templ Index(metaContent utils.MetaContent, counters IndexCounts, err error) { @wrapBase(metaContent, "GoIPAM", err) {
@indexStats(counters)
} } templ indexStats(counters IndexCounts) {

Subnets

{ fmt.Sprint(counters.SubnetCount) }

Addresses

{ fmt.Sprint(counters.AddressCount) }

Devices

{ fmt.Sprint(counters.DeviceCount) }

Locations

{ fmt.Sprint(counters.LocationCount) }

}