From 6beedc9c564989dbc84f794276e4421cd0ac31e3 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 21 Oct 2023 18:58:29 +0200 Subject: [PATCH] Add: tmp templates for furaffinity --- archivist/sites/templates/fa/import.html | 18 ++ .../sites/templates/fa/submission_detail.html | 160 ++++++++++++++++++ archivist/sites/templates/fa/tag_details.html | 35 ++++ archivist/sites/templates/fa/tags.html | 50 ++++++ archivist/sites/templates/fa/user_page.html | 129 ++++++++++++++ archivist/sites/templates/fa/users.html | 19 +++ 6 files changed, 411 insertions(+) create mode 100644 archivist/sites/templates/fa/import.html create mode 100644 archivist/sites/templates/fa/submission_detail.html create mode 100644 archivist/sites/templates/fa/tag_details.html create mode 100644 archivist/sites/templates/fa/tags.html create mode 100644 archivist/sites/templates/fa/user_page.html create mode 100644 archivist/sites/templates/fa/users.html diff --git a/archivist/sites/templates/fa/import.html b/archivist/sites/templates/fa/import.html new file mode 100644 index 0000000..b9ccb30 --- /dev/null +++ b/archivist/sites/templates/fa/import.html @@ -0,0 +1,18 @@ + + +{% extends "base.html" %} + +{% block title %}Import | Furaffinity Archive{% endblock %} + +{% block content %} + +
+

Your att the import screen.

+
+ {% csrf_token %} + {{ form.as_p }} + +
+
+ +{% endblock %} \ No newline at end of file diff --git a/archivist/sites/templates/fa/submission_detail.html b/archivist/sites/templates/fa/submission_detail.html new file mode 100644 index 0000000..e8f3fda --- /dev/null +++ b/archivist/sites/templates/fa/submission_detail.html @@ -0,0 +1,160 @@ + + +{% extends "base.html" %} + +{% block title %}{{submission.title}} by {{submission.artist.artist}} | Submission Detail | Gallery-Archivist{% endblock %} + +{% load custom_filters %} + +{% load static %} + +{% block content %} +
+
+

{{ submission.title }}

+
+ {% if file_url %} + {% if file_url|is_image %} + Image + {% elif submission.file.file.url|is_flash %} +
+ {% elif submission.file.file.url|is_pdf %} + + + + {% else %} +
+

No preview avilable of file.

+ Download File +
+ {% endif %} + {% else %} +

No file attached.

+ {% endif %} +
+
+ {{ submission.description|stylizeDescription|safe }} +
+
+ +
+
+ +
+ Tags: + {% if submission.tags.exists %} + {% for tag in submission.tags.all %} + + {{ tag.tag|capfirst }} + + {% endfor %} + {% else %} + This submission has no tags + {% endif %} +
+
+
+ Category: + {{ submission.fa_category }} +
+
+ Species: + {{ submission.species }} +
+
+ Gender: + {{ submission.gender }} +
+
+ Size: + {{ submission.image_width }} x {{ submission.image_height }} +
+
+
+ Mature Rating: + {{ submission.mature_rating.mature }} +
+
+ Orginal Date: + {{ submission.date |date:'Y-m-d H:i:s' }} +
+
+ Archive date: + {{ submission.date_added |date:'Y-m-d H:i:s' }} +
+ +
+ View on Furaffinity... +
+
+
+{% endblock %} + +{% block scripts %} + + +{% endblock %} diff --git a/archivist/sites/templates/fa/tag_details.html b/archivist/sites/templates/fa/tag_details.html new file mode 100644 index 0000000..519bbc6 --- /dev/null +++ b/archivist/sites/templates/fa/tag_details.html @@ -0,0 +1,35 @@ + + + + +{% extends "base.html" %} + +{% block title %}{{ tag.tag}} | Tag Details | Gallery-Archivist{% endblock %} + +{% load custom_filters %} + +{% load static %} + +{% block content %} + +
+ Back to Tags Page +

{{ tag.tag }}

+

Submissions

+ {% if submissions %} + + {% else %} +

No submissions yet.

+ {% endif %} + View on Furaffinity.. +
+ +{% endblock %} diff --git a/archivist/sites/templates/fa/tags.html b/archivist/sites/templates/fa/tags.html new file mode 100644 index 0000000..8446d2a --- /dev/null +++ b/archivist/sites/templates/fa/tags.html @@ -0,0 +1,50 @@ + + +{% extends "base.html" %} + +{% block title %} Tags {% endblock %} + +{% load custom_filters %} + +{% load static %} + +{% block content %} + +
+
+ Furaffinity's Tag list: +
+ {% if list_tags %} + {% for tag in list_tags %} + + {{ tag.tag|capfirst }} + + {% endfor %} + {% else %} + This submission has no tags + {% endif %} +
+ {% comment %} +
+ Tags: + {% for tag in list_tags %} + {{ tag.name }} + {% endfor %} +
+ {% else %} +

No tags available.

{% endcomment %} +
+

Links:

+ +
+
+
+ +{% endblock %} diff --git a/archivist/sites/templates/fa/user_page.html b/archivist/sites/templates/fa/user_page.html new file mode 100644 index 0000000..8ced99b --- /dev/null +++ b/archivist/sites/templates/fa/user_page.html @@ -0,0 +1,129 @@ + + +{% extends "base.html" %} + +{% block title %}{{ user.artist }}'s User Page{% endblock %} + +{% load custom_filters %} + +{% load static %} + +{% block content %} + +
+

Archive of {{ user.artist }}'s Submissions

+ +
+ +
+ + +
+ +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+ +{% comment %} {% endcomment %} +{% endblock %} + +{% comment %} {% block scripts %} +{{ block.super }} + + + +{% endblock %} {% endcomment %} diff --git a/archivist/sites/templates/fa/users.html b/archivist/sites/templates/fa/users.html new file mode 100644 index 0000000..ea55cd4 --- /dev/null +++ b/archivist/sites/templates/fa/users.html @@ -0,0 +1,19 @@ +
+

Archived Furaffinity user list:

+ {% if list_users %} + + {% else %} +

No users available.

+ {% endif %} +
+
+

Links:

+ +
\ No newline at end of file