diff --git a/template/admin_dashboard.html b/template/admin_dashboard.html new file mode 100644 index 0000000..9a8c76a --- /dev/null +++ b/template/admin_dashboard.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} + +{% block title %}Admin Dashboard{% endblock %} + +{% block content %} +

Admin Dashboard

+ +
+
+ Admin Toolbox +
+
+
Database Management
+
+ +
+ bekáp the db + +
File Management
+
+ +
+
+
+ +

All Posts

+{% for post in posts %} +
+
+
{{ post.author.username if post.author else 'Anonymous' }}
+

{{ post.content }}

+

{{ post.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}

+
+ +
+
+
+{% endfor %} +{% endblock %} \ No newline at end of file diff --git a/template/admin_login.html b/template/admin_login.html new file mode 100644 index 0000000..5a695cd --- /dev/null +++ b/template/admin_login.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}Admin Login{% endblock %} + +{% block content %} +

Admin Login

+
+
+ + +
+ +
+{% endblock %} \ No newline at end of file diff --git a/template/base.html b/template/base.html new file mode 100644 index 0000000..41928e4 --- /dev/null +++ b/template/base.html @@ -0,0 +1,155 @@ + + + + + + TechTalks - {% block title %}{% endblock %} + {% block head %} + {% if metadata %} + {% for key, value in metadata.items() %} + + {% endfor %} + {% endif %} + {% endblock %} + + + + {% block styles %}{% endblock %} + + +
+ {% block content %}{% endblock %} +
+ + + + + + + + + {% block scripts %}{% endblock %} + + \ No newline at end of file diff --git a/template/comment.html b/template/comment.html new file mode 100644 index 0000000..1e6d7d6 --- /dev/null +++ b/template/comment.html @@ -0,0 +1,13 @@ +
  • + + {% if comment.author %} + {{ comment.author.username }} + {% else %} + Anonymous + {% endif %} + : + {{ comment.content }} + +
  • \ No newline at end of file diff --git a/template/create_group.html b/template/create_group.html new file mode 100644 index 0000000..f02d9e2 --- /dev/null +++ b/template/create_group.html @@ -0,0 +1,94 @@ +{% extends "base.html" %} + +{% block title %}Create Group{% endblock %} + +{% block content %} +
    +

    Create a New Group

    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    + +
    + + +
    + + + +
    +
    +{% endblock %} + +{% block styles %} +{{ super() }} + +{% endblock %} + +{% block scripts %} +{{ super() }} + + +{% endblock %} \ No newline at end of file