diff --git a/src/main/resources/templates/admin/admin_post.ftl b/src/main/resources/templates/admin/admin_post.ftl index 15612bcec..e3a7ec0a1 100755 --- a/src/main/resources/templates/admin/admin_post.ftl +++ b/src/main/resources/templates/admin/admin_post.ftl @@ -1,6 +1,6 @@ <#compress > -<#include "module/_macro.ftl"> -<@head>${options.blog_title} | <@spring.message code='admin.posts.title' /> + <#include "module/_macro.ftl"> + <@head>${options.blog_title} | <@spring.message code='admin.posts.title' />
<#include "module/_header.ftl"> @@ -11,7 +11,6 @@ .draft,.publish,.trash{list-style:none;float:left;margin:0;padding-bottom:10px} #btnNewPost{margin-left:4px;padding:3px 6px;position:relative;top:-4px;border:1px solid #ccc;border-radius:2px;background:#fff;text-shadow:none;font-weight:600;font-size:12px;line-height:normal;color:#3c8dbc;cursor:pointer;transition:all .2s ease-in-out} #btnNewPost:hover{background:#3c8dbc;color:#fff} - .pretty{margin: 0;}

<@spring.message code='admin.posts.title' />

@@ -21,8 +20,7 @@
-
-
- -
- - -
-
-
- - -
-
- @@ -81,14 +60,6 @@ <#if posts.content?size gt 0> <#list posts.content as post> - <#if post.postTitle?length gt 20> <#else > @@ -140,7 +111,7 @@ - <#else> + <#else> @@ -192,26 +163,9 @@ var url=$.trim($("#url").val()); window.location.href=url; } - function selectAll() { - if ($("input[name='ck']").prop("checked")) { - $("input[type='checkbox'][name='cks']").prop("checked",true);//全选 - } else { - $("input[type='checkbox'][name='cks']").prop("checked",false); //取消全选 - } - } - function setSelectAll(){ - if (!$("#checkAll").checked) { - $("#checkAll").prop("checked", false); - } - var chsub = $("input[type='checkbox'][name='cks']").length; - var checkedsub = $("input[type='checkbox'][name='cks']:checked").length; - if (checkedsub == chsub) { - $("#checkAll").prop("checked", true); - } - } <#include "module/_footer.ftl"> -<@footer> + <@footer>
-
- -
-
-
<@spring.message code='common.th.title' /> <@spring.message code='common.th.categories' /> <@spring.message code='common.th.tags' />
-
- -
- -
-
-
${post.postTitle?substring(0,20)}...
<@spring.message code='common.text.no-data' />