|
@@ -28,9 +28,6 @@ const (
|
|
|
// DashboardTPL page template
|
|
// DashboardTPL page template
|
|
|
DashboardTPL = "admin/dashboard"
|
|
DashboardTPL = "admin/dashboard"
|
|
|
|
|
|
|
|
- // AnalyticsTPL page template
|
|
|
|
|
- AnalyticsTPL = "admin/analytics"
|
|
|
|
|
-
|
|
|
|
|
// ConfigTPL page template
|
|
// ConfigTPL page template
|
|
|
ConfigTPL = "admin/config"
|
|
ConfigTPL = "admin/config"
|
|
|
|
|
|
|
@@ -281,10 +278,3 @@ func Monitor(c *context.Context) {
|
|
|
c.Data["Entries"] = cron.ListTasks()
|
|
c.Data["Entries"] = cron.ListTasks()
|
|
|
c.HTML(200, MonitorTPL)
|
|
c.HTML(200, MonitorTPL)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-// Analytics shows analytics page
|
|
|
|
|
-func Analytics(c *context.Context) {
|
|
|
|
|
- c.Data["Title"] = "Analytics"
|
|
|
|
|
- c.Data["PageIsAdminAnalytics"] = true
|
|
|
|
|
- c.HTML(200, AnalyticsTPL)
|
|
|
|
|
-}
|
|
|