aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-12-02 22:25:58 -0500
committerbnewbold <bnewbold@ziggy.(none)>2009-12-02 22:25:58 -0500
commit47bdef8be4cc2c660a15e0f688a0084118960172 (patch)
treefd62d8a06293b6c4944b93c067974c51aa6dcb4a
parent456335102259e050a85202b5b818eea2018b574d (diff)
downloadbnewnet-47bdef8be4cc2c660a15e0f688a0084118960172.tar.gz
bnewnet-47bdef8be4cc2c660a15e0f688a0084118960172.zip
misc, front page, whitespace, photos
-rw-r--r--bn_django/journal/templates/journal/linkartifact_list.html4
-rw-r--r--bn_django/templates/comments/preview.html3
-rw-r--r--bn_django/templates/frontpage.html15
-rw-r--r--static/img/hole_antarctica.pngbin0 -> 153748 bytes
-rw-r--r--static/style/default.css2
5 files changed, 12 insertions, 12 deletions
diff --git a/bn_django/journal/templates/journal/linkartifact_list.html b/bn_django/journal/templates/journal/linkartifact_list.html
index 6caaffa..7ab6d5e 100644
--- a/bn_django/journal/templates/journal/linkartifact_list.html
+++ b/bn_django/journal/templates/journal/linkartifact_list.html
@@ -24,11 +24,11 @@ end up at <a href="http://feeds.bnewbold.net">feeds.bnewbold.net</a>.
{% for item in object_list %}
<li style="margin-bottom: 8px;"/><a href="{{ item.id }}/" style="font-size:140%;">{{item.title}}</a>
{% if item.html_caption %}
- &nbsp;"{{item.html_caption|truncatewords_html:10}}"{%endif%}
+ &nbsp;"{{item.html_caption|safe|truncatewords_html:10}}"{%endif%}
<br /><i style="padding-left: 15px; font-size:90%;">
added {{item.date|date:"D, M d, Y"}} -
<a href="{{ item.id }}/">more info</a> -
- <a href="{{ item.url }}">{{item.url}}</a></i>
+ {{ item.url|urlizetrunc:70 }}</i>
{% endfor %}
</ul>
{% else %}
diff --git a/bn_django/templates/comments/preview.html b/bn_django/templates/comments/preview.html
index cf49370..dbbc6c3 100644
--- a/bn_django/templates/comments/preview.html
+++ b/bn_django/templates/comments/preview.html
@@ -44,9 +44,6 @@
</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>
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
index a14a29b..edbf795 100644
--- a/bn_django/templates/frontpage.html
+++ b/bn_django/templates/frontpage.html
@@ -27,18 +27,21 @@ Other sites: <br />
{% endblock %}
{% block content %}
-<div class="notice">
-<center><b>This site is still under development!</b></center>
-<p /> There are undoubtedly bugs, errors, aesthetic travesties, ommissions, etc. At this point if you find any errors please email me using the link at the bottom of this page!
-<p />If you're curious you can track my work in the <a href="http://git.bnewbold.net/?p=bnewnet.git;a=summary">code</a> section. In the meanwhile you can get your bryan newbold fix at my <a href="http://web.mit.edu/bnewbold/www">old site</a>.
-</div>
+<center><a href="/photos/detail/520/"><img style="border: none;" src="/static/img/hole_antarctica.png"></a></center>
+<br />
<h3>Where am I?</h3>
- In early 2008 I returned to <a href="http://mit.edu">MIT</a> to learn some more physics; i'm planning on graduating in spring 2009. I spent 2007 traveling and working in different places across the USA and the world; see some of the <a href="/photos/">photos</a> I took. Hopefully I'll be on the road again soon! <i><a href="/whatsup/">&nbsp;More...</a></i>
+ In early 2008 I returned to <a href="http://mit.edu">MIT</a> and graduated in spring 2009 with a degree in <a href="http://know.bnewbold.net/MIT%20Courses">physics</a>. I spent the summer teaching and traveling in the Middle East, see some of the <a href="/photos/">photos</a> I took. Hopefully I'll be on the road again soon! <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>
diff --git a/static/img/hole_antarctica.png b/static/img/hole_antarctica.png
new file mode 100644
index 0000000..cd70df3
--- /dev/null
+++ b/static/img/hole_antarctica.png
Binary files differ
diff --git a/static/style/default.css b/static/style/default.css
index 8b75b65..77f6845 100644
--- a/static/style/default.css
+++ b/static/style/default.css
@@ -133,7 +133,7 @@ pre.large {
width: 720px;
margin-top: 0px;
margin-bottom: 0px;
- padding-left: 5px;
+ padding-left: 9px;
padding-right: 5px;
padding-bottom: 5px; }
.content img {