6diagrams / 6diagrams.org (http://6diagrams.com/6diagrams.org/)
Re-innovates forum software. Existing forum software feels dated and lag behind the times, while social sites such as Reddit, Hacker News, Digg, and Delicious are pushing the boundaries. 6diagrams takes inspiration from those social sites and tries to bring some of the innovations back to forum community.
$ hg clone http://bitbucket.org/6diagrams/6diagramsorg/
| commit 47: | 1935fe51c5e7 |
| parent 46: | 2aba4d7beb1d |
| branch: | default |
| tags: | tip |
Changed (Δ36 bytes):
six_diagrams/templates/postings/detail.mako (1 lines added, 1 lines removed)
six_diagrams/templates/view_components/comment.mako (2 lines added, 2 lines removed)
six_diagrams/templates/view_components/forum.mako (1 lines added, 1 lines removed)
Up to file-list six_diagrams/templates/postings/detail.mako:
101 |
101 |
function build_comment_form(form_action, body) { |
102 |
102 |
if((body == null) || (body == undefined)) { body = '' } |
103 |
103 |
result = '<form style="margin-top: 14px" method="post" action="'+ form_action +'">'; |
104 |
result += '<textarea class=" |
|
104 |
result += '<textarea class="input_textarea" name="body" style="margin-top: 14px">'+ body +'</textarea>'; |
|
105 |
105 |
result += '<div class="button_right_align" style="margin-top: 14px">'; |
106 |
106 |
result += '<input type="submit" name="comment_save" value="Submit" />'; |
107 |
107 |
result += '</div></form>'; |
Up to file-list six_diagrams/templates/view_components/comment.mako:
5 |
5 |
<%def name="comment_form_box()"> |
6 |
6 |
<div class="top_comment_form center"> |
7 |
7 |
<form method="post" action="${c.url_handler.url_for_posting(c.posting, 'top_response')}" style="margin-top: 14px"> |
8 |
<textarea class=" |
|
8 |
<textarea class="input_textarea" name="body"></textarea> |
|
9 |
9 |
<div class="button_right_align" style="margin-top: 14px"> |
10 |
10 |
<input class="top_reply_submit" type="submit" name="comment_save" value="Submit" /> |
11 |
11 |
</div> |
16 |
16 |
<%def name="ajax_comment_form_box()"> |
17 |
17 |
<div class="box posting_form light_beige_bg"> |
18 |
18 |
<form name="new_comment" method="POST" action="${c.form_action}"> |
19 |
<textarea class=" |
|
19 |
<textarea class="input_textarea" name="body">${h.sanitize(c.comment.body)}</textarea> |
|
20 |
20 |
|
21 |
21 |
<div style="margin-top: 14px"> |
22 |
22 |
<div class="button_right_align"> |
Up to file-list six_diagrams/templates/view_components/forum.mako:
