diff --git a/resources/templates/adduser.tmpl b/resources/templates/adduser.tmpl new file mode 100644 index 0000000..a33f808 --- /dev/null +++ b/resources/templates/adduser.tmpl @@ -0,0 +1,18 @@ +<%inherit file="navbar.tmpl"/> +<%block name="core"> +
+
+
+ +
+
+
+ diff --git a/resources/templates/form.tmpl b/resources/templates/form.tmpl new file mode 100644 index 0000000..bc9157b --- /dev/null +++ b/resources/templates/form.tmpl @@ -0,0 +1,23 @@ +% for a in attributes: +<% attr = attributes[a] %> +
+
+ ${attr['display_name']} + % if attr['type'] == 'string': + + % elif attr['type'] == 'email': + + % elif attr['type'] == 'int': + + % elif attr['type'] == 'fix': + + % elif attr['type'] == 'stringlist': + + % elif attr['type'] == 'password': + + Retype ${attr['display_name']} + + % endif +
+
+% endfor