diff --git a/src/hh1.nim b/src/hh1.nim index 7384667..f782805 100644 --- a/src/hh1.nim +++ b/src/hh1.nim @@ -117,6 +117,9 @@ load() "/admin" -> get: compileTemplateFile("view" / "admin" / "index.html", baseDir = getScriptDir()) +"/admin/add-product" -> get: + compileTemplateFile("view" / "admin" / "addproduct.html", baseDir = getScriptDir()) + servePublic("src/public", "/static") run() diff --git a/src/view/admin/addproduct.html b/src/view/admin/addproduct.html new file mode 100644 index 0000000..e024559 --- /dev/null +++ b/src/view/admin/addproduct.html @@ -0,0 +1,43 @@ +{% extends "view/admin/partials/_master.html" %} + +{% block addProduct %} active {% endblock %} + +{% block content %} + +
+
+
+
+
+ +

DarkPan

+
+

Sign Up

+
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+ Forgot Password +
+ +

Already have an Account? Sign In

+
+
+
+
+ +{% endblock %} \ No newline at end of file diff --git a/src/view/admin/partials/_master.html b/src/view/admin/partials/_master.html index 44d05e3..a6eeccf 100644 --- a/src/view/admin/partials/_master.html +++ b/src/view/admin/partials/_master.html @@ -68,7 +68,7 @@ Other Elements - Widgets + Add Products Forms Tables Charts