From 57aa89824a8dabb631c15af986a39e779d0fe3cb Mon Sep 17 00:00:00 2001 From: Mark Weiman Date: Sun, 11 Oct 2015 01:00:38 -0400 Subject: inital --- blog/templates/captcha/widget.html | 16 +++ blog/templates/captcha/widget_ajax.html | 25 +++++ blog/templates/captcha/widget_nocaptcha.html | 33 ++++++ blog/templates/edit-post.html | 134 +++++++++++++++++++++++ blog/templates/index.html | 151 ++++++++++++++++++++++++++ blog/templates/post.html | 156 +++++++++++++++++++++++++++ blog/templates/repo.html | 140 ++++++++++++++++++++++++ blog/templates/rindex.html | 142 ++++++++++++++++++++++++ 8 files changed, 797 insertions(+) create mode 100644 blog/templates/captcha/widget.html create mode 100644 blog/templates/captcha/widget_ajax.html create mode 100644 blog/templates/captcha/widget_nocaptcha.html create mode 100644 blog/templates/edit-post.html create mode 100644 blog/templates/index.html create mode 100644 blog/templates/post.html create mode 100644 blog/templates/repo.html create mode 100644 blog/templates/rindex.html (limited to 'blog/templates') diff --git a/blog/templates/captcha/widget.html b/blog/templates/captcha/widget.html new file mode 100644 index 0000000..fb38f61 --- /dev/null +++ b/blog/templates/captcha/widget.html @@ -0,0 +1,16 @@ + + + diff --git a/blog/templates/captcha/widget_ajax.html b/blog/templates/captcha/widget_ajax.html new file mode 100644 index 0000000..71969f2 --- /dev/null +++ b/blog/templates/captcha/widget_ajax.html @@ -0,0 +1,25 @@ + +{# import recaptcha_ajax.js in your body #} +{# #} + +
+ + + +{% comment %} + +{% endcomment %} \ No newline at end of file diff --git a/blog/templates/captcha/widget_nocaptcha.html b/blog/templates/captcha/widget_nocaptcha.html new file mode 100644 index 0000000..e8b6e38 --- /dev/null +++ b/blog/templates/captcha/widget_nocaptcha.html @@ -0,0 +1,33 @@ + + +
+ diff --git a/blog/templates/edit-post.html b/blog/templates/edit-post.html new file mode 100644 index 0000000..4a7b019 --- /dev/null +++ b/blog/templates/edit-post.html @@ -0,0 +1,134 @@ +{% load replace %} +{% load staticfiles %} + + + + + + + + + + + + MarkZZ - Blog - {{ selected_post.title }} + + + + + + + + + + + + + + + + + + + + +
{% csrf_token %} + + + + + + +
+
+
+
+
+ {{ post_form.title }} +{#

Problems look mighty small from 150 miles up

#} +{# Posted by {{ selected_post.user.username }} on {{ selected_post.created }}#} +
+
+
+
+
+ + +
+
+
+
+ {{ post_form.body }} +

{{ post_form.header_image }}

+

{{ post_form.comments_enabled }}

+
+
+
+
+
+
+ +
+ + + + + + + + + + + +{# #} + + + + diff --git a/blog/templates/index.html b/blog/templates/index.html new file mode 100644 index 0000000..dfff388 --- /dev/null +++ b/blog/templates/index.html @@ -0,0 +1,151 @@ +{% load replace %} +{% load staticfiles %} + + + + + + + + + + + + MarkZZ - Blog + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

{{ blog_page.title }}

+
+ {{ blog_page.subtitle }} +
+
+
+
+
+ + +
+
+
+ {% for p in posts %} +
+ +

+ {{ p.title }} +

+

+ {{ p.body|striptags|truncatewords:50 }} +

+
+ +
+
+ {% endfor %} + + +
+
+
+ +
+ + + + + + + + + + + +{# #} + + + + diff --git a/blog/templates/post.html b/blog/templates/post.html new file mode 100644 index 0000000..affb32a --- /dev/null +++ b/blog/templates/post.html @@ -0,0 +1,156 @@ +{% load replace %} +{% load staticfiles %} + + + + + + + + + + + + MarkZZ - Blog - {{ selected_post.title }} + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

{{ selected_post.title }}

+{#

Problems look mighty small from 150 miles up

#} + Posted by {{ selected_post.user.username }} on {{ selected_post.created }} +
+
+
+
+
+ + +
+
+
+
+ {{ selected_post.body|safe }} +
+
+
+
+ +
+ +
+
+

Comments

+ + + {% for x in comments %} + + {% endfor %} +
NameComment
{{ x.name }}
{{ x.timestamp|date:"Y-m-d H:i" }}
{{ x.comment }}
+
+
+ +
+
+
+

New Comment

+
{% csrf_token %} + + {{ comment_form.as_table }} +
+
+
+
+
+ + + + + + + + + + + + + + +{# #} + + + + diff --git a/blog/templates/repo.html b/blog/templates/repo.html new file mode 100644 index 0000000..801b1dc --- /dev/null +++ b/blog/templates/repo.html @@ -0,0 +1,140 @@ +{% load replace %} +{% load staticfiles %} + + + + + + + + + + + + MarkZZ {% if package_page.name %} - {% endif %}{{ package_page.name|presentable|title }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

{{ package_page.title }}

+ {% if package_page.subtitle %} +
+ {{ package_page.subtitle }} + {% endif %} +
+
+
+
+
+ + +
+
+
+ + + {% for x in packages %} + + + + {% endfor %} +
ArchNameDescriptionVersion
{{ x.arch }}{{ x.name }}{{ x.description }}{{ x.pkgver }}-{{ x.pkgrel }}Download (sig)
+
+
+
+ +
+ + + + + + + + + + + + + + + + diff --git a/blog/templates/rindex.html b/blog/templates/rindex.html new file mode 100644 index 0000000..51b46b8 --- /dev/null +++ b/blog/templates/rindex.html @@ -0,0 +1,142 @@ +{% load replace %} +{% load staticfiles %} + + + + + + + + + + + + MarkZZ {% if page_content.name %} - {% endif %}{{ page_content.name|presentable|title }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

{{ package_page.title }}

+ {% if package_page.subtitle %} +
+ {{ package_page.subtitle }} + {% endif %} +
+
+
+
+
+ + +
+
+
+ {% for x in operating_systems %} + + + {% for y in repositories %} + + {% endfor %} +
{{ x.operating_system }}
{% if y.package_type.operating_system == x.operating_system %} + {{ y.name }} + {% endif %}
+ {% endfor %} +
+
+
+ +
+ + + + + + + + + + + + + + + + -- cgit v1.3.1