Skip to content

Commit

Permalink
Add progress bar while app is loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycuadra committed Nov 4, 2012
1 parent 277ef28 commit 51a5de7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/index.html.haml
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,8 @@
%h1.title.centered Pushing Hands %h1.title.centered Pushing Hands


#loading.progress.progress-striped.active
.bar.full-width Loading…

.row-fluid.double-spaced .row-fluid.double-spaced
%table#grid.span7.double-spaced %table#grid.span7.double-spaced
#hud.span5 #hud.span5
Expand Down
1 change: 1 addition & 0 deletions source/javascripts/application.js.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class ph.Application
@setUpGrid(rowCount, columnCount) @setUpGrid(rowCount, columnCount)
@setUpSounds() @setUpSounds()
@setUpHUD() @setUpHUD()
$("#loading").remove()


setUpGrid: (rowCount, columnCount) -> setUpGrid: (rowCount, columnCount) ->
rows = @generateRows(rowCount, columnCount) rows = @generateRows(rowCount, columnCount)
Expand Down
3 changes: 3 additions & 0 deletions source/stylesheets/application.css.sass
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
.title .title
font-family: "Montserrat Subrayada", sans-serif font-family: "Montserrat Subrayada", sans-serif


.progress .full-width
width: 100%

.centered .centered
text-align: center text-align: center


Expand Down

0 comments on commit 51a5de7

Please sign in to comment.