模仿天猫实战【SSM版】——后台开发 (2)

listCategory.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <html> <head> <meta charset="utf-8" /> <meta content="width=device-width, initial-scale=1.0" /> <title>模仿天猫-后台</title> <!-- Bootstrap Styles--> <link href="" /> <!-- FontAwesome Styles--> <link href="" /> <!-- Morris Chart Styles--> <!-- Custom Styles--> <link href="" /> <!-- Google Fonts--> <link href='http://fonts.googleapis.com/css?family=Open+Sans' type='text/css' /> <!-- TABLE STYLES--> <link href="" /> </head> <body> <div> <nav role="navigation"> <div> <button type="button" data-toggle="collapse" data-target=".sidebar-collapse"> <span>Toggle navigation</span> <span></span> <span></span> <span></span> </button> <a href="http://www.likecs.com/listCategory">Tmall</a> </div> </nav> <!--/. NAV TOP --> <nav role="navigation"> <div> <ul> <li> <a href="http://www.likecs.com/listCategory"><i></i> 分类管理</a> </li> <li> <a href="http://www.likecs.com/listUser"><i></i> 用户管理</a> </li> <li> <a href="http://www.likecs.com/listOrder"><i></i> 订单管理</a> </li> <li> <a href="http://www.likecs.com/listProduct"><i></i> 产品管理</a> </li> <li> <a href="http://www.likecs.com/listLink"><i></i> 推荐链接管理</a> </li> </ul> </div> </nav> <!-- /. NAV SIDE --> <div> <div> <div> <div> <h1> 分类管理 <small></small> </h1> </div> </div> <div> <div> <!-- Advanced Tables --> <div> <div> 分类管理表 </div> <div> <div> <table> <thead> <tr> <th>分类id</th> <th>分类名称</th> <th>编辑分类</th> <th>产品管理</th> <th>属性管理</th> </tr> </thead> <tbody> <c:forEach items="${categories}" var="c"> <tr> <td>${c.id}</td> <td>${c.name}</td> <td><a href="http://www.likecs.com/editCategory?id=${c.id}&name=${c.name}"><span></span></a></td> <td><a href="http://www.likecs.com/listProduct?category_id=${c.id}"><span></span></a></td> <td><a href="http://www.likecs.com/listProperty?category_id=${c.id}"><span></span></a></td> </tr> </c:forEach> </tbody> </table> </div> </div> </div> <!--End Advanced Tables --> </div> </div> </div> </div> <!-- /. PAGE WRAPPER --> </div> <!-- /. WRAPPER --> <!-- JS Scripts--> <!-- jQuery Js --> <script src=""></script> <!-- Bootstrap Js --> <script src=""></script> <!-- Metis Menu Js --> <script src=""></script> <!-- DATA TABLE SCRIPTS --> <script src=""></script> <script src=""></script> <script> $(document).ready(function () { $('#dataTables-example').dataTable(); }); </script> <!-- Custom Js --> <script src=""></script> </body> </html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zyyjdz.html