summaryrefslogtreecommitdiff
path: root/forum
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2013-03-02 20:44:07 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2013-03-02 20:44:07 -0500
commita89dc76b6a861f2579ba57b6cbb0bdb341484c45 (patch)
tree4cfa32f60b7a16a8e1188b56c51183fa62d33117 /forum
parent8de6e1df62557daa55fd3eb2a073a7871ddf9768 (diff)
Move forum page generation to separate library
Diffstat (limited to 'forum')
-rw-r--r--forum/forum.ur28
-rw-r--r--forum/forum.urs19
-rw-r--r--forum/lib.urp2
3 files changed, 49 insertions, 0 deletions
diff --git a/forum/forum.ur b/forum/forum.ur
new file mode 100644
index 0000000..f680ec4
--- /dev/null
+++ b/forum/forum.ur
@@ -0,0 +1,28 @@
+(* Forum -- forum subapp
+Copyright (C) 2013 Benjamin Barenblat <bbaren@mit.edu>
+
+This file is a part of 6.947.
+
+6.947 is is free software: you can redistribute it and/or modify it under the
+terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+6.947 is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+details.
+
+You should have received a copy of the GNU Affero General Public License along
+with 6.947. If not, see <http://www.gnu.org/licenses/>. *)
+
+open Styles
+
+fun main () : xbody =
+ <xml>
+ <div class={content}>
+ <p>
+ Coming soon!
+ </p>
+ </div>
+ </xml>
diff --git a/forum/forum.urs b/forum/forum.urs
new file mode 100644
index 0000000..1dad9a7
--- /dev/null
+++ b/forum/forum.urs
@@ -0,0 +1,19 @@
+(* Forum -- forum subapp
+Copyright (C) 2013 Benjamin Barenblat <bbaren@mit.edu>
+
+This file is a part of 6.947.
+
+6.947 is is free software: you can redistribute it and/or modify it under the
+terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+6.947 is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+details.
+
+You should have received a copy of the GNU Affero General Public License along
+with 6.947. If not, see <http://www.gnu.org/licenses/>. *)
+
+val main : unit -> xbody
diff --git a/forum/lib.urp b/forum/lib.urp
new file mode 100644
index 0000000..9e01f09
--- /dev/null
+++ b/forum/lib.urp
@@ -0,0 +1,2 @@
+../styles
+forum