Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

changed display of y-marks

apfelmaennchen5fde61833714
diff --git a/htroot/yacy/ui/css/base.css b/htroot/yacy/ui/css/base.css
index 93f799d3c..1f61e7822 100644
--- a/htroot/yacy/ui/css/base.css
+++ b/htroot/yacy/ui/css/base.css
@@ -106,7 +106,7 @@ table.ytable tbody td {
padding: 4px;
background-color: #FFF;
vertical-align: top;
- white-space: nowrap;
+ /* white-space: nowrap; */
text-overflow:ellipsis;
overflow:hidden;
}
@@ -123,6 +123,32 @@ table.ytable thead tr .headerSortDown, table.ytable thead tr .headerSortUp {
background-color: #8dbdd8;
}
+/* YaCy Bookmarks ---------------------------*/
+.url {
+ padding-top: 1px;
+ font-size: 0.9em;
+ line-height: 1.2em;
+ margin-bottom:0.6em;
+}
+h3.linktitle {
+ margin-top:2px;
+ margin-bottom: -0.5em;
+ font-size: 1.0em;
+ line-height: 1.2em;
+ color:#239AFF;
+}
+.url a {
+ color:#20A020;
+ text-decoration:none;
+}
+.desc {
+ font-style:italic;
+ font-size: 0.9em;
+ color: #808080;
+ line-height: 1.2em;
+ margin-bottom:-1em;
+}
+
/* YaCy Search ---------------------------*/
div.searchresults {
@@ -133,12 +159,13 @@ div.searchresults {
div.searchresults.hidden {
display:none;
}
-h3.linktitle {
+
+.searchresults h3.linktitle {
margin:2px;
padding-left: 20px;
margin-bottom: -0.5em;
font-size: 1.0em;
- line-height: 1.2em;
+ line-height: 1.2em
}
.snippet {
font-style:italic;
@@ -152,9 +179,9 @@ h3.linktitle {
color: black;
}
.searchresults .linktitle a {
- color:#239AFF;
+ color:#239AFF;
text-decoration:none;
-}
+}
.searchresults .url {
font-size: 0.9em;
line-height: 1.2em;
diff --git a/htroot/yacy/ui/index.html b/htroot/yacy/ui/index.html
index dfac50831..0d68fee4d 100644
--- a/htroot/yacy/ui/index.html
+++ b/htroot/yacy/ui/index.html
@@ -44,8 +44,7 @@
$('#searchbox').submit(function() {
var tabnr = $('#container > ul').tabs('length');
var result = "result.html?" + $('#searchbox').formSerialize();
- var tabname = $("input[@name='search']").getValue();
- $('<div id='+tabname+'</div>').appendTo('#container');
+ var tabname = $("input[@name='search']").getValue();
$tabs.tabs('add', result, '*' + tabname);
$tabs.tabs('select',tabnr);
return false;
diff --git a/htroot/yacy/ui/ymarks.html b/htroot/yacy/ui/ymarks.html
index d47525ed3..a281efa0d 100644
--- a/htroot/yacy/ui/ymarks.html
+++ b/htroot/yacy/ui/ymarks.html
@@ -3,7 +3,7 @@
$(document).ready(function() {
$('#ymarks')
.tablesorter({widgets: ['zebra']})
- .tablesorterPager({container: $('#pager'), size: 15, positionFixed: false});
+ .tablesorterPager({container: $('#pager'), size: 5, positionFixed: false});
});
</script>
@@ -12,18 +12,18 @@
<colgroup>
<col width="25"/>
<col width="25"/>
- <col width="250"/>
- <col width="250"/>
- <col width="210"/>
- <col width="40"/>
+ <col width="425"/>
+ <col width="150"/>
+ <col width="150"/>
+ <col width="25"/>
</colgroup>
<thead>
<tr>
<th class="{sorter: false}"></th>
<th></th>
<th>Title</th>
- <th>URL</th>
- <th>Tags</th>
+ <th>Tags</th>
+ <th>Date</th>
<th class="{sorter: false}"></th>
</tr>
</thead>
@@ -41,12 +41,14 @@
#(/public)#
</td>
<td>
- #[title]#
- </td>
- <td class="url">
- <a href="#[link]#">#[link]#</a>
- </td>
+ <h3 class="linktitle">#[title]#</h3>
+ <p class="desc">#[description]#</p>
+ <p class="url"><a href="#[link]#">#[link]#</a></p>
+ </td>
<td>#{tags}# #[tag]#,#{/tags}#</td>
+ <td>
+ #[date]#
+ </td>
<td>
<a href="Bookmarks.html?edit=#[hash]#">
<img src="img-2/pencil.png" alt="edit bookmark" title="edit bookmark" border="0" />