mirror of
https://gitee.com/doramart/DoraCMS.git
synced 2024-12-04 21:27:52 +08:00
部分bug修复
This commit is contained in:
parent
e1be5c3d87
commit
22e01ed591
16
views/web/index.ejs
Normal file
16
views/web/index.ejs
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-9 left-frame">
|
||||
<% include public/itemListTemp %>
|
||||
<% include public/pagination %>
|
||||
</div>
|
||||
<div class="col-md-3 right-frame">
|
||||
<% include public/searchBoard %>
|
||||
<% include public/cateList %>
|
||||
<% include public/hotNewsList %>
|
||||
<% include public/tagsList %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
20
views/web/searchTemp.ejs
Normal file
20
views/web/searchTemp.ejs
Normal file
@ -0,0 +1,20 @@
|
||||
<div class="container">
|
||||
<div class="col-md-12" style="margin-top: 50px;margin-bottom: 30px;">
|
||||
<div class="row">
|
||||
<form action="/content/searchResult/items">
|
||||
<div class="col-md-11">
|
||||
<input class="form-control search-input" type="text" placeholder="请输入关键字" name="searchKey" value="<%=pageInfo.searchKey%>">
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<button type="submit" class="btn btn-default">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 min-hight">
|
||||
<div class="row">
|
||||
<% include public/itemListTemp %>
|
||||
<% include public/pagination %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
18
views/web/sitemap.ejs
Normal file
18
views/web/sitemap.ejs
Normal file
@ -0,0 +1,18 @@
|
||||
<!-- BEGIN CONTAINER -->
|
||||
<style>
|
||||
.siteMap{padding: 15px;}
|
||||
.siteMap ol li{height: 25px;}
|
||||
</style>
|
||||
<div class="container min-hight" style="margin-bottom: 20px;background: #FFFFFF">
|
||||
|
||||
<div class="col-md-12 siteMap">
|
||||
|
||||
<ol>
|
||||
<%documentList.forEach(function(item){%>
|
||||
<li><a href="http://<%=myDomain%>/details/<%=item._id%>.html"><%=item.title%></a></li>
|
||||
<%})%>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- END CONTAINER -->
|
Loading…
Reference in New Issue
Block a user