From bd6b150f376082c6f3ed044f00a375ddc294de72 Mon Sep 17 00:00:00 2001 From: Jeremy Rangel Date: Sat, 1 Feb 2025 01:16:29 -0800 Subject: [PATCH] Added static html web template --- .../__pycache__/hooks.cpython-313.pyc | Bin 1332 -> 1332 bytes .../fixtures/web_template/html_template.json | 27 +++++++++++++ .../fixtures/web_template_static_html.json | 38 ++++++++++++++++++ rangeldigital/public/css/rangeldigital.css | 1 + 4 files changed, 66 insertions(+) create mode 100644 rangeldigital/fixtures/web_template/html_template.json create mode 100644 rangeldigital/fixtures/web_template_static_html.json create mode 100644 rangeldigital/public/css/rangeldigital.css diff --git a/rangeldigital/__pycache__/hooks.cpython-313.pyc b/rangeldigital/__pycache__/hooks.cpython-313.pyc index 9d8954ee1cdf98b23ad48b5bd7c035a8dcc12832..17b40284d9bc483e3c2ec7e5af1228971b391394 100644 GIT binary patch delta 20 acmdnOwS|lOGcPX}0}xm|n7ff%lNA6u4Fx^` delta 20 ZcmdnOwS|lOGcPX}0|+F|*~qQQ3IH{X1cv|s diff --git a/rangeldigital/fixtures/web_template/html_template.json b/rangeldigital/fixtures/web_template/html_template.json new file mode 100644 index 0000000..bfc14a7 --- /dev/null +++ b/rangeldigital/fixtures/web_template/html_template.json @@ -0,0 +1,27 @@ + +{ + "__unsaved": 1, + "creation": "2024-08-12 15:26:23.140620", + "docstatus": 0, + "doctype": "Web Template", + "fields": [ + { + "fieldname": "html", + "fieldtype": "Data", + "label": "HTML", + "reqd": 0 + } + + + ], + "idx": 0, + "modified": "2022-03-21 14:30:14.405261", + "modified_by": "Administrator", + "module": "Website", + "name": "Static HTML Template", + "owner": "Administrator", + "standard": 0, + "template": "

{{ heading }}

{% if sub_heading %}

{{ sub_heading }}

{% endif %}
{% for accordion in accordion_tabs %}

{{ accordion.accordion_content }}
{% endfor %}
" + , + "type": "Component" + } \ No newline at end of file diff --git a/rangeldigital/fixtures/web_template_static_html.json b/rangeldigital/fixtures/web_template_static_html.json new file mode 100644 index 0000000..4e0cb11 --- /dev/null +++ b/rangeldigital/fixtures/web_template_static_html.json @@ -0,0 +1,38 @@ + +{ + "__unsaved": 1, + "creation": "2024-08-12 15:26:23.140620", + "docstatus": 0, + "doctype": "Web Template", + "fields": [ + { + "fieldname": "html", + "fieldtype": "Code", + "label": "HTML", + "reqd": 0 + }, + { + "fieldname": "style", + "fieldtype": "Code", + "label": "Style", + "reqd": 0 + }, + { + "fieldname": "margin_top", + "fieldtype": "Data", + "label": "Margin - Top", + "reqd": 0 + } + + + ], + "idx": 0, + "modified": "2022-03-21 14:30:14.405261", + "modified_by": "Administrator", + "module": "Website", + "name": "Static HTML Template", + "owner": "Administrator", + "standard": 0, + "template": "
{{ html }}
", + "type": "Component" + } \ No newline at end of file diff --git a/rangeldigital/public/css/rangeldigital.css b/rangeldigital/public/css/rangeldigital.css new file mode 100644 index 0000000..83dbc6c --- /dev/null +++ b/rangeldigital/public/css/rangeldigital.css @@ -0,0 +1 @@ +.card {background:#f6f6f6} \ No newline at end of file