progress-text in progress-bar

This commit is contained in:
Tyler Renelle 2012-06-26 09:19:26 -04:00
parent 6168752673
commit 964ce8ed22
2 changed files with 13 additions and 13 deletions

View file

@ -92,7 +92,6 @@ h1 > span {
display: none;
}
.vote-up, .vote-down {
text-decoration:none;
}
@ -124,13 +123,16 @@ h1 > span {
#character td {
text-align: center;
}
#bars
width: 400px
#tnl-bar { border: 1px solid black; background-color:white; margin-top:10px;}
#tnl { float:right; margin:5px; }
#hp-bar { border: 1px solid black; background-color:white;}
#hp { float:right; margin:5px; }
.bar
border: 1px solid black
.progress-text
float: right
margin: 5px
color: black
#money { float:right; }

View file

@ -78,15 +78,13 @@
</td>
<td id="bars">
<div class="progress progress-danger">
<div class="bar" style="width: {percent(_user.hp,50)}%;">
<span id="hp">HP: {round(_user.hp)} / 50</span>
</div>
<span class="progress-text">HP: {round(_user.hp)} / 50</span>
<div class="bar" style="width: {percent(_user.hp,50)}%;"></div>
</div>
<div class="progress progress-warning">
<div class="bar" style="width: {percent(_user.exp,_tnl)}%;">
<span id="tnl">Exp: {round(_user.exp)} / {_tnl}</span>
</div>
<span class="progress-text">Exp: {round(_user.exp)} / {_tnl}</span>
<div class="bar" style="width: {percent(_user.exp,_tnl)}%;"></div>
</div>
</div>