Merge branch 'master' into kevin-prototype

This commit is contained in:
K. Nobel
2017-01-26 14:32:00 +01:00
31 changed files with 376 additions and 370 deletions

View File

@@ -62,10 +62,11 @@ function masonry(mode) {
if(mode == 1) {
$postInput = $("<div class=\"post platform\">");
$form = $postInput.append($("<form>"));
$form = $("<form action=\"API/postPost.php\" method=\"post\">");
$postInput.append($form);
$form.append($("<input class=\"newpost\" placeholder=\"Titel\" type=\"text\">"));
$form.append($("<textarea class=\"newpost\" placeholder=\"Schrijf een berichtje...\">"));
$form.append($("<input class=\"newpost\" name=\"newpost-title\" placeholder=\"Titel\" type=\"text\">"));
$form.append($("<textarea class=\"newpost\" name=\"newpost-content\" placeholder=\"Schrijf een berichtje...\">"));
$form.append($("<input value=\"Plaats!\" type=\"submit\">"));
columns[0][1].append($postInput);