From fc6f793d007b3b24fa97069fc0caf12bcf8eac60 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Fri, 4 Nov 2022 14:30:22 +0100 Subject: Add styling and content --- templates/base.html | 15 ++++++++++++++- templates/index.html | 2 +- templates/stories.html | 15 +++++++++++++-- 3 files changed, 28 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 4904cef..f0e855a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,7 +9,20 @@ - {% block content %} {% endblock content%} +
+

Writer V2

+ Vithuran Vishnuthas +
+ +
+ {% block content %} {% endblock content%} +
+ diff --git a/templates/index.html b/templates/index.html index f4f49ab..389a285 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,5 @@ {% extends "base.html" %} {% block title %}Home{% endblock title %} {% block content %} -

Home

+

Home

{% endblock content %} diff --git a/templates/stories.html b/templates/stories.html index 34384a3..4c1267b 100644 --- a/templates/stories.html +++ b/templates/stories.html @@ -2,7 +2,18 @@ {% block title %}Stories{% endblock title %} {% block content %} {% for work in works %} - {{work.title}} - {{work.description}} + + +
+

{{work.title}}

+

{{work.description}}

+
+
+ {{work.number_of_pages}} Pages + {{work.language}} + {{work.story_type}} +
+ +
{% endfor %} {% endblock content %} -- cgit v1.2.3