From 7a33856a527aebbd8d2a624c6d5937c25c9a1d90 Mon Sep 17 00:00:00 2001 From: Emma Terzioglu Date: Fri, 13 Mar 2026 13:49:15 -0700 Subject: initial commit new website repo yay!!! --- src/templates/admin/blog.html | 37 +++++++++++++++++++++++++++++++ src/templates/admin/blog_create.html | 32 +++++++++++++++++++++++++++ src/templates/admin/blog_edit.html | 42 ++++++++++++++++++++++++++++++++++++ src/templates/admin/index.html | 11 ++++++++++ src/templates/admin/login.html | 36 +++++++++++++++++++++++++++++++ 5 files changed, 158 insertions(+) create mode 100644 src/templates/admin/blog.html create mode 100644 src/templates/admin/blog_create.html create mode 100644 src/templates/admin/blog_edit.html create mode 100644 src/templates/admin/index.html create mode 100644 src/templates/admin/login.html (limited to 'src/templates/admin') diff --git a/src/templates/admin/blog.html b/src/templates/admin/blog.html new file mode 100644 index 0000000..8cb1433 --- /dev/null +++ b/src/templates/admin/blog.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} + +{% block head %} +{{ super() }} + + +{% endblock %} + +{% block content %} + +create new post + +{% for post in posts|sort(attribute="id", reverse=True) %} + + +

id: {{ post.id }}

+

{{ post.title }}

+

{{ post.description or "" }}

+
+ +{% endfor %} + +{% endblock %} diff --git a/src/templates/admin/blog_create.html b/src/templates/admin/blog_create.html new file mode 100644 index 0000000..ac4740b --- /dev/null +++ b/src/templates/admin/blog_create.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block head %} +{{ super() }} + + +{% endblock %} + +{% block content %} + +

create a post!

+ +
+
+ + + + + +
+ + + +
+ + +
+ + +
+ +{% endblock %} diff --git a/src/templates/admin/blog_edit.html b/src/templates/admin/blog_edit.html new file mode 100644 index 0000000..99c3d9c --- /dev/null +++ b/src/templates/admin/blog_edit.html @@ -0,0 +1,42 @@ +{% extends "base.html" %} + +{% block head %} +{{ super() }} + + +{% endblock %} + +{% block content %} + +

edit a post!

+ + + +
+
+ + + + + +
+ + + +
+ + +
+ + +
+ + + +{% endblock %} diff --git a/src/templates/admin/index.html b/src/templates/admin/index.html new file mode 100644 index 0000000..11e414d --- /dev/null +++ b/src/templates/admin/index.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block content %} + +

welcome to admin mode, me!

+ +

safety button to sign out:

+ +here + +{% endblock %} diff --git a/src/templates/admin/login.html b/src/templates/admin/login.html new file mode 100644 index 0000000..e37e046 --- /dev/null +++ b/src/templates/admin/login.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} + +{% block head %} + +{{ super() }} + + + + + + +{% endblock %} + +{% block content %} +
+ + + + + +
+
+{% endblock %} -- cgit v1.2.3