horizontal match layout
This commit is contained in:
parent
89977cd87c
commit
cd2a0802e4
|
@ -39,11 +39,12 @@ function match_content(&$a) {
|
||||||
if(count($j->results)) {
|
if(count($j->results)) {
|
||||||
foreach($j->results as $jj) {
|
foreach($j->results as $jj) {
|
||||||
$o .= '<div class="profile-match-wrapper"><div class="profile-match-photo">';
|
$o .= '<div class="profile-match-wrapper"><div class="profile-match-photo">';
|
||||||
$o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" /></a></div>';
|
$o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" title="' . $jj->name . '[' . $jj->url . ']' . '" /></a></div>';
|
||||||
$o .= '<div class="profile-match-break"></div>';
|
$o .= '<div class="profile-match-break"></div>';
|
||||||
$o .= '<div class="profile-match-name"><a href="' . $jj->url . '">' . $jj->name . '</a></div>';
|
$o .= '<div class="profile-match-name"><a href="' . $jj->url . '" title="' . $jj->name . '[' . $jj->url .']' . '">' . $jj->name . '</a></div>';
|
||||||
$o .= '<div class="profile-match-end"></div></div>';
|
$o .= '<div class="profile-match-end"></div></div>';
|
||||||
}
|
}
|
||||||
|
$o .= '<div id="profile-match-wrapper-end"></div>';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
notice( t('No matches') . EOL);
|
notice( t('No matches') . EOL);
|
||||||
|
|
|
@ -2162,6 +2162,13 @@ a.mail-list-link {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile-match-wrapper {
|
||||||
|
float: left;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
#profile-match-wrapper-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
.side-link {
|
.side-link {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2188,6 +2188,14 @@ a.mail-list-link {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile-match-wrapper {
|
||||||
|
float: left;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
#profile-match-wrapper-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
.side-link {
|
.side-link {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue