maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH 12/24] Add a link on the header


From: Maxime Petazzoni
Subject: [Maposmatic-dev] [PATCH 12/24] Add a link on the header
Date: Sun, 10 Jan 2010 15:54:06 +0100

---
 www/media/style.css                 |    4 ++++
 www/templates/maposmatic/base.html  |    2 +-
 www/templates/maposmatic/index.html |    1 -
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/media/style.css b/www/media/style.css
index fccefe2..7985b20 100644
--- a/www/media/style.css
+++ b/www/media/style.css
@@ -56,6 +56,10 @@ a img {
   font-family: Georgia, serif;
 }
 
+#header h1 a {
+  color: black;
+}
+
 #header h2 {
   margin: 0;
   padding: 0 0 1em 1.5em;
diff --git a/www/templates/maposmatic/base.html 
b/www/templates/maposmatic/base.html
index 655d88c..06c1c37 100644
--- a/www/templates/maposmatic/base.html
+++ b/www/templates/maposmatic/base.html
@@ -49,7 +49,7 @@
 
   <body {% block extrabody %}{% endblock %}>
     <div id="header">
-      <h1>MapOSMatic</h1>
+      <h1><a href="{% url main %}">MapOSMatic</a></h1>
       <h2>{% trans "Your free city maps!" %}</h2>
       <form name="langsel" action="/i18n/setlang/" method="post" id="langsel">
         <select name="language" onChange="document.langsel.submit();">
diff --git a/www/templates/maposmatic/index.html 
b/www/templates/maposmatic/index.html
index fafb41e..4cb7652 100644
--- a/www/templates/maposmatic/index.html
+++ b/www/templates/maposmatic/index.html
@@ -312,7 +312,6 @@ maps.{% endblocktrans %}
 
 <p><a href="{% url about %}">{% trans "More details" %} &raquo;</a></p>
 
-
 <h2 style="margin-top: 3em;"><a name="submitmapform" href="#submitmapform">{% 
trans "Generate your own map" %}</a></h2>
 <form id="mainfrm" method="post" action="{% url main %}#submitmapform" 
class="submitmap">
   <table id="mapform">
-- 
1.6.3.3.261.g85c6





reply via email to

[Prev in Thread] Current Thread [Next in Thread]