<!-- Only commenter can edit comment -->
{% if session['userid'] == comment['userid'] %}
- <a href="/comment?commentid={{ comment['commentid'] }}&songid={{ song.songid }}" class="comment-button">
- Edit
+ <a href="/comment?commentid={{ comment['commentid'] }}&songid={{ song.songid }}" class="song-list-button" title="Edit">
+ <img class="lsp_btn_edit02" />
</a>
{% endif %}
<!-- Commenter and song owner can delete comment -->
{% if session['userid'] == comment['userid'] or session['userid'] == song.userid %}
- <a href="/delete-comment/{{ comment['commentid'] }}" onclick="return confirm("Are you sure you want to delete this comment?")" class="comment-button">
- Delete
+ <a href="/delete-comment/{{ comment['commentid'] }}" onclick="return confirm("Are you sure you want to delete this comment?")" class="song-list-button" title="Delete">
+ <img class="lsp_btn_delete02" />
</a>
{% endif %}
<!-- Only commenter can edit comment -->
{% if session['userid'] == reply['userid'] %}
- <a href="/comment?commentid={{ reply['commentid'] }}&songid={{ song.songid }}&replytoid={{ comment['commentid'] }}" class="comment-button">
- Edit
+ <a href="/comment?commentid={{ reply['commentid'] }}&songid={{ song.songid }}&replytoid={{ comment['commentid'] }}" class="song-list-button" title="Edit">
+ <img class="lsp_btn_edit02" />
</a>
{% endif %}
<!-- Commenter and song owner can delete comment -->
{% if session['userid'] == reply['userid'] or session['userid'] == song.userid %}
- <a href="/delete-comment/{{ reply['commentid'] }}" onclick="return confirm("Are you sure you want to delete this comment?")" class="comment-button">
- Delete
+ <a href="/delete-comment/{{ reply['commentid'] }}" onclick="return confirm("Are you sure you want to delete this comment?")" class="song-list-button" title="delete">
+ <img class="lsp_btn_delete02" />
</a>
{% endif %}
SOON
- Use profile colors for song edit, songs by tag (w/ username)
-- Use edit/delete icons in comments
- Break up main.py, test_offline.py
- Pinned profile playlists
- Image support in comments, descriptions, bios, etc.