diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-07 14:04:18 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-07 14:04:18 -0400 |
| commit | ebac7f79d32c524de750adc3bcf1cc539625d552 (patch) | |
| tree | 0967200ce631c16a54121d36a3e472eb08ad049c /views/partials/comments.ejs | |
| parent | aa9718404cba9cf1c872b7cedded31d68d3beb54 (diff) | |
split up partials and stub in mailbox frontend
Diffstat (limited to 'views/partials/comments.ejs')
| -rw-r--r-- | views/partials/comments.ejs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/views/partials/comments.ejs b/views/partials/comments.ejs new file mode 100644 index 0000000..97d4cea --- /dev/null +++ b/views/partials/comments.ejs @@ -0,0 +1,23 @@ +<table id="comments" width="450"> + <script class="template" type="text/html"> + <tr> + <td class="user"> + <a href="/profile/{{username}}"><img src="//www.carbonpictures.com/bucky/data/profile/.thumb/al.{{username}}.jpg"></a><br> + <a href="/profile/{{username}}">{{username}}</a> + </td> + <td colspan="2" class="comment"> + <div> + {{comment}} + </div> + <span class="date"> + {{date}} {{time}} + </span> + <span class="edit-links"> + <a href="/comment/{{id}}/edit">edit</a> · + <a href="/comment/{{id}}/remove">remove</a> · + <a href="/comment/{{id}}/reply">reply</a> + </span> + </td> + </tr> + </script> +</table>
\ No newline at end of file |
