Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move static files into app.

  • Loading branch information...
commit 8ec8b7c8acd2bf6cce8607f9df657568ced969de 1 parent 85a9073
Matthew Somerville authored
4 conf/httpd.conf-example
View
@@ -9,7 +9,7 @@
WSGIDaemonProcess example.mapit.mysociety.org user=exampleuser group=examplegroup processes=5 threads=1 display-name=example.mapit.mysociety.org
WSGIProcessGroup example.mapit.mysociety.org
-WSGIScriptAlias / /data/vhost/example.mapit.mysociety.org/docs/django.wsgi
+WSGIScriptAlias / /data/vhost/example.mapit.mysociety.org/mapit/web/django.wsgi
Alias /media /var/lib/python-support/python2.5/django/contrib/admin/media
-Alias /static /data/vhost/example.mapit.mysociety.org/docs/static
+Alias /static /data/vhost/example.mapit.mysociety.org/mapit/mapit/static
0  web/static/compassS.jpg → mapit/static/mapit/compassS.jpg
View
File renamed without changes
2  web/static/css.css → mapit/static/mapit/css.css
View
@@ -3,7 +3,7 @@ body {
line-height: 1.5;
margin: 0;
padding: 1em;
- background-image: url("/static/compassS.jpg");
+ background-image: url("/static/mapit/compassS.jpg");
background-position: 0 0;
background-attachment: fixed;
background-repeat: no-repeat;
0  web/static/englandS.png → mapit/static/mapit/englandS.png
View
File renamed without changes
0  web/static/mysociety_smT.png → mapit/static/mapit/mysociety_smT.png
View
File renamed without changes
0  web/static/niS.png → mapit/static/mapit/niS.png
View
File renamed without changes
0  web/static/scotlandS.png → mapit/static/mapit/scotlandS.png
View
File renamed without changes
0  web/static/walesS.png → mapit/static/mapit/walesS.png
View
File renamed without changes
4 mapit/templates/mapit/base.html
View
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{% block fulltitle %}{% block title %}{% endblock %} - MapIt{% endblock %}</title>
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
-<link type="text/css" href="/static/css.css" rel="stylesheet">
+<link type="text/css" href="/static/mapit/css.css" rel="stylesheet">
{% if norobots %}
<meta name="robots" content="noindex, follow">
{% endif %}
@@ -12,7 +12,7 @@
<body>
<div id="header" role="banner">
-<a href="http://www.mysociety.org/"><img id="logo" border=0 src="/static/mysociety_smT.png" alt="mySociety"></a>
+<a href="http://www.mysociety.org/"><img id="logo" border=0 src="/static/mapit/mysociety_smT.png" alt="mySociety"></a>
<blockquote>
&ldquo;Gentlemen, we can rebuild him. We have the technology. We can make him better than he was before. Better. Stronger. Faster.&rdquo;
8 mapit/templates/mapit/index.html
View
@@ -64,7 +64,7 @@
<div id="col1">
<h3>By postcode</h3>
-<a href="http://commons.wikimedia.org/wiki/File:EnglandAdminCountiesNumbered.png"><img src="/static/englandS.png" align="right" alt="" border="0"></a>
+<a href="http://commons.wikimedia.org/wiki/File:EnglandAdminCountiesNumbered.png"><img src="/static/mapit/englandS.png" align="right" alt="" border="0"></a>
<ul>
<li>/postcode/<i>[postcode]</i> &ndash; information on a particular postcode,
@@ -79,7 +79,7 @@
</ul>
<h3>Multiple areas</h3>
-<a href="http://commons.wikimedia.org/wiki/File:Northern_Ireland_location_map.svg"><img src="/static/niS.png" align="right" alt="" id="nipic" border="0"></a>
+<a href="http://commons.wikimedia.org/wiki/File:Northern_Ireland_location_map.svg"><img src="/static/mapit/niS.png" align="right" alt="" id="nipic" border="0"></a>
<ul>
@@ -127,7 +127,7 @@
<h3>By point</h3>
-<a href="http://commons.wikimedia.org/wiki/File:ScotlandCountiesNumbered.png"><img src="/static/scotlandS.png" align="right" alt="" border="0"></a>
+<a href="http://commons.wikimedia.org/wiki/File:ScotlandCountiesNumbered.png"><img src="/static/mapit/scotlandS.png" align="right" alt="" border="0"></a>
<p>An SRID is a unique number referring to a particular co-ordinate system; the
ones you probably are interested in are 27700 for British National Grid, 4326
for WGS84 lon/lat, and 29902 for the Irish National Grid. You can restrict
@@ -152,7 +152,7 @@
<h3>By area ID</h3>
-<a href="http://commons.wikimedia.org/wiki/File:WalesNumbered.png"><img src="/static/walesS.png" align="right" alt="" border="0"></a>
+<a href="http://commons.wikimedia.org/wiki/File:WalesNumbered.png"><img src="/static/mapit/walesS.png" align="right" alt="" border="0"></a>
<ul>
<li>/area/<i>[area ID or ONS code]</i> &ndash; information on a particular area.
4 mapit/templates/no/mapit/base.html
View
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{% block fulltitle %}{% block title %}{% endblock %} - MapIt{% endblock %}</title>
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
-<link type="text/css" href="/static/css.css" rel="stylesheet">
+<link type="text/css" href="/static/mapit/css.css" rel="stylesheet">
{% if norobots %}
<meta name="robots" content="noindex, follow">
{% endif %}
@@ -12,7 +12,7 @@
<body>
<div id="header" role="banner">
-<div id="logo" align="center"><a href="http://www.nuug.no/">NUUG</a> and<br><a href="http://www.mysociety.org/"><img border=0 src="/static/mysociety_smT.png" alt="mySociety"></a></div>
+<div id="logo" align="center"><a href="http://www.nuug.no/">NUUG</a> and<br><a href="http://www.mysociety.org/"><img border=0 src="/static/mapit/mysociety_smT.png" alt="mySociety"></a></div>
<blockquote>
&ldquo;Gentlemen, we can rebuild him. We have the technology. We can make him better than he was before. Better. Stronger. Faster.&rdquo;
Please sign in to comment.
Something went wrong with that request. Please try again.