Created
February 7, 2011 15:52
-
-
Save hunterloftis/814571 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
script#pageTemplate(type='text/html') | |
tr.page | |
td.name | |
.tool | |
| <a data-bind='text: name, attr: {href: url}, click: clickAction'></a> | |
.thumb | |
| <img data-bind="attr: {src: thumb}" /> | |
td.edit | |
.tool | |
a.write(data-bind='click: editMe', href='#') | |
img(src="/images/pencil.png") | |
td.comments(data-bind='className: commentClass') | |
.tool | |
| <img src='/images/bubble.png' alt='Comments' /> <span data-bind='text: comment_count'></span> | |
td.delete(data-bind='visible: canDelete') | |
.tool | |
a(data-bind='click: deleteMe', href='#') | |
img(src="/images/trash_red.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment