Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pushed the destroy logic down to the node view... likely need to do t…
…he same refactor for make_child
- Loading branch information
1 parent
a5d8183
commit 6532182
Showing
6 changed files
with
63 additions
and
24 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
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,5 +1,6 @@ | ||
<input type="text" name="text" class="text" value="<%= note.text %>" placeholder="note..." /> | ||
<textarea rows="6" style="width:95%" name="text" class="text" placeholder="note..."><%= note.text %></textarea> | ||
<br/> | ||
|
||
<input type="text" name="authorities" class="authorities" value="" /> | ||
<a href="#" class="delete btn btn-mini" style="position: absolute; top: 22px; left: -20px">x</a> | ||
<a href="#" class="collapsable btn btn-mini" style="position: absolute; top: 0px; left: -20px">c</a> |
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 +1,7 @@ | ||
<div style="position:relative;clear:left;" data-node-id="<%= _id %>"><em><%= name %></em><a style="float:right;z-index:30;margin: 0 10px;" class="make_child" href="#">mc</a><a style="float:right;z-index:30;margin: 0 10px;" href="#" class="destroy">x</a></div> | ||
<div style="position:relative;clear:left;" data-node-id="<%= _id %>"> | ||
<em><%= name %></em> | ||
<div class="buttons"> | ||
<a class="make_child" href="#" style="right: 30px;" ><i class="icon-arrow-right"></i></a> | ||
<a class="destroy" href="#" style="right: 10px" ><i class="icon-remove"> </i></a> | ||
</div> | ||
</div> |