1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-10-15 20:25:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

管理员后台文件管理前端页面完成;一些小调整

This commit is contained in:
2022-04-10 16:50:08 +08:00
parent dc1e8ee810
commit 2912c09098
7 changed files with 86 additions and 32 deletions

View File

@@ -29,6 +29,10 @@
</head>
<body>
<%- include("./component/navbar.html"); %>
<!-- 获取参数 -->
<script src="/assets/javascripts/getParams.js"></script>
<!-- 渲染表格 -->
<script src="/assets/javascripts/renderTable.js"></script>
<main class="main">
<h1><%= title %></h1>
<div id="container">
@@ -40,20 +44,5 @@
</div>
</main>
<%- include("./component/footer.html"); %>
<!-- 获取参数 -->
<script src="/assets/javascripts/getParams.js"></script>
<!-- 渲染表格 -->
<script src="/assets/javascripts/renderTable.js"></script>
<script>
var requestParams = getParams();
var searchbox = document.getElementById("searchInput");
var keyword = (requestParams["keyword"] || "").trim();
search({
tableElementId: "book-table",
searchText: null,
categoryId: null
});
</script>
</body>
</html>