times & game over page & other cool stuff
This commit is contained in:
13
app/views/gameover.ejs
Normal file
13
app/views/gameover.ejs
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="hero-unit" style="text-align: center;">
|
||||
<h1 class="alert alert-block"><%= result %></h1>
|
||||
<hr />
|
||||
<p>
|
||||
<h2 class="alert alert-info">You did it in <%= time %> seconds</h2>
|
||||
<h2 class="alert alert-error">You failed <%= wrong + (wrong == 1 ? ' word' : ' words') %></h2>
|
||||
<h2 class="alert alert-success">Ad did <%= correct + (correct == 1 ? ' word' : ' words') %> right!</h2>
|
||||
</p>
|
||||
<hr />
|
||||
<p>
|
||||
<a class="btn btn-primary btn-large start"> Play again! </a>
|
||||
</p>
|
||||
</div>
|
@@ -1,3 +1,6 @@
|
||||
<span class="label label-important pull-right num-of-words-wrong"></span>
|
||||
<span class="label label-success pull-right num-of-words"></span>
|
||||
<span class="label label pull-right time-words"></span>
|
||||
<div class="hero-unit" style="text-align: center;">
|
||||
<h1><%= word %></h1>
|
||||
<hr />
|
||||
|
Reference in New Issue
Block a user