Example #1
0
// ShowList displays the list of available tables to be downloaded
func (controller *Table) ShowList() {
	controller.Data["tables"] = developer.GetAllowedTables()
	// Please use http://www.timestampgenerator.com/
	controller.SetCustomTitle("Developers & Research")
	controller.IndicateLastModification(1445250987)
	controller.LoadTemplate("table")
}
Example #2
0
// Display shows a table with all the accounts
func (controller *Home) Display() {
	controller.GenerateXSRF()
	controller.Data["tables"] = developer.GetAllowedTables()
	controller.SetCustomTitle("Admin - Developers")
	controller.LoadTemplate("home")
}