From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- templates/bin/country_sidebar.html | 6 -- templates/bin/map_entry_list.html | 111 ------------------------------------- templates/bin/map_sidebar.html | 23 -------- templates/bin/recent_entries.html | 13 ----- templates/bin/regions_sidebar.html | 6 -- 5 files changed, 159 deletions(-) delete mode 100644 templates/bin/country_sidebar.html delete mode 100644 templates/bin/map_entry_list.html delete mode 100644 templates/bin/map_sidebar.html delete mode 100644 templates/bin/recent_entries.html delete mode 100644 templates/bin/regions_sidebar.html (limited to 'templates/bin') diff --git a/templates/bin/country_sidebar.html b/templates/bin/country_sidebar.html deleted file mode 100644 index 03570da..0000000 --- a/templates/bin/country_sidebar.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/templates/bin/map_entry_list.html b/templates/bin/map_entry_list.html deleted file mode 100644 index a58de05..0000000 --- a/templates/bin/map_entry_list.html +++ /dev/null @@ -1,111 +0,0 @@ -{% load typogrify %} -{% load truncateletters %} -{% load slugify_under %} - - // center on a country - function focusCountry(latitude, longitude, zoom) { - map.setZoom(zoom); - map.panTo(new google.maps.LatLng(latitude, longitude)); - }; - - {% for route in route_list %} - var {{route.template_var_name}} = [ - {% for point in route.geometry.coords%} - new google.maps.LatLng({{point.1}}, {{point.0}}){% if forloop.last%}{%else%},{%endif%} - {% endfor %} - ]; - {% endfor %} - function showRoute(route, zoom, latitude, longitude) { - var routePath = new google.maps.Polyline({ - path: eval(route), - strokeColor: "#FF0000", - strokeOpacity: 1.0, - strokeWeight: 2 - }); - map.setZoom(zoom); - map.panTo(new google.maps.LatLng(latitude, longitude)); - routePath.setMap(map); - return false; - }; -var map; -function initialize() { - - //custom marker - var image = new google.maps.MarkerImage('http://luxagraf.net/media/img/marker-entry.png', - new google.maps.Size(15, 26), - new google.maps.Point(0, 0), - new google.maps.Point(7, 26) - ); - //custom marker shadow - var shadow = new google.maps.MarkerImage('http://luxagraf.net/media/img/shadow.png', - new google.maps.Size(37, 34), - new google.maps.Point(0,0), - new google.maps.Point(8, 34) - ); - - - //check for a permalink - var location = window.location.hash; - //find a centerpoint - var pts = new Array(); - {%for c in country_list%}pts[{{forloop.counter0}}] = ["#{{c.slug}}", {{c.lat}},{{c.lon}},{{c.zoom_level}}];{% endfor %} - {%for c in region_list%}pts[pts.length] = ["#{{c.slug}}", {{c.lat}},{{c.lon}},{{c.zoom_level}}];{% endfor %} - if (location.length>1) { - for (i=0;i -

Trips

- -

Regions

- - -

Countries

- - - diff --git a/templates/bin/recent_entries.html b/templates/bin/recent_entries.html deleted file mode 100644 index f86d6f2..0000000 --- a/templates/bin/recent_entries.html +++ /dev/null @@ -1,13 +0,0 @@ -{% load typogrify %}{% for object in object_list %} - {% endfor %} diff --git a/templates/bin/regions_sidebar.html b/templates/bin/regions_sidebar.html deleted file mode 100644 index ce14e68..0000000 --- a/templates/bin/regions_sidebar.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file -- cgit v1.2.3-70-g09d2