This commit is contained in:
calzoneman 2013-05-04 11:53:07 -05:00
parent 281c498911
commit 622788f7e7
3 changed files with 7 additions and 6 deletions

View file

@ -15,6 +15,11 @@ html, body {
clear: both; clear: both;
} }
#welcome {
font-size: 10pt;
color: #ffffff;
}
.videolist { .videolist {
list-style: none outside none; list-style: none outside none;
margin-left: 0; margin-left: 0;

View file

@ -149,7 +149,7 @@ function initCallbacks() {
} }
} }
else { else {
$("#welcome")[0].innerHTML = "Welcome, " + uname; $("#welcome").text("Logged in as " + uname);
$("#loginform").css("display", "none"); $("#loginform").css("display", "none");
$("#logoutform").css("display", ""); $("#logoutform").css("display", "");
$("#loggedin").css("display", ""); $("#loggedin").css("display", "");

View file

@ -36,6 +36,7 @@
<button class="btn" id="login">Login/Register</button> <button class="btn" id="login">Login/Register</button>
</div> </div>
<div class="navbar-form pull-right" id="logoutform" style="display: none;"> <div class="navbar-form pull-right" id="logoutform" style="display: none;">
<span id="welcome"></span>
<button class="btn" id="logout">Logout</button> <button class="btn" id="logout">Logout</button>
</div> </div>
</div> </div>
@ -44,11 +45,6 @@
</div> </div>
<div class="container"> <div class="container">
<div class="row">
<div id="loggedin" class="span6" style="display: none;">
<h3 id="welcome"></h3>
</div>
</div>
<div class="row" id="motdrow"> <div class="row" id="motdrow">
<div class="span10 offset1 well"> <div class="span10 offset1 well">
<p id="motd"></p> <p id="motd"></p>