changed display of y-marks

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4583 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 17 years ago
parent f3996e63b8
commit 5fde618337

@ -106,7 +106,7 @@ table.ytable tbody td {
padding: 4px; padding: 4px;
background-color: #FFF; background-color: #FFF;
vertical-align: top; vertical-align: top;
white-space: nowrap; /* white-space: nowrap; */
text-overflow:ellipsis; text-overflow:ellipsis;
overflow:hidden; overflow:hidden;
} }
@ -123,6 +123,32 @@ table.ytable thead tr .headerSortDown, table.ytable thead tr .headerSortUp {
background-color: #8dbdd8; 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 ---------------------------*/ /* YaCy Search ---------------------------*/
div.searchresults { div.searchresults {
@ -133,12 +159,13 @@ div.searchresults {
div.searchresults.hidden { div.searchresults.hidden {
display:none; display:none;
} }
h3.linktitle {
.searchresults h3.linktitle {
margin:2px; margin:2px;
padding-left: 20px; padding-left: 20px;
margin-bottom: -0.5em; margin-bottom: -0.5em;
font-size: 1.0em; font-size: 1.0em;
line-height: 1.2em; line-height: 1.2em
} }
.snippet { .snippet {
font-style:italic; font-style:italic;

@ -45,7 +45,6 @@
var tabnr = $('#container > ul').tabs('length'); var tabnr = $('#container > ul').tabs('length');
var result = "result.html?" + $('#searchbox').formSerialize(); var result = "result.html?" + $('#searchbox').formSerialize();
var tabname = $("input[@name='search']").getValue(); var tabname = $("input[@name='search']").getValue();
$('<div id='+tabname+'</div>').appendTo('#container');
$tabs.tabs('add', result, '*' + tabname); $tabs.tabs('add', result, '*' + tabname);
$tabs.tabs('select',tabnr); $tabs.tabs('select',tabnr);
return false; return false;

@ -3,7 +3,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#ymarks') $('#ymarks')
.tablesorter({widgets: ['zebra']}) .tablesorter({widgets: ['zebra']})
.tablesorterPager({container: $('#pager'), size: 15, positionFixed: false}); .tablesorterPager({container: $('#pager'), size: 5, positionFixed: false});
}); });
</script> </script>
@ -12,18 +12,18 @@
<colgroup> <colgroup>
<col width="25"/> <col width="25"/>
<col width="25"/> <col width="25"/>
<col width="250"/> <col width="425"/>
<col width="250"/> <col width="150"/>
<col width="210"/> <col width="150"/>
<col width="40"/> <col width="25"/>
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th class="{sorter: false}"></th> <th class="{sorter: false}"></th>
<th></th> <th></th>
<th>Title</th> <th>Title</th>
<th>URL</th>
<th>Tags</th> <th>Tags</th>
<th>Date</th>
<th class="{sorter: false}"></th> <th class="{sorter: false}"></th>
</tr> </tr>
</thead> </thead>
@ -41,12 +41,14 @@
#(/public)# #(/public)#
</td> </td>
<td> <td>
#[title]# <h3 class="linktitle">#[title]#</h3>
</td> <p class="desc">#[description]#</p>
<td class="url"> <p class="url"><a href="#[link]#">#[link]#</a></p>
<a href="#[link]#">#[link]#</a>
</td> </td>
<td>#{tags}# #[tag]#,#{/tags}#</td> <td>#{tags}# #[tag]#,#{/tags}#</td>
<td>
#[date]#
</td>
<td> <td>
<a href="Bookmarks.html?edit=#[hash]#"> <a href="Bookmarks.html?edit=#[hash]#">
<img src="img-2/pencil.png" alt="edit bookmark" title="edit bookmark" border="0" /> <img src="img-2/pencil.png" alt="edit bookmark" title="edit bookmark" border="0" />

Loading…
Cancel
Save