rm skins
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<h2>${archive1Label}
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
@@ -1,78 +0,0 @@
|
||||
<#list articles as article>
|
||||
<div class="article">
|
||||
<h2>
|
||||
<span class="left">
|
||||
<a rel="bookmark" class="article-title" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="tip">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="tip">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</span>
|
||||
<span class="expand-ico" onclick="getArticle(this, '${article.oId}');"></span>
|
||||
<span class="clear"></span>
|
||||
</h2>
|
||||
<div class="left article-element">
|
||||
<span class="date-ico" title="${dateLabel}">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</span>
|
||||
<span class="user-ico" title="${authorLabel}">
|
||||
<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="right article-element">
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount} ${commentLabel}
|
||||
</a>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleViewCount} ${viewLabel}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="article-body">
|
||||
<div id="abstract${article.oId}">
|
||||
${article.articleAbstract}
|
||||
</div>
|
||||
<div id="content${article.oId}" class="none"></div>
|
||||
</div>
|
||||
<div class="article-element">
|
||||
<span class="tag-ico" title="${tagsLabel}">
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</#list>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</#list>
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="pagination">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}/1" title="${firstPageLabel}"><</a>
|
||||
<a href="${servePath}${path}/${paginationPreviousPageNum}" title="${previousPageLabel}"><<</a>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<a href="${servePath}${path}/${paginationPageNum}" class="current">${paginationPageNum}</a>
|
||||
<#else>
|
||||
<a href="${servePath}${path}/${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount>
|
||||
<a href="${servePath}${path}/${paginationNextPageNum}" title="${nextPagePabel}">></a>
|
||||
<a href="${servePath}${path}/${paginationPageCount}" title="${lastPageLabel}">>></a>
|
||||
</#if>
|
||||
${sumLabel} ${paginationPageCount} ${pageLabel}
|
||||
</div>
|
||||
</#if>
|
@@ -1,116 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${article.articleTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${article.articleTags}" />
|
||||
<meta name="description" content="${article.articleAbstract?html}" />
|
||||
</@head>
|
||||
<#if previousArticlePermalink??>
|
||||
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
||||
</#if>
|
||||
<#if nextArticlePermalink??>
|
||||
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
||||
</#if>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<div class="page">
|
||||
<h2>
|
||||
<a class="article-title" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="tip">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="tip">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="left article-element">
|
||||
<span class="date-ico" title="${dateLabel}">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</span>
|
||||
<span class="user-ico" title="${authorLabel}">
|
||||
<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="right article-element">
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount} ${commentLabel}
|
||||
</a>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleViewCount} ${viewLabel}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="article-body">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<div>
|
||||
${article.articleSign.signHTML}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-element">
|
||||
<span class="tag-ico" title="${tagsLabel}">
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</#list>
|
||||
</span>
|
||||
</div>
|
||||
<div class="article-panel1">
|
||||
<#if nextArticlePermalink??>
|
||||
<div class="right">
|
||||
<a href="${servePath}${nextArticlePermalink}">${nextArticle1Label}${nextArticleTitle}</a>
|
||||
</div><div class="clear"></div>
|
||||
</#if>
|
||||
<#if previousArticlePermalink??>
|
||||
<div class="right">
|
||||
<a href="${servePath}${previousArticlePermalink}">${previousArticle1Label}${previousArticleTitle}</a>
|
||||
</div>
|
||||
</#if>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="article-panel2">
|
||||
<div id="relevantArticles" class="left" style="width: 50%;"></div>
|
||||
<div id="randomArticles" class="left"></div>
|
||||
<div class="clear" style="height: 15px;"></div>
|
||||
<div id="externalRelevantArticles"></div>
|
||||
</div>
|
||||
</div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=article.oId>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles();
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticlesLabel}</h4>');
|
||||
</#if>
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
</@comment_script>
|
||||
</body>
|
||||
</html>
|
@@ -1,25 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${authorName} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${authorName}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<h2>${author1Label}${authorName}</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
@@ -1,29 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<h2>
|
||||
${categoryLabel}:
|
||||
${category.categoryTitle}
|
||||
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
|
||||
</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
@@ -1,28 +0,0 @@
|
||||
<div id="${comment.oId}">
|
||||
<img class="comment-header" title="${comment.commentName}"
|
||||
alt="${comment.commentName}" src="${comment.commentThumbnailURL}"/>
|
||||
<div class="comment-panel">
|
||||
<div class="left">
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}
|
||||
<#else>
|
||||
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
|
||||
</#if>
|
||||
<#if comment.isReply> @
|
||||
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}"
|
||||
onmouseover="page.showComment(this, '${comment.commentOriginalCommentId}', 20);"
|
||||
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')">${comment.commentOriginalCommentName}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="right">
|
||||
<a rel="nofollow" href="javascript:replyTo('${comment.oId}');">${replyLabel}</a>
|
||||
|
|
||||
${comment.commentDate2?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</div>
|
||||
</#if>
|
||||
<span class="clear"></span>
|
||||
<div class="article-body">${comment.commentContent}</div>
|
||||
</div>
|
||||
<span class="clear"></span>
|
||||
</div>
|
@@ -1,919 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* skin neoease style
|
||||
*
|
||||
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
|
||||
* @version 1.1.0.0, Sep 21, 2017
|
||||
*/
|
||||
/* start base */
|
||||
html, body, div, ul, li, h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: #ccc;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
::-moz-selection{
|
||||
background-color: #ccc;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Lucida Grande","Verdana","\5fae\8f6f\96c5\9ed1";
|
||||
font-size: 12px;
|
||||
background-color: #F9F9F9;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a:link {
|
||||
outline: none;
|
||||
color: #21759B;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #555777;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #D54E21;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
height: auto;
|
||||
-ms-interpolation-mode: bicubic
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.clear {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
clear: both;
|
||||
display: block;
|
||||
font-size: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: 0 5px;
|
||||
text-shadow: 0 0 1px #EEE;
|
||||
}
|
||||
|
||||
.tip {
|
||||
color: #D54E21;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.em00, .em01, .em02, .em03, .em04, .em05, .em06, .em07, .em08, .em09,
|
||||
.em10, .em11, .em12, .em13, .em14 {
|
||||
background-image: url("../../../images/emotions/emotions.png");
|
||||
background-size: 120px;
|
||||
float: left;
|
||||
height: 24px;
|
||||
margin-right: 5px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.em01 {
|
||||
background-position: -24px 0;
|
||||
}
|
||||
.em02 {
|
||||
background-position: -48px 0;
|
||||
}
|
||||
.em03 {
|
||||
background-position: -72px 0;
|
||||
}
|
||||
.em04 {
|
||||
background-position: -96px 0;
|
||||
}
|
||||
.em05 {
|
||||
background-position: 0 -24px;
|
||||
}
|
||||
.em06 {
|
||||
background-position: -24px -24px;
|
||||
}
|
||||
.em07 {
|
||||
background-position: -48px -24px;
|
||||
}
|
||||
.em08 {
|
||||
background-position: -72px -24px;
|
||||
}
|
||||
.em09 {
|
||||
background-position: -96px -24px;
|
||||
}
|
||||
.em10 {
|
||||
background-position: 0 -48px;
|
||||
}
|
||||
.em11 {
|
||||
background-position: -24px -48px ;
|
||||
}
|
||||
.em12 {
|
||||
background-position: -48px -48px;
|
||||
}
|
||||
.em13 {
|
||||
background-position: -72px -48px;
|
||||
}
|
||||
.em14 {
|
||||
background-position: -96px -48px;
|
||||
}
|
||||
.em-span {
|
||||
line-height: 24px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.em-br {
|
||||
line-height: 24px;
|
||||
}
|
||||
/* end base */
|
||||
|
||||
/* start ico */
|
||||
.date-ico, .tag-ico, .user-ico, .expand-ico, .collapse-ico, #search,
|
||||
.translate-ico, .feed-ico {
|
||||
background-image: url("../../NeoEase/images/icons.png");
|
||||
}
|
||||
|
||||
.feed-ico {
|
||||
background-position: right -146px;
|
||||
background-repeat: no-repeat;
|
||||
color: #333;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.translate-ico {
|
||||
background-position: 1px -125px;
|
||||
background-repeat: no-repeat;
|
||||
border: 1px solid #999;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
height: 16px;
|
||||
margin: 6px 0 0 18px;
|
||||
padding: 1px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.translate-ico:hover {
|
||||
border-color: #D54E21;
|
||||
box-shadow: 0 0 1px #999;
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
|
||||
.expand-ico, .collapse-ico {
|
||||
background-position: 54px -84px;
|
||||
cursor: pointer;
|
||||
height: 16px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.collapse-ico {
|
||||
background-position: 54px -69px;
|
||||
}
|
||||
|
||||
.date-ico, .tag-ico, .user-ico {
|
||||
background-repeat: no-repeat;
|
||||
height: 16px;
|
||||
display: block;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.tag-ico {
|
||||
margin: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
.date-ico {
|
||||
float: left;
|
||||
background-position: 0 -16px;
|
||||
}
|
||||
|
||||
.user-ico {
|
||||
background-position: 0 -32px;
|
||||
float: left;
|
||||
margin-left: 12px;
|
||||
}
|
||||
/* end ico */
|
||||
|
||||
/* start frame */
|
||||
.wrapper {
|
||||
margin: 0 auto;
|
||||
width: 960px;
|
||||
}
|
||||
|
||||
.body {
|
||||
border-top: 2px solid #DDD;
|
||||
}
|
||||
|
||||
.main {
|
||||
float: left;
|
||||
margin: 16px 0 50px;
|
||||
overflow: hidden;
|
||||
width: 667px;
|
||||
}
|
||||
/* end frame */
|
||||
|
||||
/* start header */
|
||||
.header {
|
||||
background: url("../../NeoEase/images/icons.png") repeat-x scroll 0 -220px #F2F2F2;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.header .title {
|
||||
border-bottom: 1px solid #242424;
|
||||
color: #000;
|
||||
font-size: 26px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.header .sub-title {
|
||||
color: #242424;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.nav .page-icon {
|
||||
float: left;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin: 8px 3px 0 0;
|
||||
}
|
||||
|
||||
#search {
|
||||
background-position: 7px -99px;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
border-radius: 2px 2px 2px 2px;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
|
||||
color: #888;
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
height: 20px;
|
||||
line-height: 145%;
|
||||
padding: 3px 10px 3px 28px;
|
||||
width: 24px;
|
||||
-moz-transition: width 0.4s ease, background 0.4s ease;
|
||||
-webkit-transition: width 0.4s ease, background 0.4s ease;
|
||||
transition: width 0.4s ease, background 0.4s ease;
|
||||
}
|
||||
|
||||
#search:focus {
|
||||
background-color: #F9F9F9;
|
||||
width: 196px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
background-color: #E9E9E9;
|
||||
border-bottom: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
list-style: none;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav a {
|
||||
color: #666666;
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
padding: 0 15px;
|
||||
text-shadow: 0 1px 0 #EEE;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
color: #D54E21;
|
||||
background-color: #DDD;
|
||||
}
|
||||
|
||||
.nav .current {
|
||||
background-color: #DDD;
|
||||
margin: -1px 0;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.nav .current a {
|
||||
background-color: #F9F9F9;
|
||||
border-color: #CCCCCC #CCCCCC #F9F9F9;
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 3px;
|
||||
font-weight: 700;
|
||||
height: 33px;
|
||||
line-height: 33px;
|
||||
margin: -2px 0 -3px;
|
||||
color: #333;
|
||||
text-shadow : 1px 1px 1px #C6D9E9;
|
||||
}
|
||||
|
||||
.nav img {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.nav .right {
|
||||
line-height: 29px;
|
||||
}
|
||||
/* end header */
|
||||
|
||||
/* start footer */
|
||||
.footer {
|
||||
background-color: #E9E9E9;
|
||||
border-top: 3px solid #DDD;
|
||||
color: #999;
|
||||
font-size: 11px;
|
||||
padding: 12px 0;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #787878;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #D54E21;
|
||||
}
|
||||
|
||||
#goTop {
|
||||
background: url("../../NeoEase/images/icons.png") no-repeat scroll 5px -51px #DDD;
|
||||
border-radius: 2px 2px 0 0;
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
padding: 0 10px 0 23px;
|
||||
position: absolute;
|
||||
right: 56px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#goTop:hover {
|
||||
background-color: #EAEAEA;
|
||||
}
|
||||
/* end footer*/
|
||||
|
||||
/* start side */
|
||||
.side {
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
width: 278px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.side>div {
|
||||
border-bottom: 1px solid #DEDEDE;
|
||||
padding: 10px 5px 15px;
|
||||
}
|
||||
|
||||
.side h4 {
|
||||
font-size: 14px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.side ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#archiveSide {
|
||||
list-style: square outside none;
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
#archiveSide .archive-year {
|
||||
color: #D54E21;
|
||||
font-weight: bold;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.side a {
|
||||
line-height: 18px;
|
||||
color: #21759B;
|
||||
}
|
||||
|
||||
.side a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.side sup {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.side .side-li li {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
width: 268px;
|
||||
}
|
||||
|
||||
.side .side-li a {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.recent-comments li>img {
|
||||
background-color: #FFF;
|
||||
border: 1px solid #999;
|
||||
padding: 1px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.recent-comments-main {
|
||||
float: left;
|
||||
margin: 0 0 9px 3px;
|
||||
width: 229px;
|
||||
}
|
||||
|
||||
.recent-comments-main .expand-ico, .recent-comments-main .collapse-ico {
|
||||
background-position: 0 -86px;
|
||||
float: right;
|
||||
width: 16px;
|
||||
-moz-transition: opacity 400ms ease;
|
||||
-webkit-transition: opacity 400ms ease;
|
||||
transition: opacity 400ms ease;
|
||||
opacity:0;
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
|
||||
.recent-comments li:hover .expand-ico, .recent-comments li:hover .collapse-ico {
|
||||
opacity:1;
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
|
||||
.recent-comments-main .collapse-ico {
|
||||
background-position: 0 -70px;
|
||||
}
|
||||
|
||||
.recent-comments-content {
|
||||
height: 18px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.recent-comments-content img {
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.recent-comments-content a {
|
||||
color: #555777;
|
||||
}
|
||||
|
||||
.recent-comments-content a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.recent-comments-content p {
|
||||
margin: 0;
|
||||
}
|
||||
/* end side */
|
||||
|
||||
/* start article list */
|
||||
.article {
|
||||
border-bottom: 1px solid #CCC;
|
||||
padding: 0 5px 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.article-element {
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.article-element a {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.article-element a:hover {
|
||||
color: #D54E21;
|
||||
border-bottom-color: #D54E21;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
color: #21759B;
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.article-title:hover {
|
||||
color: #D54E21;
|
||||
}
|
||||
|
||||
.article .expand-ico, .article .collapse-ico {
|
||||
float: right;
|
||||
margin-top: 9px;
|
||||
padding-right: 6px;
|
||||
width: 15px;
|
||||
background-position: 0 -86px;
|
||||
}
|
||||
|
||||
.article .collapse-ico {
|
||||
background-position: 0 -70px;
|
||||
}
|
||||
|
||||
.article-body {
|
||||
line-height: 145%;
|
||||
overflow: hidden;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.article-body h1 {
|
||||
font-size: 2em;
|
||||
margin: .67em 0;
|
||||
}
|
||||
|
||||
.article-body h2 {
|
||||
font-size: 1.5em;
|
||||
margin: .75em 0;
|
||||
}
|
||||
|
||||
.article-body h3 {
|
||||
font-size: 1.17em;
|
||||
margin: .83em 0;
|
||||
}
|
||||
|
||||
.article-body h4 {
|
||||
margin: 1.12em 0;
|
||||
}
|
||||
|
||||
.article-body h4 {
|
||||
font-size: .83em;
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.article-body h6 {
|
||||
font-size: .75em;
|
||||
margin: 1.67em 0;
|
||||
}
|
||||
|
||||
.article-body ol, .article-body ul {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.article-body a {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
}
|
||||
|
||||
.article-body a:hover {
|
||||
color: #D54E21;
|
||||
border-bottom: 1px solid #D54E21;
|
||||
}
|
||||
|
||||
.article-body p {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.pagination {
|
||||
margin-top: 30px;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
.pagination a {
|
||||
border: 1px solid #C5C3C2;
|
||||
font-size: 10px;
|
||||
margin: 2px;
|
||||
padding: 1px 5px ;
|
||||
text-decoration: none;
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
|
||||
.pagination a.current {
|
||||
background-color: #FFF;
|
||||
font-weight: bold;
|
||||
padding: 2px 6px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.pagination a:hover {
|
||||
background-color: #F3DEDD;
|
||||
color: #D54E21;
|
||||
border: 1px solid #D54E21;
|
||||
}
|
||||
|
||||
.page {
|
||||
margin-top: 20px;
|
||||
padding: 0 5px 5px;
|
||||
}
|
||||
/* end article list */
|
||||
|
||||
/* start article */
|
||||
.article-panel1 {
|
||||
background-color: #F2F2F2;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.article-panel2 {
|
||||
background-color: #FFF;
|
||||
margin-top: 12px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.article-panel2 ul {
|
||||
line-height: 18px;
|
||||
list-style: square outside none;
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
.share {
|
||||
border-bottom: 1px solid #DEDEDE;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.share-comment {
|
||||
background-color: #DDD;
|
||||
border-radius: 2px 2px 0 0;
|
||||
float: right;
|
||||
font-size: 11px;
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
margin-right: 16px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.share-comment:hover {
|
||||
background-color: #EAEAEA;
|
||||
}
|
||||
|
||||
#comments {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#comments>div {
|
||||
border-bottom: 1px solid #DEDEDE;
|
||||
padding: 10px;
|
||||
width: 647px;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
#comments>div:nth-child(2n) {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
#comments .comment-panel>.right {
|
||||
-moz-transition: opacity 400ms ease;
|
||||
-webkit-transition: opacity 400ms ease;
|
||||
transition: opacity 400ms ease;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
|
||||
#comments>div:hover .comment-panel>.right {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
|
||||
.comment-header {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
float: left;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #DEDEDE;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.comment-panel {
|
||||
float: left;
|
||||
margin: 0 10px;
|
||||
width: 573px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.comment-panel .article-body {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#comments .comment-body-ref {
|
||||
border-bottom: 0;
|
||||
background-color: #FFF;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
left: 73px;
|
||||
position: absolute;
|
||||
box-shadow: 1px 0 3px #DEDEDE;
|
||||
width: 560px;
|
||||
}
|
||||
|
||||
.comment-body-ref .comment-panel {
|
||||
width: 486px;
|
||||
}
|
||||
|
||||
.comment-body-ref .arrow {
|
||||
border-color: #F5F5F5 #FFF #F5F5F5 #F5F5F5;
|
||||
border-style: solid;
|
||||
border-width: 6px 8px 10px 0;
|
||||
display: block;
|
||||
left: -8px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
.form {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.form img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form h4 {
|
||||
margin: 10px 0 5px 5px;
|
||||
}
|
||||
|
||||
.form th {
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.form input[type="text"], .form input[type="password"], .form textarea {
|
||||
border-color: silver #D9D9D9 #D9D9D9;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
font-family: "Lucida Grande",Verdana,'微软雅黑';
|
||||
font-size: 12px;
|
||||
outline: medium none;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.form input:focus, .form textarea:focus {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
padding: 3px;
|
||||
width: 634px;
|
||||
}
|
||||
|
||||
.form input {
|
||||
height: 24px;
|
||||
line-height: 16px;
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.form button {
|
||||
background-color: #B4D666;
|
||||
border-color: #B4D666 #81B840 #81B840 #B4D666;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
color: #2970A6;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.form button:hover {
|
||||
background-color: #98C64C;
|
||||
border-color: #76B33A #98C64C #98C64C #76B33A;
|
||||
color: #074A7E;
|
||||
}
|
||||
/* end article*/
|
||||
|
||||
/* start tags */
|
||||
#tags li {
|
||||
float: left;
|
||||
list-style: none;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
#tags a:hover {
|
||||
text-shadow: 0 0 2px;
|
||||
}
|
||||
|
||||
#tags a {
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
box-shadow: 1px 1px 3px #333;
|
||||
float: left;
|
||||
margin: 3px 6px;
|
||||
padding: 3px 12px;
|
||||
}
|
||||
|
||||
#tagsSide li a {
|
||||
float: left;
|
||||
line-height: 145%;
|
||||
margin-right: 7px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tags1 {
|
||||
font-size: 12px;
|
||||
color: #A1A1A1;
|
||||
}
|
||||
|
||||
.tags2 {
|
||||
font-size: 14px;
|
||||
color: #687F95;
|
||||
}
|
||||
|
||||
.tags3 {
|
||||
font-size: 16px;
|
||||
color: #4C6E90;
|
||||
}
|
||||
|
||||
.tags4 {
|
||||
font-size: 18px;
|
||||
color: #258;
|
||||
}
|
||||
|
||||
.tags5 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#tagsSide .tags2 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#tagsSide .tags3 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#tagsSide .tags4 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#tagsSide .tags5 {
|
||||
font-size: 20px;
|
||||
}
|
||||
/* end tags */
|
||||
|
||||
/* start others */
|
||||
.main>h2 {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.error {
|
||||
background-image: url("../../NeoEase/images/404.png");
|
||||
float: left;
|
||||
height: 536px;
|
||||
margin: 50px 80px;
|
||||
position: relative;
|
||||
width: 363px;
|
||||
}
|
||||
|
||||
.error h2 {
|
||||
left: -68px;
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
}
|
||||
|
||||
.error a {
|
||||
background-color: #9CD941;
|
||||
border: 265px none;
|
||||
bottom: 12px;
|
||||
color: #333555;
|
||||
float: left;
|
||||
padding: 10px 15px;
|
||||
position: absolute;
|
||||
right: -106px;
|
||||
}
|
||||
|
||||
.error a:hover {
|
||||
background-color: #ADEb51;
|
||||
}
|
||||
/* end others */
|
16
NeoEase/css/NeoEase.min.css
vendored
16
NeoEase/css/NeoEase.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,44 +0,0 @@
|
||||
<div class="footer">
|
||||
<div class="wrapper">
|
||||
<div class="left">
|
||||
<span style="color: gray;">© ${year}</span> - <a href="${servePath}">${blogTitle}</a>${footerContent}<br/>
|
||||
Powered by <a href="http://b3log.org" target="_blank">B3log 开源</a> • <a href="https://hacpai.com/tag/Solo" target="_blank">Solo</a> ${version}
|
||||
Theme by <a rel="friend" href="http://www.neoease.com" target="_blank">NeoEase</a>
|
||||
& <a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>.
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="goTop" onclick="goTop()">TOP</div>
|
||||
<script type="text/javascript">
|
||||
var latkeConfig = {
|
||||
"servePath": "${servePath}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"adminLabel": "${adminLabel}",
|
||||
"logoutLabel": "${logoutLabel}",
|
||||
"skinDirName": "${skinDirName}",
|
||||
"loginLabel": "${loginLabel}",
|
||||
"em00Label": "${em00Label}",
|
||||
"em01Label": "${em01Label}",
|
||||
"em02Label": "${em02Label}",
|
||||
"em03Label": "${em03Label}",
|
||||
"em04Label": "${em04Label}",
|
||||
"em05Label": "${em05Label}",
|
||||
"em06Label": "${em06Label}",
|
||||
"em07Label": "${em07Label}",
|
||||
"em08Label": "${em08Label}",
|
||||
"em09Label": "${em09Label}",
|
||||
"em10Label": "${em10Label}",
|
||||
"em11Label": "${em11Label}",
|
||||
"em12Label": "${em12Label}",
|
||||
"em13Label": "${em13Label}",
|
||||
"em14Label": "${em14Label}"
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
${plugins}
|
@@ -1,57 +0,0 @@
|
||||
<div class="header">
|
||||
<div class="wrapper">
|
||||
<div class="left">
|
||||
<h1>
|
||||
<a class="title" href="${servePath}">
|
||||
${blogTitle}
|
||||
</a>
|
||||
</h1>
|
||||
<span class="sub-title">${blogSubtitle}</span>
|
||||
</div>
|
||||
<form class="right" action="${servePath}/search">
|
||||
<input id="search" type="text" name="keyword" />
|
||||
<input type="submit" value="" class="none" />
|
||||
</form>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav">
|
||||
<div class="wrapper">
|
||||
<ul>
|
||||
<li>
|
||||
<a rel="nofollow" href="${servePath}/">${indexLabel}</a>
|
||||
</li>
|
||||
<#list pageNavigations as page>
|
||||
<li>
|
||||
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
<li>
|
||||
<a href="${servePath}/tags.html">${allTagsLabel}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a rel="alternate" href="${servePath}/blog-articles-rss.do">RSS<img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="right">
|
||||
<span class="translate-ico" onclick="goTranslate()"></span>
|
||||
<div class="right">
|
||||
${viewCount1Label}
|
||||
<span class="tip">
|
||||
${statistic.statisticBlogViewCount}
|
||||
</span>
|
||||
|
||||
${articleCount1Label}
|
||||
<span class="tip">
|
||||
${statistic.statisticPublishedBlogArticleCount}
|
||||
</span>
|
||||
|
||||
${commentCount1Label}
|
||||
<span class="tip">
|
||||
${statistic.statisticPublishedBlogCommentCount}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
Binary file not shown.
Before Width: | Height: | Size: 216 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB |
@@ -1,28 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<#if metaKeywords??>
|
||||
<meta name="keywords" content="${metaKeywords}"/>
|
||||
</#if>
|
||||
<#if metaDescription??>
|
||||
<meta name="description" content="${metaDescription}"/>
|
||||
</#if>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
@@ -1,175 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* @fileoverview neoease js.
|
||||
*
|
||||
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
|
||||
* @version 1.0.0.8, Sep 6, 2012
|
||||
*/
|
||||
var goTop = function (acceleration) {
|
||||
acceleration = acceleration || 0.1;
|
||||
|
||||
var y = $(window).scrollTop();
|
||||
var speed = 1 + acceleration;
|
||||
window.scrollTo(0, Math.floor(y / speed));
|
||||
|
||||
if (y > 0) {
|
||||
var invokeFunction = "goTop(" + acceleration + ")";
|
||||
window.setTimeout(invokeFunction, 16);
|
||||
}
|
||||
};
|
||||
|
||||
var collapseArchive = function (it, year) {
|
||||
var tag = true;
|
||||
if (it.className === "collapse-ico") {
|
||||
it.className = "expand-ico";
|
||||
tag = false;
|
||||
} else {
|
||||
it.className = "collapse-ico";
|
||||
}
|
||||
|
||||
$("#archiveSide li").each(function () {
|
||||
var $this = $(this);
|
||||
// hide other year month archives
|
||||
if ($this.data("year") === year) {
|
||||
if (tag) {
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
var getArticle = function (it, id) {
|
||||
var $abstract = $("#abstract" + id),
|
||||
$content = $("#content" + id);
|
||||
|
||||
if ($content.html() === "") {
|
||||
$.ajax({
|
||||
url: "/get-article-content?id=" + id,
|
||||
type: "GET",
|
||||
dataType: "html",
|
||||
beforeSend: function () {
|
||||
$abstract.css("background",
|
||||
"url(/skins/neoease/images/ajax-loader.gif) no-repeat scroll center center transparent");
|
||||
},
|
||||
success: function(result, textStatus){
|
||||
it.className = "collapse-ico";
|
||||
$content.html(result);
|
||||
$abstract.hide().css("background", "none");
|
||||
$content.fadeIn("slow");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (it.className === "expand-ico") {
|
||||
$abstract.hide();
|
||||
$content.fadeIn();
|
||||
it.className = "collapse-ico";
|
||||
} else {
|
||||
$content.hide();
|
||||
$abstract.fadeIn();
|
||||
it.className = "expand-ico";
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
var goTranslate = function () {
|
||||
window.open("http://translate.google.com/translate?sl=auto&tl=auto&u=" + location.href);
|
||||
};
|
||||
|
||||
(function () {
|
||||
// go top icon show or hide
|
||||
$(window).scroll(function () {
|
||||
var y = $(window).scrollTop();
|
||||
|
||||
if (y > 182) {
|
||||
var bodyH = $(window).height();
|
||||
var top = y + bodyH - 21;
|
||||
if ($("body").height() - 58 <= y + bodyH) {
|
||||
top = $(".footer").offset().top - 21;
|
||||
}
|
||||
$("#goTop").fadeIn("slow").css("top", top);
|
||||
} else {
|
||||
$("#goTop").hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// archive
|
||||
var currentYear = (new Date()).getFullYear(),
|
||||
year = currentYear;
|
||||
$("#archiveSide li").each(function (i) {
|
||||
var $this = $(this);
|
||||
|
||||
// hide other year month archives
|
||||
if ($this.data("year") !== currentYear) {
|
||||
$(this).hide()
|
||||
}
|
||||
|
||||
// append year archive
|
||||
if (year !== $this.data("year")) {
|
||||
year = $this.data("year");
|
||||
$this.before("<li class='archive-year'><div onclick='collapseArchive(this, " +
|
||||
year + ")' class='expand-ico'>" + year + " \u5e74</div></li>");
|
||||
}
|
||||
});
|
||||
|
||||
// recent comment mouse click
|
||||
$(".recent-comments .expand-ico").click(function () {
|
||||
if (this.className === "expand-ico") {
|
||||
$(this).parent().next().css({
|
||||
"height": "auto",
|
||||
"white-space": "normal"
|
||||
});
|
||||
this.className = "collapse-ico";
|
||||
} else {
|
||||
$(this).parent().next().animate({
|
||||
"height": "18px"
|
||||
}, function () {
|
||||
$(this).css("white-space", "nowrap");
|
||||
});
|
||||
this.className = "expand-ico";
|
||||
}
|
||||
});
|
||||
|
||||
// nav current
|
||||
$(".nav ul li").each(function () {
|
||||
var $a = $(this).find("a");
|
||||
if ($a.attr("href") === latkeConfig.servePath + location.pathname) {
|
||||
$(this).addClass("current");
|
||||
} else if (/\/[0-9]+$/.test(location.pathname)) {
|
||||
$(".nav ul li")[0].className = "current";
|
||||
}
|
||||
});
|
||||
|
||||
Util.init();
|
||||
Util.replaceSideEm($(".recent-comments-content"));
|
||||
Util.buildTags("tagsSide");
|
||||
|
||||
// recent comments
|
||||
$(".recent-comments .recent-comments-main").each(function () {
|
||||
if ($(this).find(".recent-comments-content>a").height() < 30) {
|
||||
$(this).find(".expand-ico").remove();
|
||||
} else {
|
||||
$(this).find(".expand-ico").parent().next().css({
|
||||
"white-space": "nowrap"
|
||||
});
|
||||
}
|
||||
});
|
||||
})();
|
16
NeoEase/js/NeoEase.min.js
vendored
16
NeoEase/js/NeoEase.min.js
vendored
@@ -1,16 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var goTop=function(e){e=e||.1;var a=$(window).scrollTop(),t=1+e;if(window.scrollTo(0,Math.floor(a/t)),a>0){var n="goTop("+e+")";window.setTimeout(n,16)}},collapseArchive=function(e,a){var t=!0;"collapse-ico"===e.className?(e.className="expand-ico",t=!1):e.className="collapse-ico",$("#archiveSide li").each(function(){$(this).data("year")===a&&(t?$(this).show():$(this).hide())})},getArticle=function(e,a){var t=$("#abstract"+a),n=$("#content"+a);return""===n.html()?$.ajax({url:"/get-article-content?id="+a,type:"GET",dataType:"html",beforeSend:function(){t.css("background","url(/skins/neoease/images/ajax-loader.gif) no-repeat scroll center center transparent")},success:function(a,i){e.className="collapse-ico",n.html(a),t.hide().css("background","none"),n.fadeIn("slow")}}):"expand-ico"===e.className?(t.hide(),n.fadeIn(),e.className="collapse-ico"):(n.hide(),t.fadeIn(),e.className="expand-ico"),!1},goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)};!function(){$(window).scroll(function(){var e=$(window).scrollTop();if(e>182){var a=$(window).height(),t=e+a-21;$("body").height()-58<=e+a&&(t=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",t)}else $("#goTop").hide()});var e=(new Date).getFullYear(),a=e;$("#archiveSide li").each(function(t){var n=$(this);n.data("year")!==e&&$(this).hide(),a!==n.data("year")&&(a=n.data("year"),n.before("<li class='archive-year'><div onclick='collapseArchive(this, "+a+")' class='expand-ico'>"+a+" 年</div></li>"))}),$(".recent-comments .expand-ico").click(function(){"expand-ico"===this.className?($(this).parent().next().css({height:"auto","white-space":"normal"}),this.className="collapse-ico"):($(this).parent().next().animate({height:"18px"},function(){$(this).css("white-space","nowrap")}),this.className="expand-ico")}),$(".nav ul li").each(function(){$(this).find("a").attr("href")===latkeConfig.servePath+location.pathname?$(this).addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")}),Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide"),$(".recent-comments .recent-comments-main").each(function(){$(this).find(".recent-comments-content>a").height()<30?$(this).find(".expand-ico").remove():$(this).find(".expand-ico").parent().next().css({"white-space":"nowrap"})})}();
|
@@ -1,79 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Language configurations(en_US) for skin "neoease".
|
||||
# Version: 1.0.0.2, Sep 30, 2011
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
viewCount1Label=View Count:
|
||||
articleCount1Label=Article Count:
|
||||
commentCount1Label=Comment Count:
|
||||
allTagsLabel=Tags
|
||||
archiveLabel=Archive
|
||||
yearLabel=
|
||||
monthLabel=
|
||||
noticeBoardLabel=Notice Board
|
||||
recentArticlesLabel=Recent Articles
|
||||
recentCommentsLabel=Recent Comments
|
||||
postCommentsLabel=Post Comment
|
||||
mostCommentArticlesLabel=Most Comment Articles
|
||||
mostViewCountArticlesLabel=Most View Articles
|
||||
popTagsLabel=Popular Tags
|
||||
linkLabel=Friend Links
|
||||
indexLabel=Home
|
||||
sumLabel=
|
||||
pageLabel=Page
|
||||
adminLabel=Admin
|
||||
logoutLabel=Logout
|
||||
loginLabel=Login
|
||||
commentLabel=Comment
|
||||
viewLabel=View
|
||||
tagsLabel=Tags
|
||||
authorLabel=Author
|
||||
dateLabel=Date
|
||||
previousPageLabel=Previous Page
|
||||
nextPagePabel=Next Page
|
||||
firstPageLabel=First Page
|
||||
lastPageLabel=Last Page
|
||||
archive1Label=Archive:
|
||||
author1Label=Author:
|
||||
tag1Label=Tags:
|
||||
sorryLabel=Sorry!
|
||||
notFoundLabel=Not Found!
|
||||
returnTo1Label=Return:
|
||||
nextArticle1Label=Next:
|
||||
previousArticle1Label=Previous:
|
||||
updatedLabel=Updated!
|
||||
topArticleLabel=Top!
|
||||
replyLabel=Reply
|
||||
postCommentsLabel=Post Comment
|
||||
commentNameLabel=Name
|
||||
commentEmailLabel=Email
|
||||
commentURLLabel=URL
|
||||
submmitCommentLabel=Commit Comment
|
||||
nameTooLongLabel=Sorry, your username must be between 2 and 20 characters long!
|
||||
mailCannotEmptyLabel=Mail is empty!
|
||||
mailInvalidLabel=Mail is invalid!
|
||||
commentContentCannotEmptyLabel=Sorry, your content must be between 2 and 500 characters long!
|
||||
captchaCannotEmptyLabel=Captcha is empty!
|
||||
loadingLabel=loading....
|
||||
relevantArticlesLabel=Relevant Articles
|
||||
randomArticlesLabel=Random Articles
|
||||
externalRelevantArticlesLabel=External Relevant Articles:
|
||||
captchaErrorLabel=Captcha Error
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
killBrowserLabel=<h2>Let's kill outdated and insecure browser!</h2><p>Let's kill outdated and insecure browser for browser evolution, human progress and better experience.</p><p>You can download</p><ul><li><a href="http://www.mozilla.com/" target="_blank">Firefox</a></li><li><a href="http://www.google.com/chrome" target="_blank">Chrome</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">Maxthon</a> and <a href="http://www.google.com" target="_blank">so on</a>.</li></ul>
|
@@ -1,78 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Language configurations(zh_CN) for skin "neoease".
|
||||
# Version: 1.0.0.4, Sep 30, 2011
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
viewCount1Label=\u6D4F\u89C8\u6B21\u6570\uFF1A
|
||||
articleCount1Label=\u6587\u7AE0\u603B\u6570\uFF1A
|
||||
commentCount1Label=\u8BC4\u8BBA\u603B\u6570\uFF1A
|
||||
allTagsLabel=\u6807\u7B7E\u5899
|
||||
updatedLabel=\u6709\u66F4\u65B0\uFF01
|
||||
topArticleLabel=\u7F6E\u9876\uFF01
|
||||
archiveLabel=\u5B58\u6863
|
||||
yearLabel=\u5E74
|
||||
monthLabel=\u6708
|
||||
noticeBoardLabel=\u516C\u544A
|
||||
recentArticlesLabel=\u6700\u65B0\u6587\u7AE0
|
||||
recentCommentsLabel=\u6700\u65B0\u8BC4\u8BBA
|
||||
mostCommentArticlesLabel=\u8BC4\u8BBA\u6700\u591A\u7684\u6587\u7AE0
|
||||
mostViewCountArticlesLabel=\u8BBF\u95EE\u6700\u591A\u7684\u6587\u7AE0
|
||||
popTagsLabel=\u5206\u7C7B\u6807\u7B7E
|
||||
linkLabel=\u53CB\u60C5\u94FE\u63A5
|
||||
indexLabel=\u9996\u9875
|
||||
sumLabel=\u5171
|
||||
pageLabel=\u9875
|
||||
adminLabel=\u7BA1\u7406
|
||||
logoutLabel=\u767B\u51FA
|
||||
loginLabel=\u767B\u5F55
|
||||
commentLabel=\u8BC4\u8BBA
|
||||
viewLabel=\u6D4F\u89C8
|
||||
tagsLabel=\u6807\u7B7E
|
||||
authorLabel=\u4F5C\u8005
|
||||
dateLabel=\u65E5\u671F
|
||||
previousPageLabel=\u4E0A\u4E00\u9875
|
||||
nextPagePabel=\u4E0B\u4E00\u9875
|
||||
firstPageLabel=\u7B2C\u4E00\u9875
|
||||
lastPageLabel=\u6700\u540E\u4E00\u9875
|
||||
archive1Label=\u5B58\u6863\uFF1A
|
||||
author1Label=\u4F5C\u8005\uFF1A
|
||||
tag1Label=\u6807\u7B7E\uFF1A
|
||||
sorryLabel=\u5BF9\u4E0D\u8D77\uFF01
|
||||
notFoundLabel=\u627E\u4E0D\u5230\uFF01
|
||||
returnTo1Label=\u8FD4\u56DE\uFF1A
|
||||
nextArticle1Label=\u65B0\u4E00\u7BC7\uFF1A
|
||||
previousArticle1Label=\u65E7\u4E00\u7BC7\uFF1A
|
||||
replyLabel=\u56DE\u590D
|
||||
postCommentsLabel=\u53D1\u8868\u8BC4\u8BBA
|
||||
commentNameLabel=\u59D3\u540D
|
||||
commentEmailLabel=\u90AE\u7BB1
|
||||
commentURLLabel=URL
|
||||
submmitCommentLabel=\u63D0\u4EA4\u8BC4\u8BBA
|
||||
nameTooLongLabel=\u59D3\u540D\u53EA\u80FD\u4E3A 2 \u5230 20 \u4E2A\u5B57\u7B26\uFF01
|
||||
mailCannotEmptyLabel=\u90AE\u7BB1\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
mailInvalidLabel=\u90AE\u7BB1\u683C\u5F0F\u4E0D\u6B63\u786E\uFF01
|
||||
commentContentCannotEmptyLabel=\u8BC4\u8BBA\u5185\u5BB9\u53EA\u80FD\u4E3A 2 \u5230 500 \u4E2A\u5B57\u7B26\uFF01
|
||||
captchaCannotEmptyLabel=\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
loadingLabel=\u8F7D\u5165\u4E2D....
|
||||
relevantArticlesLabel=\u76F8\u5173\u9605\u8BFB
|
||||
randomArticlesLabel=\u968F\u673A\u9605\u8BFB
|
||||
externalRelevantArticlesLabel=\u7AD9\u5916\u76F8\u5173\u9605\u8BFB
|
||||
captchaErrorLabel=\u9A8C\u8BC1\u7801\u9519\u8BEF
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
killBrowserLabel=<h2>\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u5427\uFF01</h2><p>\u4E3A\u4E86\u8BA9\u6D4F\u89C8\u5668\u66F4\u597D\u7684\u53D1\u5C55\uFF0C\u4EBA\u7C7B\u66F4\u52A0\u7684\u8FDB\u6B65\uFF0C\u62E5\u6709\u66F4\u597D\u7684\u4F53\u9A8C\uFF0C\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u3002</p>\u60A8\u53EF\u4EE5\u4E0B\u8F7D<ul><li><a href="http://www.mozilla.com/" target="_blank">\u706B\u72D0</a></li><li><a href="http://www.google.com/chrome" target="_blank">\u8C37\u6B4C\u6D4F\u89C8\u5668</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">\u9068\u6E38</a>\u6216\u8005<a href="http://www.google.com" target="_blank">\u5176\u5B83\u6D4F\u89C8\u5668</a>.</li></ul>
|
@@ -1,116 +0,0 @@
|
||||
<#macro comments commentList article>
|
||||
<div class="share">
|
||||
<a class="share-comment" href="#commentForm">
|
||||
${commentList?size} ${commentLabel}
|
||||
</a>
|
||||
<span class="clear"></span>
|
||||
</div>
|
||||
<div id="comments">
|
||||
<#list commentList as comment>
|
||||
<#include "common-comment.ftl"/>
|
||||
</#list>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="form">
|
||||
<h4>${postCommentsLabel}</h4>
|
||||
<table id="commentForm">
|
||||
<tbody>
|
||||
<#if !isLoggedIn>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentName"/>
|
||||
<label for="commentName">${commentNameLabel}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentEmail"/>
|
||||
<label for="commentEmail">${commentEmailLabel}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" id="commentURL"/>
|
||||
<label for="commentURL">${commentURLLabel}</label>
|
||||
</td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<td id="emotions">
|
||||
<span class="em00" title="${em00Label}"></span>
|
||||
<span class="em01" title="${em01Label}"></span>
|
||||
<span class="em02" title="${em02Label}"></span>
|
||||
<span class="em03" title="${em03Label}"></span>
|
||||
<span class="em04" title="${em04Label}"></span>
|
||||
<span class="em05" title="${em05Label}"></span>
|
||||
<span class="em06" title="${em06Label}"></span>
|
||||
<span class="em07" title="${em07Label}"></span>
|
||||
<span class="em08" title="${em08Label}"></span>
|
||||
<span class="em09" title="${em09Label}"></span>
|
||||
<span class="em10" title="${em10Label}"></span>
|
||||
<span class="em11" title="${em11Label}"></span>
|
||||
<span class="em12" title="${em12Label}"></span>
|
||||
<span class="em13" title="${em13Label}"></span>
|
||||
<span class="em14" title="${em14Label}"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<textarea rows="10" cols="96" id="comment"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<#if !isLoggedIn>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentValidate"/>
|
||||
<img id="captcha" alt="validate" src="${servePath}/captcha.do" />
|
||||
</td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<span class="tip" id="commentErrorTip"></span>
|
||||
<button id="submitCommentButton" onclick="page.submitComment();">${submmitCommentLabel}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
<#macro comment_script oId>
|
||||
<script type="text/javascript" src="${staticServePath}/js/page${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var page = new Page({
|
||||
"nameTooLongLabel": "${nameTooLongLabel}",
|
||||
"mailCannotEmptyLabel": "${mailCannotEmptyLabel}",
|
||||
"mailInvalidLabel": "${mailInvalidLabel}",
|
||||
"commentContentCannotEmptyLabel": "${commentContentCannotEmptyLabel}",
|
||||
"captchaCannotEmptyLabel": "${captchaCannotEmptyLabel}",
|
||||
"captchaErrorLabel": "${captchaErrorLabel}",
|
||||
"loadingLabel": "${loadingLabel}",
|
||||
"oId": "${oId}",
|
||||
"skinDirName": "${skinDirName}",
|
||||
"blogHost": "${blogHost}",
|
||||
"randomArticles1Label": "${randomArticlesLabel}",
|
||||
"externalRelevantArticles1Label": "${externalRelevantArticlesLabel}"
|
||||
});
|
||||
|
||||
var replyTo = function (id) {
|
||||
var commentFormHTML = "<table class='form comment-reply' id='replyForm'>";
|
||||
page.addReplyForm(id, commentFormHTML);
|
||||
$("#replyForm label").each(function () {
|
||||
$this = $(this);
|
||||
$this.attr("for", $this.attr("for") + "Reply");
|
||||
});
|
||||
};
|
||||
|
||||
(function () {
|
||||
page.load();
|
||||
// emotions
|
||||
page.replaceCommentsEm("#comments .article-body");
|
||||
<#nested>
|
||||
})();
|
||||
</script>
|
||||
</#macro>
|
@@ -1,15 +0,0 @@
|
||||
<#macro head title>
|
||||
<meta charset="utf-8" />
|
||||
<title>${title}</title>
|
||||
<#nested>
|
||||
<meta name="author" content="${blogTitle?html}" />
|
||||
<meta name="generator" content="Solo" />
|
||||
<meta name="owner" content="B3log Team" />
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/${skinDirName}${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link href="${servePath}/blog-articles-rss.do" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${servePath}/favicon.png" />
|
||||
${htmlHead}
|
||||
</#macro>
|
@@ -1,29 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${page.pageTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
|
||||
<meta name="description" content="${metaDescription}" />
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<div class="page article-body" style="border-bottom: 0px;">
|
||||
${page.pageContent}
|
||||
</div>
|
||||
<@comments commentList=pageComments article=page></@comments>
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=page.oId></@comment_script>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 37 KiB |
140
NeoEase/side.ftl
140
NeoEase/side.ftl
@@ -1,140 +0,0 @@
|
||||
<div class="side">
|
||||
<#if "" != noticeBoard>
|
||||
<div>
|
||||
<h4>${noticeBoardLabel}</h4>
|
||||
<div>${noticeBoard}</div>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != recentComments?size>
|
||||
<div>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
<ul class="recent-comments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<img class='left' title='${comment.commentName}'
|
||||
alt='${comment.commentName}'
|
||||
src='${comment.commentThumbnailURL}'/>
|
||||
<div class='recent-comments-main'>
|
||||
<div>
|
||||
<span class="left">
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}
|
||||
<#else>
|
||||
<a target="_blank" href="${comment.commentURL}">${comment.commentName}</a>
|
||||
</#if>
|
||||
</span>
|
||||
<span class="expand-ico"></span>
|
||||
<span class="clear"></span>
|
||||
</div>
|
||||
<div class="recent-comments-content">
|
||||
<a href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='clear'></div>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<div>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
<ul class="side-li">
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleCommentCount}]</sup>
|
||||
<a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<div>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
<ul class="side-li">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleViewCount}]</sup>
|
||||
<a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<div>
|
||||
<h4>${categoryLabel}</h4>
|
||||
<ul class="tags">
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<sup>[${category.categoryTagCnt}]</sup>
|
||||
<a class="tag" href="${servePath}/category/${category.categoryURI}">
|
||||
${category.categoryTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<div>
|
||||
<h4>${tagsLabel}</h4>
|
||||
<ul id="tagsSide" class="tags">
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}(${tag.tagPublishedRefCount})">
|
||||
<span>${tag.tagTitle}</span>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<div>
|
||||
<h4>${linkLabel}</h4>
|
||||
<ul>
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">${link.linkTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<div>
|
||||
<h4>${archiveLabel}</h4>
|
||||
<ul id="archiveSide">
|
||||
<#list archiveDates as archiveDate>
|
||||
<li data-year="${archiveDate.archiveDateYear}">
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: NeoEase skin.
|
||||
# Version: 1.0.0.7, Nov 21, 2012
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
name=NeoEase
|
||||
memo=http://www.neoease.com/
|
@@ -1,31 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${tag.tagTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<h2>
|
||||
<a rel="alternate" href="${servePath}/tag-articles-feed.do?oId=${tag.oId}" class="feed-ico">
|
||||
${tag1Label}
|
||||
${tag.tagTitle}
|
||||
(${tag.tagPublishedRefCount})
|
||||
</a>
|
||||
</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
@@ -1,37 +0,0 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${allTagsLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
|
||||
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="body">
|
||||
<div class="wrapper">
|
||||
<div class="main">
|
||||
<ul id="tags" class="tags">
|
||||
<#list tags as tag>
|
||||
<li>
|
||||
<a rel="tag" data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
|
||||
<span>${tag.tagTitle}</span>
|
||||
(<b>${tag.tagPublishedRefCount}</b>)
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<script type="text/javascript">
|
||||
Util.buildTags();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user