mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-04-18 18:18:49 -04:00
to display only sentences with citations, while maintaining the sentence number. Make the filtered list the default in search result citation link
44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Document Citations for url #[url]#</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body>
|
|
#%env/templates/embeddedheader.template%#
|
|
<h1>Document Citations for<br><a href="#[url]#">#[url]#</a></h1>
|
|
#(similar)#::
|
|
<h3>Similar documents from different hosts:</h3>
|
|
<ul>#{links}#
|
|
<li><a href="#[url]#">#[url]#</a></li>
|
|
#{/links}#</ul>
|
|
#(/similar)#
|
|
<form action="citation.html?url=#[url]#" name="" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<fieldset>
|
|
<table width="100%">
|
|
<tr>
|
|
<td>
|
|
<legend><label>List of #(filter)#::Cited#(/filter)# Sentences in #[url]#</label></legend>
|
|
</td>
|
|
<td align="right">
|
|
<button type="submit" name="filter" class="btn btn-default btn-sm" value="#(filter)#true::false#(/filter)#">#(filter)#filter cited sentences::filter off#(/filter)#</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<dl>#{sentences}#
|
|
<dt>#[dt]#</dt><dd>#[dd]#</dd>
|
|
#{/sentences}#</dl>
|
|
</fieldset>
|
|
</form>
|
|
<form action="#" name="" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<fieldset>
|
|
<legend><label>List of other web pages with citations</label></legend>
|
|
<dl>#{citations}#
|
|
<dt>#[dt]#</dt><dd>#[dd]#</dd>
|
|
#{/citations}#</dl>
|
|
</fieldset>
|
|
</form>
|
|
#%env/templates/embeddedfooter.template%#
|
|
</body>
|
|
</html>
|