summaryrefslogtreecommitdiff
path: root/templates/contact_form
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/contact_form
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'templates/contact_form')
-rw-r--r--templates/contact_form/contact_form.html45
-rw-r--r--templates/contact_form/contact_form.txt5
-rw-r--r--templates/contact_form/contact_form_sent.html25
-rw-r--r--templates/contact_form/contact_form_subject.txt1
4 files changed, 76 insertions, 0 deletions
diff --git a/templates/contact_form/contact_form.html b/templates/contact_form/contact_form.html
new file mode 100644
index 0000000..4b20fc7
--- /dev/null
+++ b/templates/contact_form/contact_form.html
@@ -0,0 +1,45 @@
+{% extends 'base.html' %}
+
+{#==============================================
+Load up the various metadata add-ins
+================================================#}
+
+{% block metadescription %}Contact Luxagraf: Want to know something more about somewhere I've been? Or something about the website? Drop me an e-mail and I'll get back to you as soon as I can.{%endblock%}
+{% block pagetitle %}Get in Touch | Luxagraf {% endblock %}
+{% block metakeywords %}contact, get in touch, drop a line{%endblock%}
+
+{#==============================================
+Fill in the Title And Dateline Blocks
+================================================#}
+
+{%block title %}
+Contact Me
+{%endblock%}
+
+
+
+{%block primary%}
+<article>
+<section id="post">
+<h1>Contact Me</h1>
+
+<div class="form-holder">
+<form method="post" action="http://live.luxagraf.net/contact/" class="contact-form">
+<ul>
+{% for field in form %}
+ <li>
+ <dl>
+ <dt>{{ field.label_tag }}</dt>
+ <dd>{{ field }}</dd>
+ {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %}
+ {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %}
+ </dl>
+ </li>
+{% endfor %}
+</ul>
+<input type="submit" class="button" value="Contact" />
+</form>
+</div>
+</section>
+</article>
+{%endblock%} \ No newline at end of file
diff --git a/templates/contact_form/contact_form.txt b/templates/contact_form/contact_form.txt
new file mode 100644
index 0000000..5d8bf3e
--- /dev/null
+++ b/templates/contact_form/contact_form.txt
@@ -0,0 +1,5 @@
+Name: {{name}}
+
+Wrote: {{body}}
+
+Reply-To Address: {{email}} \ No newline at end of file
diff --git a/templates/contact_form/contact_form_sent.html b/templates/contact_form/contact_form_sent.html
new file mode 100644
index 0000000..adeabb6
--- /dev/null
+++ b/templates/contact_form/contact_form_sent.html
@@ -0,0 +1,25 @@
+{% extends 'contact_form/contact_form.html' %}
+
+{#==============================================
+Fill in the Title And Dateline Blocks
+================================================#}
+
+{%block title %}
+Thank You
+{%endblock%}
+
+
+{% block dateline %}
+Thanks for sharing your thoughts
+{% endblock%}
+
+
+{#==============================================
+ Primary Content
+================================================#}
+
+{%block primary%}
+
+<p>Thanks for sharing your thoughts, I will make an effort to respond promptly</p>
+
+{% endblock %} \ No newline at end of file
diff --git a/templates/contact_form/contact_form_subject.txt b/templates/contact_form/contact_form_subject.txt
new file mode 100644
index 0000000..2eb8f20
--- /dev/null
+++ b/templates/contact_form/contact_form_subject.txt
@@ -0,0 +1 @@
+[luxmail] {{subject_line}} \ No newline at end of file