diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..85b4294
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,5 @@
+{
+ "files.associations": {
+ "*.html": "jinja-html"
+ }
+}
\ No newline at end of file
diff --git a/freedoi/accounts/templates/accounts/email_sent.html b/freedoi/accounts/templates/accounts/email_sent.html
index a77bff6..d36aef5 100644
--- a/freedoi/accounts/templates/accounts/email_sent.html
+++ b/freedoi/accounts/templates/accounts/email_sent.html
@@ -1,9 +1,8 @@
-{% extends "base_generic.html" %} {% block title %}Email Sent{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}Email Sent{% endblock %}
{% block content %}
-
-
Email Sent
-
- A login link has been sent to your email address. Please check your inbox.
-
-
+
+
Email Sent
+
A login link has been sent to your email address. Please check your inbox.
+
{% endblock %}
diff --git a/freedoi/accounts/templates/accounts/send_login_email.html b/freedoi/accounts/templates/accounts/send_login_email.html
index f749826..dda5d65 100644
--- a/freedoi/accounts/templates/accounts/send_login_email.html
+++ b/freedoi/accounts/templates/accounts/send_login_email.html
@@ -1,14 +1,20 @@
-{% extends "base_generic.html" %} {% block title %}Email Login{% endblock %}
-{% block content %}{% load crispy_forms_tags %}
-
-
Login
-
Please login to access FreeDOI. If you don't have an
- account yet, one will be created for you.
-
-
+{% extends "base_generic.html" %}
+{% block title %}Email Login{% endblock %}
+{% block content %}
+ {% load crispy_forms_tags %}
+
+
Login
+
+ Please login to access FreeDOI. If you don't have an
+ account yet, one will be created for you.
+
+
+
{% endblock %}
diff --git a/freedoi/resolver/templates/resolver/home.html b/freedoi/resolver/templates/resolver/home.html
index 89f01c4..e01ad4a 100644
--- a/freedoi/resolver/templates/resolver/home.html
+++ b/freedoi/resolver/templates/resolver/home.html
@@ -1,93 +1,106 @@
{% extends "base_generic.html" %}
-{% block title %}Welcome to FreeDOI{% endblock%} {% block content %}
-
-
Welcome to FreeDOI
-
- FreeDOI is a system for managing and resolving Digital Object Identifiers
- (DOIs) for various fields such as open source software, literature, personal
- use, and more. Our system is designed to be flexible, user-friendly, and
- free to use.
-
-
-
- Our goal is to provide a free, flexible system for assigning and resolving
- identifiers for digital content, similar to the official DOI system.
-
-
- Important: FreeDOI is not affiliated with the official DOI
- system. DOIs created with FreeDOI are not registered with the official DOI
- system and cannot be resolved using https://doi.org ‐ the other way
- around is possible, however.
-
-
-
-
-
What is FreeDOI?
-
- FreeDOI is an alternative DOI system that allows users to create and manage
- DOIs for various types of digital content. Our system uses a range of
- prefixes (20. to 29.) to categorize different fields, such as:
-
-
- - 20. Science / Research / Education
- - 21. Computers / IT
- - 22. Entertainment / Art / Music / Video
- - 23. Literature
- - 24. Charity / Non-Profit
- - 25. Business
- - 26. Government
- - 29. Personal / Other
-
-
- FreeDOI also supports resolving official DOI prefixes (10.) to access
- content from the official DOI system.
-
-
-
How Does It Work?
-
- FreeDOI provides a simple and intuitive interface for creating and managing
- DOIs. Here's how you can get started:
-
-
- -
- Register: Create an account to start managing DOIs.
-
- -
- Create Suffixes: Define suffixes for your organization or
- project.
-
- -
- Assign DOIs: Create and manage DOIs for your digital
- content.
-
- -
- Resolve DOIs: Use our resolver to access the content
- associated with any DOI.
-
-
-
-
Get Started
- {% if user.is_authenticated %}
-
- Welcome back, {{ user.email }}! Use the navigation links above to
- manage your suffixes, and identifiers.
-
-
Manage Suffixes
- {% else %}
-
- Ready to get started? Create an account or log in to begin managing your
- DOIs.
-
-
Login or Sign Up
- {% endif %}
-
-
-
-
Contact Us
-
- If you have any questions or need assistance, feel free to reach out to our
- support team at
- support@freedoi.org.
-
-
-{% endblock %}
+{% block title %}Welcome to FreeDOI{% endblock title %}
+ {% block content %}
+
+
Welcome to FreeDOI
+
+ FreeDOI is a system for managing and resolving Digital Object Identifiers
+ (DOIs) for various fields such as open source software, literature, personal
+ use, and more. Our system is designed to be flexible, user-friendly, and
+ free to use.
+
+
+
+ Our goal is to provide a free, flexible system for assigning and resolving
+ identifiers for digital content, similar to the official DOI system.
+
+
+ Important: FreeDOI is not affiliated with the official DOI
+ system. DOIs created with FreeDOI are not registered with the official DOI
+ system and cannot be resolved using https://doi.org ‐ the other way
+ around is possible, however.
+
+
+
+
What is FreeDOI?
+
+ FreeDOI is an alternative DOI system that allows users to create and manage
+ DOIs for various types of digital content. Our system uses a range of
+ prefixes (20. to 29.) to categorize different fields, such as:
+
+
+ -
+ 20. Science / Research / Education
+
+ -
+ 21. Computers / IT
+
+ -
+ 22. Entertainment / Art / Music / Video
+
+ -
+ 23. Literature
+
+ -
+ 24. Charity / Non-Profit
+
+ -
+ 25. Business
+
+ -
+ 26. Government
+
+ -
+ 29. Personal / Other
+
+
+
+ FreeDOI also supports resolving official DOI prefixes (10.) to access
+ content from the official DOI system.
+
+
How Does It Work?
+
+ FreeDOI provides a simple and intuitive interface for creating and managing
+ DOIs. Here's how you can get started:
+
+
+ -
+ Register: Create an account to start managing DOIs.
+
+ -
+ Request Suffixes: Get suffixes for your organization or
+ project.
+
+ -
+ Assign DOIs: Create and manage DOIs for your digital
+ content.
+
+ -
+ Resolve DOIs: Use our resolver to access the content
+ associated with any DOI.
+
+
+
Get Started
+ {% if user.is_authenticated %}
+
+ Welcome back, {{ user.email }}! Use the navigation links above to
+ manage your suffixes, and identifiers.
+
+
Manage Suffixes
+ {% else %}
+
+ Ready to get started? Create an account or log in to begin managing your
+ DOIs.
+
+
Login or Sign Up
+ {% endif %}
+
+
+
Contact Us
+
+ If you have any questions or need assistance, feel free to reach out to our
+ support team at
+ support@freedoi.org.
+
+
+ {% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/identifier_confirm_delete.html b/freedoi/resolver/templates/resolver/identifier_confirm_delete.html
index 2407cd4..fd1ea12 100644
--- a/freedoi/resolver/templates/resolver/identifier_confirm_delete.html
+++ b/freedoi/resolver/templates/resolver/identifier_confirm_delete.html
@@ -1,16 +1,14 @@
-{% extends "base_generic.html" %} {% block title %}Delete Identifier
-{% endblock %} {% block content %}
-
-
Delete Identifier
-
Are you sure you want to delete "{{ object.identifier }}"?
-
-
Back to identifiers
-
-{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}Delete Identifier{% endblock title %}
+{% block content %}
+
+
Delete Identifier
+
Are you sure you want to delete "{{ object.identifier }}"?
+
+
Back to identifiers
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/identifier_detail.html b/freedoi/resolver/templates/resolver/identifier_detail.html
index 9028ca8..fac8c36 100644
--- a/freedoi/resolver/templates/resolver/identifier_detail.html
+++ b/freedoi/resolver/templates/resolver/identifier_detail.html
@@ -1,26 +1,27 @@
-{% extends "base_generic.html" %} {% block title %}Identifier Detail
-{% endblock %} {% block content %}
-
-
{{ object.identifier }}
-
Suffix: {{ object.suffix }}
-
Target URL: {{ object.target_url }}
-
Edit
-
-
Back to identifiers
-
-{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Identifier Detail
+{% endblock title %}
+{% block content %}
+
+
{{ object.suffix.prefix.prefix }}.{{ object.suffix.suffix }}/{{ object.identifier }}
+
+ Prefix: {{ object.suffix.prefix.prefix }} ({{ object.suffix.prefix.name }})
+
+ Suffix: {{ object.suffix.suffix }} ({{ object.suffix.name }})
+
+
+ Target URL: {{ object.target_url }}
+
+
Edit
+
+
Back to identifiers
+
+ {% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/identifier_form.html b/freedoi/resolver/templates/resolver/identifier_form.html
index 562b314..b3a5ce7 100644
--- a/freedoi/resolver/templates/resolver/identifier_form.html
+++ b/freedoi/resolver/templates/resolver/identifier_form.html
@@ -1,21 +1,30 @@
-{% extends "base_generic.html" %} {% block title %}
- {% if form.instance.pk %}Edit{% else %}Create{% endif %} Identifier
-{% endblock %} {% load crispy_forms_tags %} {% block content %}
-
-
{% if form.instance.pk %}Edit{% else %}Create{% endif %} Identifier
-
-
Back to identifiers
-
-{% endblock %}
+{% extends "base_generic.html" %}
+{% load crispy_forms_tags %}
+{% block title %}
+ {% if form.instance.pk %}
+ Edit
+ {% else %}
+ Create
+ {% endif %}
+ Identifier
+{% endblock title %}
+{% block content %}
+
+
+ {% if form.instance.pk %}
+ Edit
+ {% else %}
+ Create
+ {% endif %}
+ Identifier
+
+
+
Back to identifiers
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/identifier_list.html b/freedoi/resolver/templates/resolver/identifier_list.html
index 97e4b9e..cca777e 100644
--- a/freedoi/resolver/templates/resolver/identifier_list.html
+++ b/freedoi/resolver/templates/resolver/identifier_list.html
@@ -1,24 +1,22 @@
-{% extends "base_generic.html" %} {% block title %}Identifiers{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Identifiers
+{% endblock title %}
{% block content %}
-
-{% endblock %}
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/pending_suffixes_list.html b/freedoi/resolver/templates/resolver/pending_suffixes_list.html
index 745f421..3fea395 100644
--- a/freedoi/resolver/templates/resolver/pending_suffixes_list.html
+++ b/freedoi/resolver/templates/resolver/pending_suffixes_list.html
@@ -3,6 +3,9 @@
Pending Suffixes
+ {% if pending_suffixes|length == 0 %}
+ - No pending suffixes
+ {% endif %}
{% for suffix in pending_suffixes %}
-
{{ suffix.prefix.prefix }}.{{ suffix.suffix }} ‐ {{ suffix.name }}
diff --git a/freedoi/resolver/templates/resolver/prefix_confirm_delete.html b/freedoi/resolver/templates/resolver/prefix_confirm_delete.html
index f58ffc1..da988c0 100644
--- a/freedoi/resolver/templates/resolver/prefix_confirm_delete.html
+++ b/freedoi/resolver/templates/resolver/prefix_confirm_delete.html
@@ -1,10 +1,11 @@
-{% extends "base_generic.html" %} {% block title %}Delete Prefix{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}Delete Prefix{% endblock title %}
{% block content %}
-
Delete Prefix
-Are you sure you want to delete "{{ object.name }}"?
-
-Back to list
-{% endblock %}
+ Delete Prefix
+ Are you sure you want to delete "{{ object.name }}"?
+
+ Back to list
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/prefix_detail.html b/freedoi/resolver/templates/resolver/prefix_detail.html
index 62d22ca..bd4ac99 100644
--- a/freedoi/resolver/templates/resolver/prefix_detail.html
+++ b/freedoi/resolver/templates/resolver/prefix_detail.html
@@ -1,17 +1,26 @@
-{% extends "base_generic.html" %} {% block title %}Prefix Detail{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Prefix Detail
+{% endblock title %}
{% block content %}
-{{ object.name }}
-Prefix: {{ object.prefix }}
-Type: {{ object.get_type_display }}
-Remote Resolver: {{ object.remote_resolver }}
-Edit
-
-Back to list
-{% endblock %}
+ {{ object.name }}
+
+ Prefix: {{ object.prefix }} ({{ object.prefix.name }})
+
+
+ Type: {{ object.get_type_display }}
+
+ {% if object.type == "remote" %}
+
+ Remote Resolver: {{ object.remote_resolver }}
+
+ {% endif %}
+ Edit
+
+ Back to list
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/prefix_form.html b/freedoi/resolver/templates/resolver/prefix_form.html
index 6720d0c..3059366 100644
--- a/freedoi/resolver/templates/resolver/prefix_form.html
+++ b/freedoi/resolver/templates/resolver/prefix_form.html
@@ -1,15 +1,26 @@
-{% extends "base_generic.html" %} {% block title %}
-{% if form.instance.pk %}Edit{% else %}Create{% endif %} Prefix{% endblock %}
-{% load crispy_forms_tags %} {% block content %}
-{% if form.instance.pk %}Edit{% else %}Create{% endif %} Prefix
-
-Back to list
-{% endblock %}
+ Prefix
+{% endblock title %}
+{% load crispy_forms_tags %}
+{% block content %}
+
+ {% if form.instance.pk %}
+ Edit
+ {% else %}
+ Create
+ {% endif %}
+ Prefix
+
+
+ Back to list
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/prefix_list.html b/freedoi/resolver/templates/resolver/prefix_list.html
index 50048e5..3d97658 100644
--- a/freedoi/resolver/templates/resolver/prefix_list.html
+++ b/freedoi/resolver/templates/resolver/prefix_list.html
@@ -1,16 +1,25 @@
-{% extends "base_generic.html" %} {% block title %}Prefixes{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Prefixes
+{% endblock title %}
{% block content %}
-Prefixes
-
+ Prefixes
+
{% if user.is_superuser %}
-Create new prefix
+ Create new prefix
{% endif %}
-{% endblock %}
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/suffix_approval_form.html b/freedoi/resolver/templates/resolver/suffix_approval_form.html
index cba7ce5..c8fc6c3 100644
--- a/freedoi/resolver/templates/resolver/suffix_approval_form.html
+++ b/freedoi/resolver/templates/resolver/suffix_approval_form.html
@@ -1,13 +1,15 @@
-{% extends "base_generic.html" %} {% block title %}Approve Suffix{% endblock %}
-{% load crispy_forms_tags %}{% block content %}
-
-{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Approve Suffix
+{% endblock title %}
+{% load crispy_forms_tags %}
+{% block content %}
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/suffix_confirm_delete.html b/freedoi/resolver/templates/resolver/suffix_confirm_delete.html
index 5ecc504..ec52979 100644
--- a/freedoi/resolver/templates/resolver/suffix_confirm_delete.html
+++ b/freedoi/resolver/templates/resolver/suffix_confirm_delete.html
@@ -1,12 +1,15 @@
-{% extends "base_generic.html" %} {% block title %}Delete Suffix{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Delete Suffix
+{% endblock title %}
{% block content %}
-
-
Delete Suffix
-
Are you sure you want to delete "{{ object.name }}"?
-
-
Back to list
-
-{% endblock %}
+
+
Delete Suffix
+
Are you sure you want to delete "{{ object.name }}"?
+
+
Back to list
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/suffix_detail.html b/freedoi/resolver/templates/resolver/suffix_detail.html
index 8f31d7d..a40e704 100644
--- a/freedoi/resolver/templates/resolver/suffix_detail.html
+++ b/freedoi/resolver/templates/resolver/suffix_detail.html
@@ -1,30 +1,41 @@
-{% extends "base_generic.html" %} {% block title %}Suffix Detail{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Suffix Detail
+{% endblock title %}
{% block content %}
-
-
{{ object.name }}
-
Suffix: {{ object.suffix }}
-
Prefix: {{ object.prefix }}
-
Type: {{ object.get_type_display }}
- {% if object.type == "remote" %}
-
Remote Resolver: {{ object.remote_resolver }}
- {% endif %}
-
Approval: {% if object.approved %}Approved{% else %}Pending{% endif %}
-
Edit
-
-
View Identifiers
-
Back to list
-
-{% endblock %}
+
+
{{ object.name }}
+
+ Suffix: {{ object.suffix }}
+
+
+ Prefix: {{ object.prefix }}
+
+
+ Type: {{ object.get_type_display }}
+
+ {% if object.type == "remote" %}
+
+ Remote Resolver: {{ object.remote_resolver }}
+
+ {% endif %}
+
+ Approval:
+ {% if object.approved %}
+ Approved
+ {% else %}
+ Pending
+ {% endif %}
+
+
Edit
+
+
View Identifiers
+
Back to list
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/suffix_form.html b/freedoi/resolver/templates/resolver/suffix_form.html
index 43e1d3a..8394c20 100644
--- a/freedoi/resolver/templates/resolver/suffix_form.html
+++ b/freedoi/resolver/templates/resolver/suffix_form.html
@@ -1,21 +1,39 @@
-{% extends "base_generic.html" %} {% block title %}
-{% if form.instance.pk %}Edit{% else %}Request{% endif %} Suffix{% endblock %}
-{% load crispy_forms_tags %}{% block content %}
-
-
{% if form.instance.pk %}Edit{% else %}Create{% endif %} Suffix
-
-
Back to list
-
-{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ {% if form.instance.pk %}
+ Edit
+ {% else %}
+ Request
+ {% endif %}
+ Suffix
+{% endblock title %}
+{% load crispy_forms_tags %}
+{% block content %}
+
+
+ {% if form.instance.pk %}
+ Edit
+ {% else %}
+ Create
+ {% endif %}
+ Suffix
+
+
+
Back to list
+
+{% endblock content %}
diff --git a/freedoi/resolver/templates/resolver/suffix_list.html b/freedoi/resolver/templates/resolver/suffix_list.html
index aa6699e..089e811 100644
--- a/freedoi/resolver/templates/resolver/suffix_list.html
+++ b/freedoi/resolver/templates/resolver/suffix_list.html
@@ -1,16 +1,23 @@
-{% extends "base_generic.html" %} {% block title %}Suffixes{% endblock %}
+{% extends "base_generic.html" %}
+{% block title %}
+ Suffixes
+{% endblock title %}
{% block content %}
-
-{% endblock %}
+
+{% endblock content %}