Tweak participants count style and position

This commit is contained in:
Alan Friedman 2016-01-11 13:43:40 -05:00
parent 5957e256c7
commit b1389371a8
3 changed files with 11 additions and 2 deletions

View File

@ -57,7 +57,7 @@ $(function() {
headerMsg = data.numUsers + " participants";
}
$participants.text(headerMsg);
$participants.text(data.numUsers);
log(message);
}

View File

@ -188,3 +188,9 @@ input {
.inputMessage.encryption-disabled {
background-color: rgba(254, 6, 6, 0.15);
}
.participants {
position: relative;
top: 16px;
text-align: center;
}

View File

@ -24,7 +24,10 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">FattyChat</a> <small id="participants"></small>
<a class="navbar-brand" href="#">FattyChat</a>
<span class="participants">
<span class="glyphicon glyphicon-user"></span>&nbsp;<span id="participants"></span>
</span>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->