+
-
+
@@ -109,7 +109,7 @@
-
+
首页
@@ -123,9 +123,9 @@
">尾页
-
-
diff --git a/src/main/resources/templates/edit.mustache b/src/main/resources/templates/edit.mustache
new file mode 100644
index 0000000..f318cf6
--- /dev/null
+++ b/src/main/resources/templates/edit.mustache
@@ -0,0 +1,19 @@
+{{> header }}
+
+
+
+
+ {{# userEditor }}
+ {{> editor/user }}
+ {{/ userEditor }}
+ {{# itemEditor }}
+ {{> editor/item }}
+ {{/ itemEditor }}
+
+
+
+
+
+
+
+{{> footer }}
\ No newline at end of file
diff --git a/src/main/resources/templates/editor/item.mustache b/src/main/resources/templates/editor/item.mustache
new file mode 100644
index 0000000..d7119e0
--- /dev/null
+++ b/src/main/resources/templates/editor/item.mustache
@@ -0,0 +1,37 @@
+{{> header }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
数量
+
+
1
+
2
+
3
+
4
+
5
+
6
+
+
+
+
+ 立即购买
+ 加入购物车
+
+
+
+
+
+{{> footer }}
\ No newline at end of file
diff --git a/src/main/resources/templates/editor/user.mustache b/src/main/resources/templates/editor/user.mustache
new file mode 100644
index 0000000..5740da8
--- /dev/null
+++ b/src/main/resources/templates/editor/user.mustache
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+ ID |
+ 用户名 |
+ 帐户创建时间 |
+ 最后登录时间 |
+ 年龄 |
+ 性别 |
+ 邮箱 |
+ 管理员 |
+ 操作 |
+
+
+
+ {{#Users}}
+
+ {{ Id }} |
+ {{ UserName }} |
+ {{ CreateDate }} |
+ {{ LastLoginDate }} |
+ {{ Age }} |
+ {{ Gender }} |
+ {{ Phone }} |
+ {{ Email }} |
+ {{ Address }} |
+ {{ IsAdmin }} |
+
+
+
+ |
+
+ {{/Users}}
+
+
+
+
+
首页
+
+
+ 第
+
+
+ 第 页
+
+
+
尾页
+
diff --git a/src/main/resources/templates/error.jsp b/src/main/resources/templates/error.jsp
deleted file mode 100644
index 8c72f70..0000000
--- a/src/main/resources/templates/error.jsp
+++ /dev/null
@@ -1,109 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
-<%@ taglib prefix="s" uri="/struts-tags" %>
-
-
-
-
-
-
- ">
-
-
出错啦! - 67购物网站
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
失败
-
-
原因:
-
-
- 将在三秒后跳转至页面:
- ')">点此立即跳转
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/main/resources/templates/error.mustache b/src/main/resources/templates/error.mustache
new file mode 100644
index 0000000..0b7df97
--- /dev/null
+++ b/src/main/resources/templates/error.mustache
@@ -0,0 +1,42 @@
+
+
+
+
+
主页 - 在线果蔬商城
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{> header }}
+
+
+
{{ title }} 失败
+
原因: {{ message }}
+ {{# redirect }}
+
将在三秒后跳转至页面: {{ redirect }}
+
+ {{/ redirect }}
+
+
+{{> footer }}
+
+
+
diff --git a/src/main/resources/templates/footer.mustache b/src/main/resources/templates/footer.mustache
index 713fbe7..2c6f3cf 100644
--- a/src/main/resources/templates/footer.mustache
+++ b/src/main/resources/templates/footer.mustache
@@ -1,7 +1,7 @@