package handler

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

// AdminDashboard 管理后台首页
func AdminDashboard(c *gin.Context) {
	c.HTML(http.StatusOK, "index.html", gin.H{
		"title": "管理后台",
		"page":  "dashboard",
	})
}

// AdminUsers 用户管理
func AdminUsers(c *gin.Context) {
	c.HTML(http.StatusOK, "index.html", gin.H{
		"title": "用户管理",
		"page":  "users",
	})
}

// AdminOrders 订单管理
func AdminOrders(c *gin.Context) {
	c.HTML(http.StatusOK, "index.html", gin.H{
		"title": "订单管理",
		"page":  "orders",
	})
}

// AdminWishes 许愿管理
func AdminWishes(c *gin.Context) {
	c.HTML(http.StatusOK, "index.html", gin.H{
		"title": "许愿管理",
		"page":  "wishes",
	})
}

// AdminSettings 系统设置
func AdminSettings(c *gin.Context) {
	c.HTML(http.StatusOK, "index.html", gin.H{
		"title": "系统设置",
		"page":  "settings",
	})
}
