Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add progress bar while app is loading.

  • Loading branch information...
commit 51a5de76bd40a31a6454c614652392b2a4f531bd 1 parent 277ef28
@jimmycuadra authored
View
3  source/index.html.haml
@@ -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
View
1  source/javascripts/application.js.coffee
@@ -14,6 +14,7 @@ class ph.Application
@setUpGrid(rowCount, columnCount)
@setUpSounds()
@setUpHUD()
+ $("#loading").remove()
setUpGrid: (rowCount, columnCount) ->
rows = @generateRows(rowCount, columnCount)
View
3  source/stylesheets/application.css.sass
@@ -3,6 +3,9 @@
.title
font-family: "Montserrat Subrayada", sans-serif
+.progress .full-width
+ width: 100%
+
.centered
text-align: center
Please sign in to comment.
Something went wrong with that request. Please try again.