Mercurial Hosting > chat
comparison src/lib/Shared.luan @ 24:af41be2dcdec
add edit_post
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 05 Nov 2024 19:45:08 -0700 |
parents | c54c806fcc6e |
children | e2b7f6393dab |
comparison
equal
deleted
inserted
replaced
23:c54c806fcc6e | 24:af41be2dcdec |
---|---|
104 <span when fix><%=post.date%></span> | 104 <span when fix><%=post.date%></span> |
105 <% if mine then %> | 105 <% if mine then %> |
106 <span pulldown> | 106 <span pulldown> |
107 <img onclick="clickMenu(this)" src="/images/more_vert.svg"> | 107 <img onclick="clickMenu(this)" src="/images/more_vert.svg"> |
108 <div> | 108 <div> |
109 <span>Edit</span> | 109 <span onclick="editPost('<%=id%>')">Edit</span> |
110 <span onclick="deletePost('<%=id%>')">Delete</span> | 110 <span onclick="deletePost('<%=id%>')">Delete</span> |
111 </div> | 111 </div> |
112 <span> | 112 <span> |
113 <% end %> | 113 <% end %> |
114 </div> | 114 </div> |