First pass applied for YaCy index and administration first page, checked with LibreJS 6.0.13.pull/56/head
parent
1dcb9c5158
commit
02ecb8de29
@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>YaCy JavaScript license information</title>
|
||||||
|
#%env/templates/metas.template%#
|
||||||
|
</head>
|
||||||
|
<body id="jslicense">
|
||||||
|
#%env/templates/simpleheader.template%#
|
||||||
|
<h1>YaCy JavaScript files license information</h1>
|
||||||
|
<table id="jslicense-labels1">
|
||||||
|
<tr>
|
||||||
|
<th>Script</th>
|
||||||
|
<th>License</th>
|
||||||
|
<th>Source</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/env/bootstrap/js/jquery.min.js">jquery.min.js</a></td>
|
||||||
|
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
|
||||||
|
<td><a href="https://raw.githubusercontent.com/jquery/jquery/1.11.0/dist/jquery.js">jquery.js</a> (1.11.0)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/env/bootstrap/js/bootstrap.min.js">bootstrap.min.js</a></td>
|
||||||
|
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
|
||||||
|
<td><a href="/env/bootstrap/js/bootstrap.js">bootstrap.js</a> (3.3.6)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/env/bootstrap/js/docs.min.js">docs.min.js</a></td>
|
||||||
|
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
|
||||||
|
<td><a href="https://raw.githubusercontent.com/imsky/holder/v2.3.1/holder.js">holder.js</a> (2.3.1)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/env/bootstrap/js/bootstrap-switch.min.js">bootstrap-switch.min.js</a></td>
|
||||||
|
<td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0</a></td>
|
||||||
|
<td><a href="/env/bootstrap/js/bootstrap-switch.js">bootstrap-switch.js</a> (3.0.0)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/env/bootstrap/js/typeahead.jquery.min.js">typeahead.jquery.min.js</a></td>
|
||||||
|
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
|
||||||
|
<td><a href="/env/bootstrap/js/typeahead.jquery.js">typeahead.jquery.js</a> (0.10.2)</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,49 @@
|
|||||||
|
// jslicense.java
|
||||||
|
// -----------------------
|
||||||
|
// (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
|
||||||
|
// first published 07.04.2005 on http://yacy.net
|
||||||
|
//
|
||||||
|
// This is a part of YaCy, a peer-to-peer based web search engine
|
||||||
|
//
|
||||||
|
// This File is contributed by luc
|
||||||
|
//
|
||||||
|
// $LastChangedDate$
|
||||||
|
// $LastChangedRevision$
|
||||||
|
// $LastChangedBy$
|
||||||
|
//
|
||||||
|
// LICENSE
|
||||||
|
//
|
||||||
|
// This program is free software; you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation; either version 2 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
import net.yacy.cora.protocol.RequestHeader;
|
||||||
|
import net.yacy.server.serverObjects;
|
||||||
|
import net.yacy.server.serverSwitch;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Produces YaCy JavaScript license information page (sse jslicense.html).
|
||||||
|
* @author luc
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class jslicense {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param header request headers
|
||||||
|
* @param post post parameters
|
||||||
|
* @param env server environment
|
||||||
|
*/
|
||||||
|
public static serverObjects respond(final RequestHeader header, final serverObjects post, final serverSwitch env) {
|
||||||
|
return new serverObjects();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue