Permalink
Browse files

Add progress bar while app is loading.

  • Loading branch information...
1 parent 277ef28 commit 51a5de76bd40a31a6454c614652392b2a4f531bd @jimmycuadra committed Nov 4, 2012
Showing with 7 additions and 0 deletions.
  1. +3 −0 source/index.html.haml
  2. +1 −0 source/javascripts/application.js.coffee
  3. +3 −0 source/stylesheets/application.css.sass
View
@@ -1,5 +1,8 @@
%h1.title.centered Pushing Hands
+#loading.progress.progress-striped.active
+ .bar.full-width Loading…
+
.row-fluid.double-spaced
%table#grid.span7.double-spaced
#hud.span5
@@ -14,6 +14,7 @@ class ph.Application
@setUpGrid(rowCount, columnCount)
@setUpSounds()
@setUpHUD()
+ $("#loading").remove()
setUpGrid: (rowCount, columnCount) ->
rows = @generateRows(rowCount, columnCount)
@@ -3,6 +3,9 @@
.title
font-family: "Montserrat Subrayada", sans-serif
+.progress .full-width
+ width: 100%
+
.centered
text-align: center

0 comments on commit 51a5de7

Please sign in to comment.