aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-06-20 16:37:07 -0400
committerbnewbold <bnewbold@robocracy.org>2016-06-20 16:37:07 -0400
commitbaf14633cbd8af6413290ccae5765aefd2a278a5 (patch)
tree6fcdf0e488d707ce373d46a50f543364ea7bf3b8 /bn_django/templates
parent4b5b2769679515a54d3287077821421dce613432 (diff)
downloadbnewnet-baf14633cbd8af6413290ccae5765aefd2a278a5.tar.gz
bnewnet-baf14633cbd8af6413290ccae5765aefd2a278a5.zip
remove old django folder
Diffstat (limited to 'bn_django/templates')
-rw-r--r--bn_django/templates/404.html3
-rw-r--r--bn_django/templates/500.html3
-rw-r--r--bn_django/templates/about.html29
-rw-r--r--bn_django/templates/base.html64
-rw-r--r--bn_django/templates/comment_list41
-rw-r--r--bn_django/templates/comments/form.html0
-rw-r--r--bn_django/templates/comments/posted.html8
-rw-r--r--bn_django/templates/comments/preview.html69
-rw-r--r--bn_django/templates/copyright.html12
-rw-r--r--bn_django/templates/credits.html20
-rw-r--r--bn_django/templates/flatpages/default.html7
-rw-r--r--bn_django/templates/frontpage.html97
-rw-r--r--bn_django/templates/newcomments_table16
-rw-r--r--bn_django/templates/newknowldge_table13
-rw-r--r--bn_django/templates/nogo.html15
-rw-r--r--bn_django/templates/search.html10
-rw-r--r--bn_django/templates/static/directory_index18
17 files changed, 0 insertions, 425 deletions
diff --git a/bn_django/templates/404.html b/bn_django/templates/404.html
deleted file mode 100644
index e1f116e..0000000
--- a/bn_django/templates/404.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "base.html"%}
-{% block title %}For oh four{% endblock %}
-{% block content %}Whoopsie!{% endblock %}
diff --git a/bn_django/templates/500.html b/bn_django/templates/500.html
deleted file mode 100644
index 78786b7..0000000
--- a/bn_django/templates/500.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "base.html"%}
-{% block title %}Server Error{% endblock %}
-{% block content %}Sorry...{% endblock %}
diff --git a/bn_django/templates/about.html b/bn_django/templates/about.html
deleted file mode 100644
index 39ac311..0000000
--- a/bn_django/templates/about.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{% extends "base.html" %}
-
-{% block path %}{% endblock %}
-
-{% block title %}About bnewbold.net{% endblock %}
-
-{% block right_stuff %}
-{% endblock %}
-
-{% block content %}
-<div class="righty_content">
- <img src="/static/img/orange_small.jpg"
- alt="the author" />
- <br />
- <div class="content_caption">the perp</div>
-</div>
-This website is the web presence of Bryan Newbold. Chunks of the homunculus
-include:
-<dl>
- <dt /><a href="http://know.bnewbold.net/">brain dump</a>
- <dt /><a href="/photos/">photo gallery</a>
- <dt /><a href="http://journal.bnewbold.net/">journal</a>
- <dt /><a href="http://feeds.bnewbold.net/">rss aggregator</a>
- <dt /><a href="http://git.bnewbold.net/">browsable code repository</a>
-</dl>
-<p />
-There's a lot of borrowed software under the hood; see <a
-href="/credits/">credits</a>.
-<br /> {% endblock %}
diff --git a/bn_django/templates/base.html b/bn_django/templates/base.html
deleted file mode 100644
index 568bf62..0000000
--- a/bn_django/templates/base.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-{% block stylesheets %}
-<link rel="stylesheet" type="text/css" href="/static/style/reset.css" />
-<link rel="stylesheet" type="text/css" href="/static/style/default.css" />
-<link rel="stylesheet" type="text/css" href="/static/style/commentary.css" />
-<link rel="icon" href="http://static.bnewbold.net/img/nudie_favicon.png" />
-{% endblock %}
-{% block externaljs %} {% endblock %} {% block otherhead %} {% endblock %}
-<title>{% block windowtitle %}bnewbold.net{% endblock %}</title>
-</head>
-<body>
-<div id="top_bar">
- <div id="top_bar_content">
- <span class="righty">
- <a href="http://journal.bnewbold.net">journal</a>&nbsp;
- <a href="/photos/">photos</a>&nbsp;
- <a href="http://git.bnewbold.net/">code</a>&nbsp;
- <a href="http://know.bnewbold.net/">knowledge</a></span>
- <span class="lefty"><a href="/">bnewbold.net</a></span>
- </div>
-</div>
-<div class="content" id="main_title">
-<div class="right_stuff">
-<form name="search" method="get" action="https://www.google.com/search">
-<br/>
-<input class="search_box" type="text" size="21" value=" search!"
- name="q" id="search_text"
- onfocus="var box=document.forms['search'].elements['q']; if(box.value == ' search!') box.value=''; return;" />
-<input type="hidden" name="domains" value="bnewbold.net" />
-<input type="hidden" name="sitesearch" value="bnewbold.net" />
-</form>
-<span class="righty"></span>
-</div>
-<span class="path">
-{% block path %}{% endblock %}
-</span>
-<h1 class="pagetitle">{% block title %}Hey Hey Hey!{% endblock %}</h1>
-<h2 class="pagesubtitle">{% block subtitle %}{% endblock %}</h2>
-<div class="right_stuff">
-{% block right_stuff %}
-{% endblock %}
-</div>
-</div>
-
-
-<div class="content" id="main_content">
-{% block content %}
-Here lies content!
-{% endblock %}
-</div>
-{% block commentary %} {% endblock %}
-<div class="content_footer" id="footer">
-&nbsp;
-<a href="/">home</a> &nbsp;&nbsp;
-<a href="/about/">about</a> &nbsp;&nbsp;
-<a href="/credits/">credits</a> &nbsp;&nbsp;
-<a href="mailto:webmeisterATbnewbold.net">email the webmaster</a> &nbsp;&nbsp;
-produced 2007-2015 by bryan newbold, <a href="/copyright/">all rights ignored</a>
-</div>
-</body>
-</html>
diff --git a/bn_django/templates/comment_list b/bn_django/templates/comment_list
deleted file mode 100644
index d00dc6a..0000000
--- a/bn_django/templates/comment_list
+++ /dev/null
@@ -1,41 +0,0 @@
-{% if comments or free_comments %}
-{% comment %}TODO: this needs to be rewriten!{% endcomment %}
-
-<br />
-<table class="comments">
-{% for c in comments %}
-<tr><td class="comment_info">
- Posted by <span class="comment_user">
- {% if c.user.username %} {{ c.user.username }}
- {% else %}{{ c.user_name }} {% endif %}</span><br />
- on <span class="comment_date">
- {{ c.submit_date|date:"F j, Y" }}</span><br />
- at <span class="comment_time">{{ c.submit_date|date:"H:i" }}</span>
- </td><td class="comment_content">
- {% if c.headline %}
- <span class="comment_headline">{{ c.headline|escape|wordwrap:80 }}</span>
- <br />
- {% endif %}
- <span class="comment_content">{{ c.comment|escape|linebreaks|wordwrap:80 }}</span>
-</td></tr>
-{% endfor %}
-{% for c in free_comments %}
-<tr><td class="comment_info">
- Posted by <span class="comment_user">
- {% if c.person_name %}{{ c.person_name}}{% else %}anonymous{% endif %}</span><br />
- on <span class="comment_date">
- {{ c.submit_date|date:"F j, Y" }}</span><br />
- at <span class="comment_time">{{ c.submit_date|date:"H:i T" }}</span>
- </td><td class="comment_content">
- {% if c.headline %}
- <span class="comment_headline">{{ c.headline|escape|wordwrap:80 }}</span>
- <br />
- {% endif %}
- <span class="comment_content">{{ c.comment|escape|wordwrap:80 }}</span>
-</td></tr>
-{% endfor %}
-</table>
-<br /><br />
-{% else %}
-<h3>No comments yet!</h3>
-{% endif %}
diff --git a/bn_django/templates/comments/form.html b/bn_django/templates/comments/form.html
deleted file mode 100644
index e69de29..0000000
--- a/bn_django/templates/comments/form.html
+++ /dev/null
diff --git a/bn_django/templates/comments/posted.html b/bn_django/templates/comments/posted.html
deleted file mode 100644
index e3eb0d2..0000000
--- a/bn_django/templates/comments/posted.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block title %}{% trans "Thanks for your comment" %}.{% endblock %}
-
-{% block content %}
-<br />
-{% endblock %}
diff --git a/bn_django/templates/comments/preview.html b/bn_django/templates/comments/preview.html
deleted file mode 100644
index dbbc6c3..0000000
--- a/bn_django/templates/comments/preview.html
+++ /dev/null
@@ -1,69 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block title %}{% trans "Comment Submission" %}{% endblock %}
-
-{% block content %}</div><div class='content' id='commentary'>
-<br />
- {% load comments %}
- <form action="{% comment_form_target %}" method="post">
- {% if form.errors %}
- <h4>{% blocktrans count form.errors|length as counter %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}</h4>
- {% else %}
- <h4>{% trans "Preview your comment:" %}</h4>
-
-<table class="comments">
-{% if comment.person_name %}
-<tr><td class="comment_info">
- Posted by <span class="comment_user">
- {% if comment.person_name %}{{ comment.person_name}}{% else %}anonymous{% endif %}</span><br />
- on <span class="comment_date">
- {{ comment.submit_date|date:"F j, Y" }}</span><br />
- at <span class="comment_time">{{ comment.submit_date|date:"H:i T" }}</span>
- </td><td class="comment_content">
- {% if comment.headline %}
- <span class="comment_headline">{{ comment.headline|escape|wordwrap:80 }}</span>
- <br />
- {% endif %}
- <span class="comment_content">{{ comment|escape|wordwrap:80 }}</span>
-</td></tr>
-{% else %}
-<tr><td class="comment_info">
- Posted by <span class="comment_user">
- {% if comment.user.username %} {{ comment.user.username }}
- {% else %}{{ comment.user_name }} {% endif %}</span><br />
- on <span class="comment_date">
- {{ comment.submit_date|date:"F j, Y" }}</span><br />
- at <span class="comment_time">{{ comment.submit_date|date:"H:i" }}</span>
- </td><td class="comment_content">
- {% if comment.headline %}
- <span class="comment_headline">{{ comment.headline|escape|wordwrap:80 }}</span>
- <br />
- {% endif %}
- <span class="comment_content">{{ comment|escape|wordwrap:80 }}</span>
-</td></tr>
-{% endif %}
-</table>
- <p>
- {% trans "and" %} <input type="submit" name="submit" class="submit-post" value="{% trans "Post your comment" %}" id="submit" /> {% trans "or make changes" %}:
- </p>
- {% endif %}
-<table>
- {% for field in form %} {% if field.is_hidden %} {{ field }} {% else %}
- {% ifequal field.name "honeypot" %}
- <span style="display:none;">{{ field.label_tag }}{{ field }}</span>
- {% else %}
-<tr><td class="comment_field_name">
- <span {% if field.errors %} class="error"{% endif %}>
- {{ field.label_tag }}
- </span></td><td>{{ field }}
- {% if field.errors %}{{ field.errors }}{% endif %}
-</td></tr> {% endifequal %} {% endif %} {% endfor %}
-<tr><td class="comment_field_name"></td><td>
- <input type="submit" name="preview" class="submit-preview" value="{% trans "Preview" %}" />
- <input type="submit" name="post" class="submit-post" value="{% trans "Post" %}" />
- <i>(no HTML or other markup)</i>
-</td></tr>
-</table>
-
-{% endblock %}
diff --git a/bn_django/templates/copyright.html b/bn_django/templates/copyright.html
deleted file mode 100644
index c48b304..0000000
--- a/bn_django/templates/copyright.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Fuck Copyrights{% endblock %}
-
-{% block right_stuff %}
-{% endblock %}
-
-{% block content %}
-<p />I'm not a big fan of copyrights or licensing. Feel free to use the content and code from this website however you please. I would appreciate attribution or at least letting me know if you're doing something cool, but it's not required.
-<p />If I had to chose a license it would probably be MIT or BSD style.
-<p />I don't think I've violated any other person's rights, but if you think something is a copied and/or unattributed drop a dime!
-{% endblock %}
diff --git a/bn_django/templates/credits.html b/bn_django/templates/credits.html
deleted file mode 100644
index 954a26d..0000000
--- a/bn_django/templates/credits.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Software credits{% endblock %}
-
-{% block right_stuff %}
-{% endblock %}
-
-{% block content %}
-This site uses a variety of delicious software!
-<h3>operating system</h3>
-<p />It's <a href="http://freebsd.org">freeBSD</a> under the hood when not hosted elsewhere.
-<h3>web framework</h3>
-<p />The site is powered by the <a href="http://djangoproject.com/">django</a> toolkit (which runs on <a href="http://python.org">python</a>).
-<p />I use the <a href="http://www.carcosa.net/jason/software/django/stockphoto/">stockphoto</a> app written by Jason McBrayer for the photos section.
-<h3>text editor</h3>
-<p /><a href="http://vim.org">vim</a>! fuck emacs!
-<h3>versioning system</h3>
-<p />I use git as a revisioning system for the <a href="/knowledge/">knowledge wiki</a> and my <a href="/code/">software</a> (including this site!).
-
-{% endblock %}
diff --git a/bn_django/templates/flatpages/default.html b/bn_django/templates/flatpages/default.html
deleted file mode 100644
index 49c773a..0000000
--- a/bn_django/templates/flatpages/default.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}{{ flatpage.title }}{% endblock %}
-
-{% block content %}
-{{ flatpage.content }}
-{% endblock %}
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
deleted file mode 100644
index 6d3652a..0000000
--- a/bn_django/templates/frontpage.html
+++ /dev/null
@@ -1,97 +0,0 @@
-{% extends "base.html" %}
-
-{% block stylesheets %}
-<link rel="openid.server" href="http://www.myopenid.com/server" />
-<link rel="openid.delegate" href="http://bnewbold.myopenid.com" />
-<meta http-equiv="X-XRDS-Location"
- content="http://bnewbold.myopenid.com/xrds" />
-<link rel="STYLESHEET" type="text/css" href="/static/style/git_wiki.css" />
-
-{{ block.super }}{% endblock %}
-
-{% block path %}{% endblock %}
-
-{% block title %}{% endblock %}
-
-{% block right_stuff %}
-<br />
-<br />
-<br />
-<br />
-RSS feeds: <br />
-{% comment %} &nbsp; - <a href="/journal/rss/latest_entries/"> journal entries</a><br />{% endcomment %}
- &nbsp; - <a href="/journal/rss/latest_links/"> web links</a><br />
- &nbsp; - <a href="http://git.bnewbold.net/?p=bnewnet.git;a=rss;opt=--no-merges"> site code changes</a><br />
-<br /><br />
-Other sites: <br />
- &nbsp; - <a href="https://github.com/bnewbold"> github</a><br />
- &nbsp; - <a href="https://keybase.io/bnewbold"> keybase</a><br />
- &nbsp; - <a href="http://equator.memeschemes.com"> equator</a><br />
-{% endblock %}
-
-{% block content %}
-<br />
-<center><img style="border: none;" src="/static/img/iceland_beach.jpg"></center>
-<br />
-<br />
- <h3>Where am I?</h3>
-As of Fall 2015 I am living in Seattle (WA) working as a freelance embedded
-engineer. I spent the last year working remotely, building digital control
-systems for optical atomic magnetometers at
-<a href="http://www.twinleaf.com">Twinleaf </a>, a small company headquartered
-in Princeton, NJ.
-
-<!--
-As of Summer 2014 i'm living in Princeton (NJ) building digital control systems
-for optical atomic magnetometers for a <a href="http://www.twinleaf.com">small
-company</a>. I spent the last year living in a co-op in Cambridge (MA) working
-on various embedded engineering projects. In the fall I will be moving to West
-to Seattle.
--->
-<!--
-As of Fall 2012 i'm living in Berlin designing an open wireless router called
-<a href="http://rooter.is">rooter</a>. I spent the past year living in New York
-City working at <a href="http://octopart.com">Octopart</a> (an electronic parts
-search engine), building <a href="http://thefnf.org">Free Networks</a>,
-watching <a href="http://toorcamp.org">blinkenlights</a> on far shores, and
-tramping around Iceland and the UK.
--->
-<!--
- As of Spring 2011 I am living in New York City working at <a
- href="http://octopart.com">Octopart</a>. I spent the past year working with
- friends at <a href="http://leaflabs.com">LeafLabs</a> (an open source hardware
- startup in Cambridge) and the <a href="http://www.cfa.harvard.edu/">Harvard
- Center for Astrophysics</a>, as well as traveling to Newfoundland/Labrador and
- <a href="http://s3.amazonaws.com/data.tumblr.com/tumblr_lf6yjdx8mB1qae4w7o1_1280.jpg?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1305862294&Signature=eHzThxstLcQh5FE%2FJlmfX8YMyjs%3D">Iceland</a>.
--->
-
-<i><a href="/whatsup/">&nbsp;More...</a></i>
-<br />
-
-<br />
-
-<!--
-<h2 class="ruled">Photos!</h2>
-{% if latest_galleries %}
- Most recently I have shots from:
- {% for gallery in latest_galleries %}
- <a href="{{gallery.get_absolute_url}}">{{gallery.title}}</a> &nbsp;
- {% endfor %}
-{% endif %}
-{% if latest_photos %}
-<br />
-<table class="thumbs" width="100%"><tbody><tr>
-{% for photo in latest_photos %}
-<td class="photo_thumb">
-<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.thumburl }}"
- alt="{{ photo.title }}" /></a>&nbsp;&nbsp;&nbsp;</td>
-{% endfor %}
-</tbody></table>
-{% else %}
-<br/><br />None yet!
-{% endif %}
-<br />
-<br /><br />
--->
-{% endblock %}
-
diff --git a/bn_django/templates/newcomments_table b/bn_django/templates/newcomments_table
deleted file mode 100644
index c01863d..0000000
--- a/bn_django/templates/newcomments_table
+++ /dev/null
@@ -1,16 +0,0 @@
-<table class="listing">
-{% for c in latest_comments %}
-<tr>
- <td class="date">
- {{ c.submit_date|date:"F jS" }}</td>
- <td class="description">
- {% if c.user.username %}{{ c.user.username }}
- {% else %}{{c.user_name}}{% endif%} </td>
- <td class="description">
- {{ c.comment|truncatewords:10 }}
- <td class="description">
- <a href="{{c.get_content_object_url}}">
- {{ c.content_type.name }}</a></td>
- </tr>
-{% endfor %}
-</table>
diff --git a/bn_django/templates/newknowldge_table b/bn_django/templates/newknowldge_table
deleted file mode 100644
index 686a12f..0000000
--- a/bn_django/templates/newknowldge_table
+++ /dev/null
@@ -1,13 +0,0 @@
-{% if latest_knowledge %}
-<table class="listing">
-{% for l in latest_knowledge %}
-<tr>
- <td class="date">
- {{ l.date }}</td>
- <td class="description">
- <a href="/k/commit/{{ l.hash }}/" class="description">
- {{ l.description|truncatewords:6 }}</a></td>
- </tr>
-{% endfor %}
-</table>
-{% else %}No shortlog!{% endif %}
diff --git a/bn_django/templates/nogo.html b/bn_django/templates/nogo.html
deleted file mode 100644
index ca83269..0000000
--- a/bn_django/templates/nogo.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Unstable{% endblock %}
-
-{% block right_stuff %}
-{% endblock %}
-
-{% block content %}
-The dynamic portions of this website are extremely unstable right now, leading
-to runaway cpu utilization on my virtual host and locking up of more imporant
-services (static html, etc). So for the time being i'm freezing large portions,
-hopefully everything will be back soon; a number of new python wrappers for python look promising and i'm excited to implement jsMath to replace the current clunky math system.
-
-For now try a more generic git cgi interface to my content at <a href="http://git.bnewbold.net/">http://git.bnewbold.net</a>.
-{% endblock %}
diff --git a/bn_django/templates/search.html b/bn_django/templates/search.html
deleted file mode 100644
index 27fb35d..0000000
--- a/bn_django/templates/search.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Search?{% endblock %}
-
-{% block right_stuff %}
-{% endblock %}
-
-{% block content %}
-<p />Seach isn't implemented yet!
-{% endblock %}
diff --git a/bn_django/templates/static/directory_index b/bn_django/templates/static/directory_index
deleted file mode 100644
index 61e7f02..0000000
--- a/bn_django/templates/static/directory_index
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}
-<h1>Index of /{{ directory }}</h1>
-{% endblock %}
-
-{% block content %}
-<br />
-<ul>
-{% for f in file_list %}
-<li><a href="{{ f }}">{{ f }}</a></li>
-{% endfor %}
-</ul>
-<br />
-<br />
-<br />
-
-{% endblock %}