diff --git a/core/templates/base.html b/core/templates/base.html new file mode 100644 index 0000000..4a215c8 --- /dev/null +++ b/core/templates/base.html @@ -0,0 +1,377 @@ +{% load static %} +{% load cache %} + + + + + + + GIA - {{ request.path_info }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% block outer_content %} + {% endblock %} +
+
+ {% block content_wrapper %} + {% block content %} + {% endblock %} + {% endblock %} +
+
+
+
+ +
+
+ + diff --git a/core/templates/cancel.html b/core/templates/cancel.html new file mode 100644 index 0000000..426cde8 --- /dev/null +++ b/core/templates/cancel.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +
+

Forgot to add something to your cart? Shop around then come back to pay!

+
+ +{% endblock %} diff --git a/core/templates/denied.html b/core/templates/denied.html new file mode 100644 index 0000000..971d96d --- /dev/null +++ b/core/templates/denied.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} +

Access denied

+

Sorry, you do not have the necessary permissions to view this page.

+ +{% endblock %} diff --git a/core/templates/index.html b/core/templates/index.html new file mode 100644 index 0000000..3ea846e --- /dev/null +++ b/core/templates/index.html @@ -0,0 +1,94 @@ +{% extends "base.html" %} +{% load static %} +{% load joinsep %} +{% block outer_content %} + +
+
+ + +
+ {% block load_widgets %} + + {% endblock %} +
+ +{% endblock %} diff --git a/core/templates/pages/signal.html b/core/templates/pages/signal.html new file mode 100644 index 0000000..a346939 --- /dev/null +++ b/core/templates/pages/signal.html @@ -0,0 +1,11 @@ +{% extends "index.html" %} + +{% block load_widgets %} +
+{% endblock %} \ No newline at end of file diff --git a/core/templates/partials/ai-list.html b/core/templates/partials/ai-list.html new file mode 100644 index 0000000..0b715ac --- /dev/null +++ b/core/templates/partials/ai-list.html @@ -0,0 +1,59 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.AI' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_ai request.user.id object_list type last %} + + + + + + + + {% for item in object_list %} + + + + + + + {% endfor %} + +
idbase_urlmodelactions
{{ item.id }}{{ item.base_url }}{{ item.model }} +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/group-list.html b/core/templates/partials/group-list.html new file mode 100644 index 0000000..68575d0 --- /dev/null +++ b/core/templates/partials/group-list.html @@ -0,0 +1,69 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.Group' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_groups request.user.id object_list type last %} + + + + + + + + + {% for item in object_list %} + + + + + + + + {% endfor %} + +
idusernamepeopleactions
+ + + + + + {{ item.user }}{{ item.name }}{{ item.people.count }} +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/identifier-list.html b/core/templates/partials/identifier-list.html new file mode 100644 index 0000000..3dc1d1b --- /dev/null +++ b/core/templates/partials/identifier-list.html @@ -0,0 +1,59 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.PersonIdentifier' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_person_identifier request.user.id object_list type last %} + + + + + + + + {% for item in object_list %} + + + + + + + {% endfor %} + +
ididentifierserviceactions
{{ item.id }}{{ item.identifier }}{{ item.service }} +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/manipulation-list.html b/core/templates/partials/manipulation-list.html new file mode 100644 index 0000000..3f4803b --- /dev/null +++ b/core/templates/partials/manipulation-list.html @@ -0,0 +1,95 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.Manipulation' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_manipulation request.user.id object_list type last %} + + + + + + + + + + + + {% for item in object_list %} + + + + + + + + + + + {% endfor %} + +
idnamegroupaipersonaenabledsendactions
+ + + + + + {{ item.name }}{{ item.group }}{{ item.ai }}{{ item.persona }} + {% if item.enabled %} + + + + {% else %} + + + + {% endif %} + + {% if item.send_enabled %} + + + + {% else %} + + + + {% endif %} + +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/message-list.html b/core/templates/partials/message-list.html new file mode 100644 index 0000000..357e59c --- /dev/null +++ b/core/templates/partials/message-list.html @@ -0,0 +1,81 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.Message' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_message request.user.id object_list type last %} + + + + + + + + + + + {% for item in object_list %} + + + + + + + + + + {% endfor %} + +
idsessiontssendertextauthoractions
+ + + + + + {{ item.session }}{{ item.ts }} + + + + + + {{ item.text }}{{ item.custom_author }} +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/notify.html b/core/templates/partials/notify.html new file mode 100644 index 0000000..fb0587a --- /dev/null +++ b/core/templates/partials/notify.html @@ -0,0 +1,5 @@ +{% if message is not None %} +
+ {{ message }} +
+{% endif %} diff --git a/core/templates/partials/person-list.html b/core/templates/partials/person-list.html new file mode 100644 index 0000000..28e9156 --- /dev/null +++ b/core/templates/partials/person-list.html @@ -0,0 +1,80 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.Person' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_person request.user.id object_list type last %} + + + + + + + + + + {% for item in object_list %} + + + + + + + + + {% endfor %} + +
idnamesentimenttimezonelast interactionactions
+ + + + + + {{ item.name }}{{ item.sentiment }}{{ item.timezone }}{{ item.last_interaction }} +
+ + + + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/persona-list.html b/core/templates/partials/persona-list.html new file mode 100644 index 0000000..dd0e3b9 --- /dev/null +++ b/core/templates/partials/persona-list.html @@ -0,0 +1,77 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.Persona' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_persona request.user.id object_list type last %} + + + + + + + + + + + + + {% for item in object_list %} + + + + + + + + + + + + {% endfor %} + +
idaliasmbtimbti identityhumor styletonetrustadaptabilityactions
+ + + + + + {{ item.alias }}{{ item.mbti }}{{ item.mbti_identity }}{{ item.humor_style }}{{ item.tone }}{{ item.trust }}{{ item.adaptability }} +
+ + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/session-list.html b/core/templates/partials/session-list.html new file mode 100644 index 0000000..ca4edcc --- /dev/null +++ b/core/templates/partials/session-list.html @@ -0,0 +1,76 @@ +{% load cache %} +{% load cachalot cache %} +{% get_last_invalidation 'core.ChatSession' as last %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_session request.user.id object_list type last %} + + + + + + + + {% for item in object_list %} + + + + + + + {% endfor %} + +
ididentifierlast interactionactions
+ + + + + + {{ item.identifier }}{{ item.last_interaction }} +
+ + + + +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/signal-account-add.html b/core/templates/partials/signal-account-add.html new file mode 100644 index 0000000..59a00c6 --- /dev/null +++ b/core/templates/partials/signal-account-add.html @@ -0,0 +1,2 @@ + +Signal QR code \ No newline at end of file diff --git a/core/templates/partials/signal-accounts.html b/core/templates/partials/signal-accounts.html new file mode 100644 index 0000000..eb4a2b6 --- /dev/null +++ b/core/templates/partials/signal-accounts.html @@ -0,0 +1,122 @@ +{% load cache %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_signal_accounts request.user.id object_list type %} + + + + + + {% for item in object_list %} + + + + + {% endfor %} + +
numberactions
{{ item }} +
+ + {% if type == 'page' %} + + + + + {% else %} + + + {% endif %} +
+
+
+ {% csrf_token %} +
+
+ + + + +
+
+
+ +
+
+
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/signal-chats-list.html b/core/templates/partials/signal-chats-list.html new file mode 100644 index 0000000..9ea5c0e --- /dev/null +++ b/core/templates/partials/signal-chats-list.html @@ -0,0 +1,101 @@ +{% load cache %} +{% include 'mixins/partials/notify.html' %} +{% cache 600 objects_signal_chats request.user.id object_list type %} + + + + + + + + + {% for item in object_list %} + + + + + + + + {% endfor %} + +
numberuuidaccountnameactions
{{ item.source_number }} + + + + + + {{ item.account }}{{ item.source_name }} +
+ + {% if type == 'page' %} + + + + + {% else %} + + + {% endif %} +
+
+{% endcache %} \ No newline at end of file diff --git a/core/templates/partials/signal-contacts-list.html b/core/templates/partials/signal-contacts-list.html new file mode 100644 index 0000000..17942f4 --- /dev/null +++ b/core/templates/partials/signal-contacts-list.html @@ -0,0 +1,58 @@ +{% load pretty %} + +{% load cache %} + +{% cache 600 objects_signal_account_detail request.user.id object %} + {% include 'mixins/partials/notify.html' %} + + {% if object_list is not None %} + + + + + + + + + {% for item in object_list.contacts %} + + + + + + + + {% endfor %} + +
namenumberuuidverifiedblocked
{{ item.name }}{{ item.number }} + + + + + + + {% if item.identity.status == "TRUSTED_VERIFIED" %} + + + + {% else %} + + + + {% endif %} + + {% if item.blocked %} + + + + {% else %} + + + + {% endif %} +
+ {% endif %} +{% endcache %} \ No newline at end of file diff --git a/core/templates/subscriptioncancel.html b/core/templates/subscriptioncancel.html new file mode 100644 index 0000000..fe63b0e --- /dev/null +++ b/core/templates/subscriptioncancel.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +
+

Subscription {{ plan }} cancelled!

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

XF

+
+

Thank you for your order!

+
+

The customer portal will be available in your profile shortly.

+
+
+{% endblock %}