Lars chat #63

Merged
11291680 merged 1 commits from lars-chat into master 2017-01-18 15:55:42 +01:00
2 changed files with 25 additions and 8 deletions

View File

@@ -25,3 +25,16 @@
font-size: 14px;
cursor: pointer;
}
.friend-item {
cursor: pointer;
}
.menu button {
background: none;
color: #333;
width: 100%;
height: 100%;
padding: 0;
text-align: left;
}

View File

@@ -34,14 +34,18 @@
// Echo the friend.
echo "
<a href='#' class='$extraItem'>
<li class='friend-item'>
<li class='friend-item $extraItem'>
<form action='profile.php' method='get'>
<button type='submit'
name='username'
value='$username'>
<div class='friend'>
<img alt='PF' class='profile-picture' src='$pf'/>
$username
</div>
</button>
</form>
</li>
</a>
";
}
if ($i > 1) {