This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
149 additions
and
2,748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="hero-unit"> | ||
<h1><%= title %></h1> | ||
<p><%= description %></p> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,30 @@ | ||
<div class="row-fluid quests"> | ||
|
||
<% if(!Quests.length) { %> | ||
<ul id="#quests-list"> | ||
<li class="span12"><h2>No Quests found!</h2></li> | ||
</ul> | ||
<% } %> | ||
<div class="well span12"> | ||
|
||
<ul id="#quests-list" class="list list-plain"> | ||
<% if(!Quests.length) { %> | ||
<li class="span12"><h2>You have not created any quests!</h2><p>Why don't you <a href="quests/new">begin your epic journey</a>?</p></li> | ||
<% } else { %> | ||
<% _.each(Quests, function (quest) { | ||
if(++ctr % 4 === 0) { | ||
newRow = " list-row-new"; | ||
} | ||
else { | ||
newRow = ""; | ||
} | ||
%> | ||
<li class="quest-item<%= newRow %>"> | ||
<a href="#quests/<%= quest._id %>" data-internal="true"><h2><%= quest.name %></h2></a> | ||
<p><%= quest.description %></p> | ||
<p><a class="btn" href="#quests/<%= quest._id %>" data-internal="true">View details »</a></p> | ||
|
||
</li> | ||
<% | ||
}); %> | ||
<% } %> | ||
</ul> | ||
|
||
</div> | ||
|
||
</div><!--/row--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<h2>Are you sure you want to delete <%= name %>?</h2> | ||
<p>This action cannot be undone!</p> | ||
<p><a class="btn btn-remove" href="#quests/<%= _id %>/remove" data-internal="true"><i class="icon-trash"></i> Delete</a> <a href="#quests/<%= _id %>" class="btn btn-cancel" data-internal="true">Cancel</a></p> | ||
<p><a class="btn btn-remove btn-danger" href="#quests/<%= _id %>/remove" data-internal="true"><i class="icon-trash"></i> Delete</a> <a href="#quests/<%= _id %>" class="btn btn-cancel" data-internal="true">Cancel</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
<div class="row-fluid"> | ||
<div class="span8"><h2><%= name %></h2></div> | ||
<div class="span4"> | ||
<div class="span4"> | ||
<div class="btn-group"> | ||
<a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#">Actions <span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li><a data-internal="true" href="#quests/<%= _id %>/edit">Edit</a></li> | ||
<li><a data-internal="true" href="#quests/<%= _id %>/remove">Remove</a></li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row-fluid"> | ||
<div class="span12"><p><%= description %></p></div> | ||
</div> | ||
|
||
<div class="row-fluid"> | ||
|
||
<div class="span3"><a class="btn" data-internal="true" href="<%= lastPage %>">« Back</a></div> | ||
<div class="well"> | ||
|
||
<div class="row-fluid"> | ||
<div class="span12"><h2><%= name %></h2></div> | ||
</div> | ||
|
||
<div class="row-fluid"> | ||
<div class="span12"><p><%= description %></p></div> | ||
</div> | ||
|
||
<div class="row-fluid"> | ||
|
||
<div class="span12"> | ||
|
||
<div class="btn-group actions-group pull-left"> | ||
<a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#">Actions <span | ||
class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li><a data-internal="true" href="#quests/<%= _id %>/edit">Edit</a></li> | ||
<li><a data-internal="true" href="#quests/<%= _id %>/remove">Delete</a></li> | ||
</ul> | ||
|
||
</div> | ||
<a class="btn pull-left" data-internal="true" href="<%= lastPage %>">« Back</a> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.