minor, css

This commit is contained in:
Sanj 2011-08-29 18:51:51 +05:30
parent 4addbcf705
commit 0981f4d927
2 changed files with 8 additions and 1 deletions

View File

@ -179,3 +179,10 @@ clear:both;}
#mapList thead { #mapList thead {
font-weight:bold; font-weight:bold;
} }
.viewSimilar {
text-decoration: none;
font-size: 11px;
font-style: italic;
color: #666;
}

View File

@ -40,7 +40,7 @@ function getRow(props) {
var $tr = $('<tr />'); var $tr = $('<tr />');
var $one = $('<td />').appendTo($tr); var $one = $('<td />').appendTo($tr);
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + " ").appendTo($one); var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + " ").appendTo($one);
var $a2 = $('<a />').attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one); var $a2 = $('<a />').addClass("viewSimilar").attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one);
$('<td />').text(props.feature_type).appendTo($tr); $('<td />').text(props.feature_type).appendTo($tr);
$('<td />').text(props.admin2).appendTo($tr); $('<td />').text(props.admin2).appendTo($tr);
$('<td />').text(props.admin1).appendTo($tr); $('<td />').text(props.admin1).appendTo($tr);