Skip to content
Snippets Groups Projects
Commit cb165117 authored by Haoyu Sun's avatar Haoyu Sun
Browse files

IndexController and 5pages and include jquery.js

parent 96499354
No related branches found
No related tags found
3 merge requests!20Five pages index controller,!19Five pages index controller,!1Dev
......@@ -8,7 +8,12 @@ import org.springframework.web.servlet.ModelAndView;
public class IndexController {
@GetMapping("/index")
public ModelAndView getIndex() {
ModelAndView modelAndView = new ModelAndView("/index/index");
ModelAndView modelAndView = new ModelAndView("/page/index");
return modelAndView;
}
@GetMapping("/index/groupList")
public ModelAndView getGroupList() {
ModelAndView modelAndView = new ModelAndView("/page/groupList");
return modelAndView;
}
}
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>groupList</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="../css/index.css">
<link rel="stylesheet" href="../css/reset.css">
<script src="../static/lib/jquery.js"></script>
</head>
<body>
<header class="safe">
<div>
logo
</div>
<div class="l">
<ul>
<li><a href="index.html"></a>Index</li>
<li><a href="groupList.html"></a>GroupList</li>
<li><a href="itemForm.html"></a>ShelfItem</li>
<li><a href="personalInformation.html"></a>PersonalInformation</li>
</ul>
</div>
</header>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>itemDetail</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>itemForm</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>itemList</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>personalInformation</div>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment