Skip to content

Commit

Permalink
add seale class for style and change TBD to none
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshenghan committed Apr 17, 2014
1 parent 149e211 commit aefa214
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ body {
color: white;
}

.scale-lowlevel {
}

.scale-standard {
}

.scale-hardcore {
}

.wbname {
}

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h1 id="header-title">Guild Wars 2 Timer</h1>
}
wbt.sort(sortByTime);
for (i = 0; i<k; i++) {
var tmp = '<div class="row">'
var tmp = '<div class="row scale-'+wbt[i].scale+'">'
+'<div class="col-sm-4 wbname">'+wbt[i].name+'</div>'
+'<div class="col-sm-3 localtime">'+wbt[i].lctime+'</div>'
+'<div class="col-sm-3 psttime">'+wbt[i].uptime+'</div>'
Expand Down
2 changes: 1 addition & 1 deletion wbtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"name":"TBD",
"uptime":["16:30","21:30","03:00","08:00","13:00"],
"scale":"standard",
"scale":"none",
"waypoint":""
},
{
Expand Down

0 comments on commit aefa214

Please sign in to comment.