部分bug修复

This commit is contained in:
doramart 2015-09-01 08:31:02 +08:00
parent e1be5c3d87
commit 22e01ed591
3 changed files with 54 additions and 0 deletions

16
views/web/index.ejs Normal file
View 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
View 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
View 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 -->