Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
b657bbd3
Unverified
Commit
b657bbd3
authored
Jan 09, 2020
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
#19 搜索入口处理
parent
0fce73d3
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
538 additions
and
467 deletions
+538
-467
src/main/resources/skins/9IPHP/header.ftl
src/main/resources/skins/9IPHP/header.ftl
+2
-0
src/main/resources/skins/Andrea/header.ftl
src/main/resources/skins/Andrea/header.ftl
+5
-3
src/main/resources/skins/Bruce/header.ftl
src/main/resources/skins/Bruce/header.ftl
+7
-2
src/main/resources/skins/Bubble/macro-header.ftl
src/main/resources/skins/Bubble/macro-header.ftl
+5
-3
src/main/resources/skins/Casper/macro-header.ftl
src/main/resources/skins/Casper/macro-header.ftl
+5
-3
src/main/resources/skins/Community/header.ftl
src/main/resources/skins/Community/header.ftl
+31
-26
src/main/resources/skins/Finding/side.ftl
src/main/resources/skins/Finding/side.ftl
+5
-3
src/main/resources/skins/Jane/header.ftl
src/main/resources/skins/Jane/header.ftl
+5
-3
src/main/resources/skins/Medium/header.ftl
src/main/resources/skins/Medium/header.ftl
+38
-27
src/main/resources/skins/NeoEase/header.ftl
src/main/resources/skins/NeoEase/header.ftl
+17
-13
src/main/resources/skins/Pinghsu/header.ftl
src/main/resources/skins/Pinghsu/header.ftl
+43
-36
src/main/resources/skins/favourite/nav.ftl
src/main/resources/skins/favourite/nav.ftl
+5
-2
src/main/resources/skins/i-nove/header.ftl
src/main/resources/skins/i-nove/header.ftl
+14
-12
src/main/resources/skins/metro-hot/macro-side.ftl
src/main/resources/skins/metro-hot/macro-side.ftl
+168
-163
src/main/resources/skins/next/header.ftl
src/main/resources/skins/next/header.ftl
+15
-12
src/main/resources/skins/nijigen/side.ftl
src/main/resources/skins/nijigen/side.ftl
+28
-26
src/main/resources/skins/owmx-3.0/side.ftl
src/main/resources/skins/owmx-3.0/side.ftl
+109
-105
src/main/resources/skins/timeline/header.ftl
src/main/resources/skins/timeline/header.ftl
+16
-12
src/main/resources/skins/tree-house/header.ftl
src/main/resources/skins/tree-house/header.ftl
+11
-9
src/main/resources/skins/yilia/side.ftl
src/main/resources/skins/yilia/side.ftl
+9
-7
No files found.
src/main/resources/skins/9IPHP/header.ftl
View file @
b657bbd3
...
...
@@ -75,12 +75,14 @@
<i class="icon-rss"></i> RSS
</a>
</nav>
<#if !staticSite>
<div class="fn-right">
<form class="form" action="${servePath}/search">
<input placeholder="${searchLabel}" id="search" type="text" name="keyword"/>
<button type="submit"><i class="icon-search"></i></button>
</form>
</div>
</#if>
</div>
</div>
</header>
...
...
src/main/resources/skins/Andrea/header.ftl
View file @
b657bbd3
...
...
@@ -28,9 +28,11 @@
</div>
<div class="right">
<ul>
<#if !staticSite>
<li>
<a rel="nofollow" class="home" href="${servePath}/search?keyword=">Search</a>
</li>
</#if>
<li>
<a href="${servePath}/tags.html">Tags</a>
</li>
...
...
src/main/resources/skins/Bruce/header.ftl
View file @
b657bbd3
...
...
@@ -26,13 +26,18 @@ ${topBarReplacement}
<a class="nav-item" href="${servePath}">${indexLabel}</a>
<#list pageNavigations as page>
<a class="nav-item" href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
<a class="nav-item" href="${page.pagePermalink}"
target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon"
src="${page.pageIcon}"></#if>${page.pageTitle}
</a>
</#list>
<a class="nav-item" href="${servePath}/links.html">${friendLinkLabel}</a>
<a class="nav-item" href="${servePath}/tags.html">${tagLabel}</a>
<a class="nav-item" href="${servePath}/archives.html">${archiveLabel}</a>
<#if !staticSite>
<a href="${servePath}/search?keyword=">Search</a>
</#if>
</nav>
<div class="col-sm-2"></div>
</div>
...
...
src/main/resources/skins/Bubble/macro-header.ftl
View file @
b657bbd3
...
...
@@ -96,9 +96,11 @@
<li>
<a rel="alternate" href="${servePath}/rss.xml">RSS</a>
</li>
<#if !staticSite>
<li>
<a href="${servePath}/search?keyword=">Search</a>
</li>
</#if>
<#if !staticSite>
<#if isLoggedIn>
<li>
...
...
src/main/resources/skins/Casper/macro-header.ftl
View file @
b657bbd3
...
...
@@ -41,9 +41,11 @@
</a>
</#list>
<#if !staticSite>
<a href="${servePath}/search">
${searchLabel}
</a>
</#if>
<div class="fn__right">
<#include "../../common-template/macro-user_site.ftl">
...
...
src/main/resources/skins/Community/header.ftl
View file @
b657bbd3
...
...
@@ -18,7 +18,7 @@
-->
<#if 1 != users?size>
<div class="header-user">
<div class="header-user">
<div class="content">
<div class="moon-current-icon"></div>
<#list users as user>
...
...
@@ -28,7 +28,7 @@
</#list>
<div class="clear"></div>
</div>
</div>
</div>
</#if>
<div class="header-navi">
<div class="header-navi-main content">
...
...
@@ -58,7 +58,10 @@
<ul class="sub-tabs none">
<#list pageNavigations as page>
<li class="sub-tab">
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
<a href="${page.pagePermalink}"
target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon"
src="${page.pageIcon}"></#if>${page.pageTitle}
</a>
</li>
</#list>
</ul>
...
...
@@ -71,9 +74,11 @@
<span class="clear"></span>
</a>
</li>
<#if !staticSite>
<li class="tab">
<a href="${servePath}/search?keyword=">Search</a>
</li>
</#if>
</ul>
</div>
<div class="clear"></div>
...
...
src/main/resources/skins/Finding/side.ftl
View file @
b657bbd3
...
...
@@ -60,9 +60,11 @@
<li>
<a rel="alternate" href="${servePath}/rss.xml">${subscribeLabel}</a>
</li>
<Li>
<#if !staticSite>
<li>
<a href="${servePath}/search?keyword=">Search</a>
</Li>
</li>
</#if>
</ul>
</#if>
<div class="count">
...
...
src/main/resources/skins/Jane/header.ftl
View file @
b657bbd3
...
...
@@ -48,9 +48,11 @@
class="vditor-tooltipped vditor-tooltipped__w">
<i class="icon__link"></i>
</a>
<#if !staticSite>
<a href="${servePath}/search" class="vditor-tooltipped__w vditor-tooltipped" aria-label="${searchLabel}">
<i class="icon__search"></i>
</a>
</#if>
<a rel="alternate" href="${servePath}/rss.xml" rel="section" aria-label="RSS"
class="vditor-tooltipped vditor-tooltipped__w">
<i class="icon__rss"></i>
...
...
src/main/resources/skins/Medium/header.ftl
View file @
b657bbd3
...
...
@@ -71,9 +71,18 @@
<symbol id="icon-qqz" viewBox="0 0 32 32">
<path d="M22.824 13.989l-8.348 6.287s3.351 0.522 8.404 0.461l-0.23-1.040 7.2-6.549c0.132-0.12 0.183-0.312 0.129-0.487s-0.203-0.299-0.377-0.314l-9.492-0.856-3.708-9.213c-0.068-0.169-0.226-0.279-0.401-0.279s-0.333 0.11-0.401 0.279l-3.708 9.213-9.492 0.856c-0.174 0.015-0.323 0.139-0.377 0.314s-0.004 0.366 0.129 0.487l7.2 6.549-2.158 9.742c-0.040 0.178 0.026 0.365 0.168 0.474 0.142 0.107 0.331 0.115 0.481 0.021l8.158-5.165 8.158 5.165c0.070 0.045 0.147 0.066 0.225 0.066 0.090 0 0.18-0.029 0.256-0.086 0.142-0.109 0.208-0.295 0.168-0.474l-1.707-7.704c0.732-0.386 1.538-1.040 1.538-1.040s-3.195 1.638-14.664 0.838l8.312-6.325s-0.327-0.534-10.744-0.914c-0.697-0.026 8.493-1.83 15.281-0.305z"></path>
</symbol>
<symbol id="icon-wechat" viewBox="0 0 32 32"><path d="M9.062 9.203q0-0.641-0.391-1.031t-1.031-0.391q-0.672 0-1.188 0.398t-0.516 1.023q0 0.609 0.516 1.008t1.188 0.398q0.641 0 1.031-0.383t0.391-1.023zM20.672 17.125q0-0.438-0.398-0.781t-1.023-0.344q-0.422 0-0.773 0.352t-0.352 0.773q0 0.438 0.352 0.789t0.773 0.352q0.625 0 1.023-0.344t0.398-0.797zM16.984 9.203q0-0.641-0.383-1.031t-1.023-0.391q-0.672 0-1.188 0.398t-0.516 1.023q0 0.609 0.516 1.008t1.188 0.398q0.641 0 1.023-0.383t0.383-1.023zM26.906 17.125q0-0.438-0.406-0.781t-1.016-0.344q-0.422 0-0.773 0.352t-0.352 0.773q0 0.438 0.352 0.789t0.773 0.352q0.609 0 1.016-0.344t0.406-0.797zM22.75 10.922q-0.484-0.063-1.094-0.063-2.641 0-4.859 1.203t-3.492 3.258-1.273 4.492q0 1.219 0.359 2.375-0.547 0.047-1.062 0.047-0.406 0-0.781-0.023t-0.859-0.102-0.695-0.109-0.852-0.164-0.781-0.164l-3.953 1.984 1.125-3.406q-4.531-3.172-4.531-7.656 0-2.641 1.523-4.859t4.125-3.492 5.68-1.273q2.75 0 5.195 1.031t4.094 2.852 2.133 4.070zM32 19.688q0 1.828-1.070 3.492t-2.898 3.023l0.859 2.828-3.109-1.703q-2.344 0.578-3.406 0.578-2.641 0-4.859-1.102t-3.492-2.992-1.273-4.125 1.273-4.125 3.492-2.992 4.859-1.102q2.516 0 4.734 1.102t3.555 3 1.336 4.117z"></path></symbol>
<symbol id="icon-weibo" viewBox="0 0 32 32"><path d="M13.242 27.106c-5.22 0.517-9.727-1.847-10.065-5.27-0.339-3.429 3.62-6.618 8.834-7.135 5.22-0.517 9.727 1.847 10.059 5.27 0.345 3.429-3.614 6.624-8.828 7.135zM23.677 15.735c-0.443-0.135-0.751-0.222-0.517-0.806 0.505-1.268 0.554-2.358 0.006-3.14-1.022-1.459-3.823-1.385-7.030-0.037 0 0-1.010 0.437-0.751-0.357 0.492-1.588 0.419-2.912-0.351-3.681-1.742-1.742-6.372 0.068-10.342 4.038-2.967 2.961-4.691 6.119-4.691 8.846 0 5.208 6.686 8.379 13.224 8.379 8.569 0 14.276-4.98 14.276-8.933 0-2.395-2.013-3.749-3.823-4.309z"></path><path d="M29.371 6.193c-2.069-2.296-5.122-3.17-7.942-2.573v0c-0.653 0.142-1.065 0.782-0.923 1.428 0.142 0.653 0.776 1.065 1.428 0.923 2.007-0.425 4.174 0.197 5.645 1.828s1.872 3.854 1.237 5.799v0c-0.203 0.634 0.142 1.311 0.776 1.521 0.634 0.203 1.311-0.142 1.521-0.776v-0.006c0.887-2.721 0.326-5.848-1.742-8.145z"></path><path d="M26.189 9.068c-1.010-1.12-2.499-1.545-3.866-1.25-0.56 0.117-0.917 0.677-0.8 1.237 0.123 0.56 0.677 0.917 1.231 0.794v0c0.671-0.142 1.397 0.068 1.89 0.609 0.492 0.548 0.628 1.293 0.412 1.945v0c-0.172 0.542 0.123 1.133 0.671 1.311 0.548 0.172 1.133-0.123 1.311-0.671 0.431-1.336 0.16-2.863-0.85-3.977z"></path><path d="M13.531 20.907c-0.185 0.314-0.585 0.462-0.899 0.332-0.314-0.123-0.406-0.48-0.228-0.782 0.185-0.302 0.573-0.449 0.88-0.332 0.308 0.111 0.419 0.462 0.246 0.782zM11.863 23.037c-0.505 0.806-1.588 1.157-2.401 0.788-0.8-0.363-1.040-1.299-0.536-2.087 0.499-0.782 1.545-1.133 2.352-0.794 0.819 0.351 1.084 1.28 0.585 2.093zM13.759 17.336c-2.481-0.646-5.288 0.591-6.366 2.776-1.102 2.229-0.037 4.709 2.469 5.522 2.598 0.837 5.664-0.449 6.729-2.85 1.053-2.358-0.259-4.777-2.832-5.448z"></path></symbol>
<symbol id="icon-twitter" viewBox="0 0 32 32"><path d="M32 6.077c-1.175 0.525-2.443 0.875-3.768 1.031 1.356-0.812 2.393-2.1 2.887-3.631-1.268 0.75-2.674 1.3-4.168 1.593-1.2-1.275-2.906-2.068-4.793-2.068-3.624 0-6.561 2.937-6.561 6.561 0 0.512 0.056 1.012 0.169 1.493-5.455-0.275-10.292-2.887-13.529-6.861-0.562 0.969-0.887 2.1-0.887 3.299 0 2.275 1.156 4.287 2.918 5.461-1.075-0.031-2.087-0.331-2.974-0.819 0 0.025 0 0.056 0 0.081 0 3.181 2.262 5.836 5.268 6.436-0.55 0.15-1.131 0.231-1.731 0.231-0.425 0-0.831-0.044-1.237-0.119 0.837 2.606 3.262 4.505 6.13 4.562-2.25 1.762-5.074 2.812-8.155 2.812-0.531 0-1.050-0.031-1.568-0.094 2.912 1.868 6.361 2.949 10.067 2.949 12.073 0 18.678-10.004 18.678-18.678 0-0.287-0.006-0.569-0.019-0.85 1.281-0.919 2.393-2.075 3.274-3.393z"></path></symbol>
<symbol id="icon-wechat" viewBox="0 0 32 32">
<path d="M9.062 9.203q0-0.641-0.391-1.031t-1.031-0.391q-0.672 0-1.188 0.398t-0.516 1.023q0 0.609 0.516 1.008t1.188 0.398q0.641 0 1.031-0.383t0.391-1.023zM20.672 17.125q0-0.438-0.398-0.781t-1.023-0.344q-0.422 0-0.773 0.352t-0.352 0.773q0 0.438 0.352 0.789t0.773 0.352q0.625 0 1.023-0.344t0.398-0.797zM16.984 9.203q0-0.641-0.383-1.031t-1.023-0.391q-0.672 0-1.188 0.398t-0.516 1.023q0 0.609 0.516 1.008t1.188 0.398q0.641 0 1.023-0.383t0.383-1.023zM26.906 17.125q0-0.438-0.406-0.781t-1.016-0.344q-0.422 0-0.773 0.352t-0.352 0.773q0 0.438 0.352 0.789t0.773 0.352q0.609 0 1.016-0.344t0.406-0.797zM22.75 10.922q-0.484-0.063-1.094-0.063-2.641 0-4.859 1.203t-3.492 3.258-1.273 4.492q0 1.219 0.359 2.375-0.547 0.047-1.062 0.047-0.406 0-0.781-0.023t-0.859-0.102-0.695-0.109-0.852-0.164-0.781-0.164l-3.953 1.984 1.125-3.406q-4.531-3.172-4.531-7.656 0-2.641 1.523-4.859t4.125-3.492 5.68-1.273q2.75 0 5.195 1.031t4.094 2.852 2.133 4.070zM32 19.688q0 1.828-1.070 3.492t-2.898 3.023l0.859 2.828-3.109-1.703q-2.344 0.578-3.406 0.578-2.641 0-4.859-1.102t-3.492-2.992-1.273-4.125 1.273-4.125 3.492-2.992 4.859-1.102q2.516 0 4.734 1.102t3.555 3 1.336 4.117z"></path>
</symbol>
<symbol id="icon-weibo" viewBox="0 0 32 32">
<path d="M13.242 27.106c-5.22 0.517-9.727-1.847-10.065-5.27-0.339-3.429 3.62-6.618 8.834-7.135 5.22-0.517 9.727 1.847 10.059 5.27 0.345 3.429-3.614 6.624-8.828 7.135zM23.677 15.735c-0.443-0.135-0.751-0.222-0.517-0.806 0.505-1.268 0.554-2.358 0.006-3.14-1.022-1.459-3.823-1.385-7.030-0.037 0 0-1.010 0.437-0.751-0.357 0.492-1.588 0.419-2.912-0.351-3.681-1.742-1.742-6.372 0.068-10.342 4.038-2.967 2.961-4.691 6.119-4.691 8.846 0 5.208 6.686 8.379 13.224 8.379 8.569 0 14.276-4.98 14.276-8.933 0-2.395-2.013-3.749-3.823-4.309z"></path>
<path d="M29.371 6.193c-2.069-2.296-5.122-3.17-7.942-2.573v0c-0.653 0.142-1.065 0.782-0.923 1.428 0.142 0.653 0.776 1.065 1.428 0.923 2.007-0.425 4.174 0.197 5.645 1.828s1.872 3.854 1.237 5.799v0c-0.203 0.634 0.142 1.311 0.776 1.521 0.634 0.203 1.311-0.142 1.521-0.776v-0.006c0.887-2.721 0.326-5.848-1.742-8.145z"></path>
<path d="M26.189 9.068c-1.010-1.12-2.499-1.545-3.866-1.25-0.56 0.117-0.917 0.677-0.8 1.237 0.123 0.56 0.677 0.917 1.231 0.794v0c0.671-0.142 1.397 0.068 1.89 0.609 0.492 0.548 0.628 1.293 0.412 1.945v0c-0.172 0.542 0.123 1.133 0.671 1.311 0.548 0.172 1.133-0.123 1.311-0.671 0.431-1.336 0.16-2.863-0.85-3.977z"></path>
<path d="M13.531 20.907c-0.185 0.314-0.585 0.462-0.899 0.332-0.314-0.123-0.406-0.48-0.228-0.782 0.185-0.302 0.573-0.449 0.88-0.332 0.308 0.111 0.419 0.462 0.246 0.782zM11.863 23.037c-0.505 0.806-1.588 1.157-2.401 0.788-0.8-0.363-1.040-1.299-0.536-2.087 0.499-0.782 1.545-1.133 2.352-0.794 0.819 0.351 1.084 1.28 0.585 2.093zM13.759 17.336c-2.481-0.646-5.288 0.591-6.366 2.776-1.102 2.229-0.037 4.709 2.469 5.522 2.598 0.837 5.664-0.449 6.729-2.85 1.053-2.358-0.259-4.777-2.832-5.448z"></path>
</symbol>
<symbol id="icon-twitter" viewBox="0 0 32 32">
<path d="M32 6.077c-1.175 0.525-2.443 0.875-3.768 1.031 1.356-0.812 2.393-2.1 2.887-3.631-1.268 0.75-2.674 1.3-4.168 1.593-1.2-1.275-2.906-2.068-4.793-2.068-3.624 0-6.561 2.937-6.561 6.561 0 0.512 0.056 1.012 0.169 1.493-5.455-0.275-10.292-2.887-13.529-6.861-0.562 0.969-0.887 2.1-0.887 3.299 0 2.275 1.156 4.287 2.918 5.461-1.075-0.031-2.087-0.331-2.974-0.819 0 0.025 0 0.056 0 0.081 0 3.181 2.262 5.836 5.268 6.436-0.55 0.15-1.131 0.231-1.731 0.231-0.425 0-0.831-0.044-1.237-0.119 0.837 2.606 3.262 4.505 6.13 4.562-2.25 1.762-5.074 2.812-8.155 2.812-0.531 0-1.050-0.031-1.568-0.094 2.912 1.868 6.361 2.949 10.067 2.949 12.073 0 18.678-10.004 18.678-18.678 0-0.287-0.006-0.569-0.019-0.85 1.281-0.919 2.393-2.075 3.274-3.393z"></path>
</symbol>
<symbol id="icon-register" viewBox="0 0 32 32">
<path d="M16 0c8.839 0 16 7.161 16 16 0 8.786-7.125 16-16 16-8.857 0-16-7.196-16-16 0-8.839 7.161-16 16-16zM27.054 24.125c1.661-2.286 2.661-5.089 2.661-8.125 0-7.554-6.161-13.714-13.714-13.714s-13.714 6.161-13.714 13.714c0 3.036 1 5.839 2.661 8.125 0.643-3.196 2.196-5.839 5.464-5.839 1.446 1.411 3.411 2.286 5.589 2.286s4.143-0.875 5.589-2.286c3.268 0 4.821 2.643 5.464 5.839zM22.857 12.571c0-3.786-3.071-6.857-6.857-6.857s-6.857 3.071-6.857 6.857 3.071 6.857 6.857 6.857 6.857-3.071 6.857-6.857z"></path>
</symbol>
...
...
@@ -83,6 +92,7 @@
<div class="wrapper fn-clear">
<h1><a href="${servePath}" rel="start" class="header__title">${blogTitle}</a></h1>
<#if !staticSite>
<div class="fn-right">
<a href="${servePath}/search" aria-label="${searchLabel}"
class="vditor-tooltipped vditor-tooltipped__w header__icon">
...
...
@@ -100,5 +110,6 @@
</a>
</#if>
</div>
</#if>
</div>
</header>
\ No newline at end of file
src/main/resources/skins/NeoEase/header.ftl
View file @
b657bbd3
...
...
@@ -27,10 +27,12 @@
</h1>
<span class="sub-title">${blogSubtitle}</span>
</div>
<#if !staticSite>
<form class="right" action="${servePath}/search">
<input id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
<input id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
</form>
</#if>
<div class="clear"></div>
</div>
</div>
...
...
@@ -42,14 +44,16 @@
</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>
<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}/rss.xml">RSS<img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
<a rel="alternate" href="${servePath}/rss.xml">RSS<img src="${staticServePath}/images/feed.png"
alt="RSS"/></a>
</li>
</ul>
<div class="right">
...
...
src/main/resources/skins/Pinghsu/header.ftl
View file @
b657bbd3
...
...
@@ -34,11 +34,14 @@
<a rel="archive" href="${servePath}/links.html">
Links
</a>
<#if !staticSite>
<a href="${servePath}/search" class="search">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
<path fill="#444" d="M19.385 11.846c0-4.156-3.382-7.538-7.538-7.538s-7.538 3.382-7.538 7.538 3.382 7.538 7.538 7.538 7.538-3.382 7.538-7.538zM28 25.846c0 1.178-0.976 2.154-2.154 2.154-0.572 0-1.127-0.236-1.514-0.639l-5.772-5.755c-1.969 1.363-4.325 2.087-6.714 2.087-6.546 0-11.846-5.3-11.846-11.846s5.3-11.846 11.846-11.846 11.846 5.3 11.846 11.846c0 2.389-0.724 4.745-2.087 6.714l5.772 5.772c0.387 0.387 0.623 0.942 0.623 1.514z"></path>
<path fill="#444"
d="M19.385 11.846c0-4.156-3.382-7.538-7.538-7.538s-7.538 3.382-7.538 7.538 3.382 7.538 7.538 7.538 7.538-3.382 7.538-7.538zM28 25.846c0 1.178-0.976 2.154-2.154 2.154-0.572 0-1.127-0.236-1.514-0.639l-5.772-5.755c-1.969 1.363-4.325 2.087-6.714 2.087-6.546 0-11.846-5.3-11.846-11.846s5.3-11.846 11.846-11.846 11.846 5.3 11.846 11.846c0 2.389-0.724 4.745-2.087 6.714l5.772 5.772c0.387 0.387 0.623 0.942 0.623 1.514z"></path>
</svg>
</a>
</#if>
</nav>
<div class="header__bar fn__none" onclick="$(this).next().slideToggle()">
...
...
@@ -48,6 +51,7 @@
</div>
<main class="header__menu fn__none">
<ul>
<#if !staticSite>
<#if isLoggedIn>
<li>
<a href="${servePath}/admin-index.do#main" title="${adminLabel}">
...
...
@@ -66,6 +70,7 @@
</a>
</li>
</#if>
</#if>
<#list pageNavigations as page>
<li>
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}" rel="section">
...
...
@@ -88,11 +93,13 @@
Links
</a>
</li>
<#if !staticSite>
<li>
<a href="${servePath}/search">
Search
</a>
</li>
</#if>
<li>
<a rel="alternate" href="${servePath}/rss.xml" rel="section">
RSS
...
...
src/main/resources/skins/favourite/nav.ftl
View file @
b657bbd3
...
...
@@ -22,10 +22,13 @@
<a rel="nofollow" href="${servePath}" class="home">${homeLabel}</a>
<a href="${servePath}/tags.html" class="about">${allTagsLabel}</a>
<#list pageNavigations as page>
<a href="${page.pagePermalink}" class="Guestbook" target="${page.pageOpenTarget}" class="${page.pageTitle}">${page.pageTitle}</a>
<a href="${page.pagePermalink}" class="Guestbook" target="${page.pageOpenTarget}"
class="${page.pageTitle}">${page.pageTitle}</a>
</#list>
<a rel="alternate" href="${servePath}/rss.xml" class="classifiche">RSS</a>
<#if !staticSite>
<a href="${servePath}/search?keyword=">Search</a>
</#if>
</div>
<div class="thinks"></div>
</div>
\ No newline at end of file
src/main/resources/skins/i-nove/header.ftl
View file @
b657bbd3
...
...
@@ -19,7 +19,7 @@
-->
<div class="header">
<h1 class="title">
<a href="${servePath}" id="logoTitle"
>
<a href="${servePath}" id="logoTitle">
${blogTitle}
</a>
</h1>
...
...
@@ -47,11 +47,13 @@
<img src="${staticServePath}/images/feed.png" alt="RSS"/>
</a>
</li>
<#if !staticSite>
<li>
<a href="${servePath}/search?keyword=">
Search
</a>
</li>
</#if>
<li>
<a class="lastNavi" href="javascript:void(0);"></a>
</li>
...
...
src/main/resources/skins/metro-hot/macro-side.ftl
View file @
b657bbd3
...
...
@@ -18,13 +18,16 @@
-->
<#macro side isArticle>
<div class="side">
<div class="side">
<div class="fn-clear">
<#if !isArticle>
<#if !staticSite>
<form action="${servePath}/search">
<input placeholder="Search" id="search" type="text" name="keyword" /><span onclick="$(this).parent().submit()" data-ico="g"></span>
<input type="submit" value="" class="fn-none" />
<input placeholder="Search" id="search" type="text" name="keyword"/><span
onclick="$(this).parent().submit()" data-ico="g"></span>
<input type="submit" value="" class="fn-none"/>
</form>
</#if>
<#if "" != noticeBoard>
<div class="notice-board side-tile">
...
...
@@ -177,6 +180,7 @@
</div>
</div>
<#if !staticSite>
<#if isLoggedIn>
<a href="${servePath}/admin-index.do#main" class="settings side-tile">
<span data-ico="p"></span>
...
...
@@ -198,6 +202,7 @@
</div>
</a>
</#if>
</#if>
</div>
</div>
</div>
</#macro>
\ No newline at end of file
src/main/resources/skins/next/header.ftl
View file @
b657bbd3
...
...
@@ -28,7 +28,8 @@
</a>
</div>
<div class="site-nav-toggle fn-right" onclick="$('.header-line').toggle();$('nav').children('.menu').slideToggle();">
<div class="site-nav-toggle fn-right"
onclick="$('.header-line').toggle();$('nav').children('.menu').slideToggle();">
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
...
...
@@ -45,12 +46,14 @@
</#list>
</ul>
<#if !staticSite>
<div class="site-search">
<form action="${servePath}/search">
<input placeholder="${searchLabel}" id="search" type="text" name="keyword"/>
<input type="submit" value="" class="fn-none"
/>
<input type="submit" value="" class="fn-none"
/>
</form>
</div>
</#if>
</nav>
</div>
</header>
\ No newline at end of file
src/main/resources/skins/nijigen/side.ftl
View file @
b657bbd3
...
...
@@ -33,6 +33,7 @@
</section>
</#if>
<#if !staticSite>
<section class="module">
<header class="module__header">
<form class="form" action="${servePath}/search">
...
...
@@ -41,6 +42,7 @@
</form>
</header>
</section>
</#if>
<div class="module item">
<header class="module__header ft__center">
...
...
src/main/resources/skins/owmx-3.0/side.ftl
View file @
b657bbd3
...
...
@@ -18,13 +18,15 @@
-->
<aside>
<#if !staticSite>
<nav>
<h4 class="h4">Search</h4>
<form action="${servePath}/search">
<input style="width: 194px" id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
<input style="width: 194px" id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
</form>
</nav>
</#if>
<nav>
<h4 class="h4">Navigation</h4>
<ul>
...
...
@@ -137,7 +139,8 @@
<ul class="navi-tags">
<#list mostUsedTags as tag>
<li>
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})"
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
<sup>[${tag.tagPublishedRefCount}]</sup>
${tag.tagTitle}</a>
</li>
...
...
@@ -151,7 +154,8 @@
<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>
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>
...
...
src/main/resources/skins/timeline/header.ftl
View file @
b657bbd3
...
...
@@ -41,7 +41,8 @@
<ul class="left">
<#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>
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img
class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
</li>
</#list>
<#if commentable>
...
...
@@ -53,12 +54,15 @@
<a href="${servePath}/tags.html">${allTagsLabel}</a>
</li>
<li>
<a rel="alternate" href="${servePath}/rss.xml">RSS <img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
<a rel="alternate" href="${servePath}/rss.xml">RSS <img src="${staticServePath}/images/feed.png"
alt="RSS"/></a>
</li>
</ul>
<#if !staticSite>
<form class="right" action="${servePath}/search">
<input placeholder="${searchLabel}" id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
<input placeholder="${searchLabel}" id="search" type="text" name="keyword"
/>
<input type="submit" value="" class="none"
/>
</form>
</#if>
</div>
</div>
\ No newline at end of file
src/main/resources/skins/tree-house/header.ftl
View file @
b657bbd3
...
...
@@ -34,14 +34,16 @@
<img class="page-icon" src="${staticServePath}/images/feed.png" alt="RSS"/>RSS</a>
</a>
</li>
<#if !staticSite>
<li>
<a href="${servePath}/search?keyword=">Search</a>
</li>
</#if>
</ul>
</div>
<div class="header-title">
<h1>
<a href="${servePath}" id="logoTitle"
>
<a href="${servePath}" id="logoTitle">
${blogTitle}
</a>
</h1>
...
...
src/main/resources/skins/yilia/side.ftl
View file @
b657bbd3
...
...
@@ -54,6 +54,7 @@
<a href="${servePath}/archives.html">${archiveLabel}</a>
</li>
<#if !staticSite>
<li>
<a href="${servePath}/links.html">${linkLabel}</a>
...
...
@@ -61,6 +62,7 @@
Search
</a>
</li>
</#if>
</ul>
</nav>
</header>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment