blog paging configuration

This commit is contained in:
lealife
2017-04-16 15:27:35 +08:00
parent 4ffd048b2a
commit 3bf6703929

View File

@ -24,7 +24,7 @@
name="sortField" name="sortField"
value=""> value="">
<option value="PublicTime" {{if eq $.userBlog.SortField "PublicTime"}}selected{{end}}>{{msg $ "publicTime"}}</option> <option value="PublicTime" {{if eq $.userBlog.SortField "PublicTime"}}selected{{end}}>{{msg $ "publicTime"}}</option>
<option value="CreatedTime" {{if eq $.userBlog.SortField "CreatedTimeTime"}}selected{{end}}>{{msg $ "createdTime"}}</option> <option value="CreatedTime" {{if eq $.userBlog.SortField "CreatedTime"}}selected{{end}}>{{msg $ "createdTime"}}</option>
<option value="UpdatedTime" {{if eq $.userBlog.SortField "UpdatedTime"}}selected{{end}}>{{msg $ "updatedTime"}}</option> <option value="UpdatedTime" {{if eq $.userBlog.SortField "UpdatedTime"}}selected{{end}}>{{msg $ "updatedTime"}}</option>
<option value="Title" {{if eq $.userBlog.SortField "Title"}}selected{{end}}>{{msg . "title"}}</option> <option value="Title" {{if eq $.userBlog.SortField "Title"}}selected{{end}}>{{msg . "title"}}</option>
</select> </select>
@ -49,7 +49,7 @@
{{template "member/footer.html" .}} {{template "member/footer.html" .}}
<script> <script>
var urlPrefix = "{{.siteUrl}}"; var urlPrefix = "{{.siteUrl}}";
$(function() { $(function() {
// domain // domain
$("#baseBtn").click(function(e) { $("#baseBtn").click(function(e) {
e.preventDefault(); e.preventDefault();