From: Art Cancro Date: Thu, 18 Nov 2021 01:30:10 +0000 (-0500) Subject: replybox adornments X-Git-Tag: v941~27 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=6423ac82a46355743760d561e57be80bfdde4acb;p=citadel.git replybox adornments --- diff --git a/webcit-ng/static/js/view_forum.js b/webcit-ng/static/js/view_forum.js index ab09f68d8..208ec9cad 100644 --- a/webcit-ng/static/js/view_forum.js +++ b/webcit-ng/static/js/view_forum.js @@ -189,13 +189,42 @@ function open_reply_box(prefix, msgnum, is_quoted) { new_div_name = prefix + "_reply_to_" + msgnum; document.getElementById(target_div_name).outerHTML += "
reply box put here
"; - replybox = "
" // begin message wrapper - + "This is going to be the reply box. We will put ... things here.
" - + "We are replying to message number " + msgnum + "
"; - if (is_quoted) { - replybox += "and it is a quoted reply.
"; + replybox = + "
" // begin message wrapper + + "
" // begin avatar + + "" + + "
" // end avatar + + "
" // begin content + + "
" // begin header + + "" // begin header info on left side + + "" // FIXME link to user profile + + "FIXME my name" + + "" // end username + + "" + + "FIXME now time" + + "" // end msgdate + + "" // end header info on left side + + "" // begin buttons on right side + + + "" // FIXME save and cancel buttons + + " " + + _("FIXME") + + "" + + + ""; // end buttons on right side + if (msg.subj) { + replybox += + "
" + "FIXME subject" + ""; } - replybox += "
"; // end wrapper + replybox += + "

" // end header + + "
" // begin body + + "This is where the reply text will go." + + "
" // end body + + "
" // end content + + "
" // end wrapper + ; document.getElementById(new_div_name).innerHTML = replybox; }