-
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
9 changed files
with
93 additions
and
76 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
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,18 @@ | ||
#todoapp ul { | ||
list-style-type: none; | ||
} | ||
|
||
#todoapp ul li { | ||
} | ||
|
||
#todo-list input.edit { | ||
display: none; | ||
} | ||
|
||
#todo-list .editing label { | ||
display: none; /* hide when editing */ | ||
} | ||
|
||
#todo-list .editing input.edit { | ||
display: inline; /* Shows input text box when .editing*/ | ||
} |
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,7 @@ | ||
<!-- template for each li in todolist --> | ||
<script type="text/template" class="js-item-template"> | ||
<div class="view"> | ||
<input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>> | ||
<label><%- title %></label> | ||
<input class="edit" value="<%- title %>"> | ||
<button class="destroy">remove</button> | ||
</div> | ||
</script> | ||
<div class="view"> | ||
<input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>> | ||
<label><%- title %></label> | ||
<input class="edit" value="<%- title %>"> | ||
<button class="destroy">remove</button> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
<!--<h3 class="section-heading">To Dos</h3>--> | ||
<div class="section get-help"> | ||
<div class="container"> | ||
|
||
<!--<div id="todo">--> | ||
<!--</div>--> | ||
<!--<script type="text/template" id="item-template">--> | ||
<!--<div>--> | ||
<!--<input id="todo_complete" type="checkbox" <%= completed ? 'checked="checked"' : '' %>>--> | ||
<!--<%= title %>--> | ||
<!--</div>--> | ||
<!--</script>--> | ||
<section id="todoapp" class="js-todoapp"> | ||
<header id="header"> | ||
<h1>Todos</h1> | ||
<input class="js-new-todo" placeholder="What needs to be done?"> | ||
<div> | ||
<a href="#/">show all</a> | | ||
<a href="#/pending">show pending</a> | | ||
<a href="#/completed">show completed</a> | ||
</div> | ||
</header> | ||
<section id="main"> | ||
<ul id="todo-list" class="js-todo-list"></ul> | ||
</section> | ||
</section> | ||
|
||
<section id="todoapp" class="js-todoapp"> | ||
<header id="header"> | ||
<h1>Todos</h1> | ||
<input class="js-new-todo" placeholder="What needs to be done?"> | ||
<div> | ||
<a href="#/">show all</a> | | ||
<a href="#/pending">show pending</a> | | ||
<a href="#/completed">show completed</a> | ||
</div> | ||
</header> | ||
<section id="main"> | ||
<ul id="todo-list" class="js-todo-list"></ul> | ||
</section> | ||
</section> | ||
</div> | ||
</div> | ||
|
||
<script type="text/template" class="js-item-template"> | ||
<div class="view"> | ||
<input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>> | ||
<label><%- title %></label> | ||
<input class="edit" value="<%- title %>"> | ||
<button class="destroy">remove</button> | ||
</div> | ||
</script> |
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 was deleted.
Oops, something went wrong.