From 4b29603d79cc1f79c66786684f27ec9abfbaa825 Mon Sep 17 00:00:00 2001
From: Tom Willemsen
Date: Mon, 17 Oct 2011 01:34:04 +0200
Subject: Initial commit
---
templates/admin/login.html | 50 +++++++++++++++++++
templates/base.html | 44 +++++++++++++++++
templates/blog/base.html | 5 ++
templates/blog/posts.html | 42 ++++++++++++++++
templates/blog/tags.html | 19 ++++++++
templates/home.html | 88 ++++++++++++++++++++++++++++++++++
templates/links/links.html | 20 ++++++++
templates/projects/base.html | 3 ++
templates/projects/project_detail.html | 52 ++++++++++++++++++++
templates/projects/project_list.html | 20 ++++++++
10 files changed, 343 insertions(+)
create mode 100644 templates/admin/login.html
create mode 100644 templates/base.html
create mode 100644 templates/blog/base.html
create mode 100644 templates/blog/posts.html
create mode 100644 templates/blog/tags.html
create mode 100644 templates/home.html
create mode 100644 templates/links/links.html
create mode 100644 templates/projects/base.html
create mode 100644 templates/projects/project_detail.html
create mode 100644 templates/projects/project_list.html
(limited to 'templates')
diff --git a/templates/admin/login.html b/templates/admin/login.html
new file mode 100644
index 0000000..eba271f
--- /dev/null
+++ b/templates/admin/login.html
@@ -0,0 +1,50 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block extrastyle %}{% load adminmedia %}{{ block.super }} {% endblock %}
+
+{% block bodyclass %}login{% endblock %}
+
+{% block nav-global %}{% endblock %}
+
+{% block content_title %}{% endblock %}
+
+{% block breadcrumbs %}{% endblock %}
+
+{% block content %}
+{% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}
+
+{% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
+
+{% endif %}
+
+{% if form.non_field_errors or form.this_is_the_login_form.errors %}
+{% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %}
+
+ {{ error }}
+
+{% endfor %}
+{% endif %}
+
+
+{% endblock %}
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..e910a76
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+ ryuslash | {% block subtitle %}linux and coding{% endblock %}
+
+ {% block extrastyle %}{% endblock %}
+
+
+
+
+
+
+
+
+ {% block content %}
+ {% endblock %}
+
+
+
+
+
+
+
diff --git a/templates/blog/base.html b/templates/blog/base.html
new file mode 100644
index 0000000..2eadc88
--- /dev/null
+++ b/templates/blog/base.html
@@ -0,0 +1,5 @@
+{% extends "base.html" %}
+
+{% block subtitle %}
+ blog
+{% endblock %}
diff --git a/templates/blog/posts.html b/templates/blog/posts.html
new file mode 100644
index 0000000..d9bc72d
--- /dev/null
+++ b/templates/blog/posts.html
@@ -0,0 +1,42 @@
+
+
+{% extends "blog/base.html" %}
+
+{% block content %}
+ {% if postlist %}
+ {% for post in postlist %}
+
+
+ {% autoescape off %}
+ {{ post.body|linebreaksbr }}
+ {% endautoescape %}
+
+
+ {% endfor %}
+
+
+ {% if has_next %}
+
next
+ {% endif %}
+
+ {% if has_previous %}
+
previous
+ {% endif %}
+
+ {% else %}
+ Yeah I know, I'm boring.
+ {% endif %}
+{% endblock %}
diff --git a/templates/blog/tags.html b/templates/blog/tags.html
new file mode 100644
index 0000000..a180634
--- /dev/null
+++ b/templates/blog/tags.html
@@ -0,0 +1,19 @@
+
+
+{% extends "blog/base.html" %}
+
+{% block subtitle %}
+ blog/tags
+{% endblock %}
+
+{% block content %}
+
+ {% for tag in taglist %}
+
+ {{ tag.name }}
+
+ {% empty %}
+ Sorry, no tags here.
+ {% endfor %}
+
+{% endblock %}
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..a34a0d8
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,88 @@
+{% extends "base.html" %}
+
+{% block content %}
+ This will, hopefully, eventually, become my website.
+ Rejoice!
+
+ Some places you can already find me:
+
+
+ Gitorious
+ - This is where I host most of my projects.
+
+
+ Github
+ - Sometimes I host projects here as well, but I prefer
+ Gitorious.
+
+
+ Stack Overflow
+ - Don't really do much there, but I did just get my
+ first reputation points.
+
+
+
+
+
+
+
+
+ {% for activity in activitylist %}
+
+ {% endfor %}
+{% endblock %}
diff --git a/templates/links/links.html b/templates/links/links.html
new file mode 100644
index 0000000..b911d80
--- /dev/null
+++ b/templates/links/links.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+
+{% block subtitle %}
+ links
+{% endblock %}
+
+{% block content %}
+
+
+ {% if bookmarklist %}
+ {% for link in bookmarklist %}
+
{{ link.name }}
+ {% endfor %}
+ {% else %}
+ No links, no where...
+ {% endif %}
+
+{% endblock %}
diff --git a/templates/projects/base.html b/templates/projects/base.html
new file mode 100644
index 0000000..d3654cc
--- /dev/null
+++ b/templates/projects/base.html
@@ -0,0 +1,3 @@
+
+
+{% extends "base.html" %}
diff --git a/templates/projects/project_detail.html b/templates/projects/project_detail.html
new file mode 100644
index 0000000..1c19f4f
--- /dev/null
+++ b/templates/projects/project_detail.html
@@ -0,0 +1,52 @@
+
+
+{% extends "projects/base.html" %}
+
+{% block subtitle %}
+ projects/{{ object.name }}
+{% endblock %}
+
+{% block content %}
+
+
+
+
+
+ {% autoescape off %}
+ {{ object.description|linebreaksbr }}
+ {% endautoescape %}
+
+
+
+
+
+ {% for key, value in stats.items %}
+ {% if value %}
+ {{ key }}: {{ value }}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+ {% for key, value in links.items %}
+ {% if value %}
+
{{ key }}
+ {% endif %}
+ {% endfor %}
+
+
+ {% if object.screenshots %}
+
+ Screenshots here
+
+ {% endif %}
+
+{% endblock %}
diff --git a/templates/projects/project_list.html b/templates/projects/project_list.html
new file mode 100644
index 0000000..1ab750c
--- /dev/null
+++ b/templates/projects/project_list.html
@@ -0,0 +1,20 @@
+
+
+{% extends "projects/base.html" %}
+
+{% block subtitle %}
+ projects
+{% endblock %}
+
+{% block content %}
+ {% if object_list %}
+
+ {% for project in object_list %}
+ {{ project.name }}
+ {{ project.tagline }}
+ {% endfor %}
+
+ {% else %}
+ Well, you know me, I'm lazy. Got nothing going on.
+ {% endif %}
+{% endblock %}
--
cgit v1.2.3-54-g00ecf