Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Created very rough full-page view.

  • Loading branch information...
commit 8392a7e29ca8987f6800546d3e29f7b051fa471e 1 parent 16dfc5b
@onyxfish authored
View
4 safecity/apps/public/templates/public/index.html
@@ -7,7 +7,9 @@
<link rel="stylesheet" href="{% build_media_url '/css/public.css' %}" type="text/css" charset="utf-8"/>
{% endblock %}
{% block content %}
-<div style="width:1000px; height:300px;" id="report_map"></div>
+<div id="header">Safecity</div>
+<div id="report_map"></div>
+<div id="footer">Copyright (c) Christopher Groskopf, 2010</div>
{% endblock %}
{% block extrafoot %}
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key={{ settings.GOOGLE_MAPS_API_KEY }}" type="text/javascript"></script>
View
5 safecity/assets/css/public.css
@@ -1 +1,4 @@
-#report_map { width:960px; height:500px;}
+body { height:100%;}
+#header { background-color:red; padding:5px;}
+#report_map { width:100%; height:90%;}
+#footer { background-color:red;}
View
2  safecity/templates/base.html
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%;">
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{% build_media_url '/css/reset.css' %}" type="text/css" charset="utf-8"/>
Please sign in to comment.
Something went wrong with that request. Please try again.