浏览代码

fix help page

Kaoru FUZITA 9 年之前
父节点
当前提交
9d8d4b0ea4

+ 1 - 1
src/main/webapp/WEB-INF/orig/open-search/osdd.xml

@@ -5,7 +5,7 @@
   <Tags>Full Text Search</Tags>
   <Contact>fess-user@lists.sourceforge.jp</Contact>
   <SearchForm>http://localhost:8080/fess/</SearchForm>
-  <Url type="text/html" template="http://localhost:8080/fess/search?query={searchTerms}"/>
+  <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
   <InputEncoding>UTF-8</InputEncoding>
   <OutputEncoding>UTF-8</OutputEncoding>
 </OpenSearchDescription>

+ 3 - 1
src/main/webapp/WEB-INF/view/help.jsp

@@ -10,8 +10,10 @@
 <link href="${f:url('/css/style-base.css')}" rel="stylesheet"
 	type="text/css" />
 <link href="${f:url('/css/style.css')}" rel="stylesheet" type="text/css" />
+<link href="${f:url('/css/admin/font-awesome.min.css')}"
+	rel="stylesheet" type="text/css" />
 </head>
-<body>
+<body class="help">
 	<jsp:include page="header.jsp" />
 	<div class="container">
 		<div class="row">

+ 3 - 2
src/main/webapp/css/style.css

@@ -155,7 +155,7 @@ ul.searchOptionLabels li {
 	vertical-align: middle;
 }
 
-body.search #searchOptions {
+body.search #searchOptions, body.help #searchOptions {
 	position: fixed;
 	top: 0;
 	padding-top: 72px;
@@ -166,7 +166,8 @@ body.search #searchOptions {
 	width: 500px;
 	transition: all .4s ease 0s;
 }
-body.search #searchOptions.active {
+
+body.search #searchOptions.active, body.help #searchOptions.active {
 	right: 0;
 }