aboutsummaryrefslogtreecommitdiffstats
path: root/webface/templates/model_create.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-11 18:26:04 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-11 18:26:37 -0800
commitecc4f3ef8a23e3d4143954fdccc5a28a83f9039f (patch)
tree0d835d82c53e04064b694adbe26e34ef4af86315 /webface/templates/model_create.html
parent640a433fa8be6c0269db148e08ccf2bfe03957ca (diff)
downloadmodelthing-ecc4f3ef8a23e3d4143954fdccc5a28a83f9039f.tar.gz
modelthing-ecc4f3ef8a23e3d4143954fdccc5a28a83f9039f.zip
basic sandbox wiki editing and creation
Diffstat (limited to 'webface/templates/model_create.html')
-rw-r--r--webface/templates/model_create.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/webface/templates/model_create.html b/webface/templates/model_create.html
new file mode 100644
index 0000000..0c7faa7
--- /dev/null
+++ b/webface/templates/model_create.html
@@ -0,0 +1,23 @@
+{{# partial content}}
+<h1>Create New Model</h1>
+
+Model will be created with a dummy template modelica model and markdown wiki
+page, which you can then edit.
+
+<br>
+
+<form action="/create/" method="POST">
+
+<table>
+<tr><td><b>Namespace: </b>
+ <td><input type="text" name="namespace" value="sandbox" readonly>
+<tr><td><b>Name ("Slug"): </b>
+ <td><input type="text" name="model_slug" value=""> <i>(alphanumeric with underscores)</i>
+</table>
+<br>
+<input type="submit" value="Create!"></input>
+
+</form>
+
+{{/partial}}
+{{~> base.html~}}