From 229ef83e35b05f9c6541c9afb6dbe80632850a32 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 2 Oct 2015 15:38:59 -0400 Subject: [PATCH] add initial newboard stuff --- contrib/static/newboard.js | 6 +++ contrib/templates/default/newboard.mustache | 47 +++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 contrib/static/newboard.js create mode 100644 contrib/templates/default/newboard.mustache diff --git a/contrib/static/newboard.js b/contrib/static/newboard.js new file mode 100644 index 0000000..8cf96f7 --- /dev/null +++ b/contrib/static/newboard.js @@ -0,0 +1,6 @@ +function createBoard() { + var form = document.getElementById("postform"); + var e = document.getElementById("boardname"); + form.action = form.action + e.value; + form.submit(); +} diff --git a/contrib/templates/default/newboard.mustache b/contrib/templates/default/newboard.mustache new file mode 100644 index 0000000..2983f08 --- /dev/null +++ b/contrib/templates/default/newboard.mustache @@ -0,0 +1,47 @@ + + + create new board + + + + +

make your first post

+
+
+
+
+ + + + + + + + + + + + + + + +
+ Board Name + + + +
+ Captcha + + captcha +
+ Solution + + +
+
+
+
+ + \ No newline at end of file