1. Konstantinos Metaxas
  2. genmap

Commits

Bela Hausmann  committed f4899ca

Final tweaks to get django-openid working

  • Participants
  • Parent commits 5f569b5
  • Branches openid-unstable

Comments (0)

Files changed (3)

File consumer.py

View file
  • Ignore whitespace
 
 class GenmapConsumer(RegistrationConsumer):
     no_duplicate_emails = True
-    login_template = 'django_openid/login_plus_password.html'

File media/css/style.css

View file
  • Ignore whitespace
 	font-weight: bold;
 	text-decoration: none;
 	background-color: #F3F3FF;
-	border-bottom: 1px solid #F1F1F1; 
+	border-bottom: 1px solid #F1F1F1;
 	border-right: 1px solid #F1F1F1;
 	padding: 1px;
 }
 	color: #FFBA27;
 	font-weight: bold;
 	text-decoration: none;
-	background-color: #FAFAFA; 
-	border-bottom: 1px solid #CCC; 
+	background-color: #FAFAFA;
+	border-bottom: 1px solid #CCC;
 	border-right: 1px solid #CCC;
 	padding: 1px;
 }
 div#content h1, div#extra h1, div#sidebar h1 {
 	font-size: 15px;
 	font-weight: normal;
-	color: #7A5ADA; 
-	text-decoration: none; 
-	padding: 3px 6px; 
-	background-color: #F3F3FF; 
-	border-bottom: 1px solid #F1F1F1; 
+	color: #7A5ADA;
+	text-decoration: none;
+	padding: 3px 6px;
+	background-color: #F3F3FF;
+	border-bottom: 1px solid #F1F1F1;
 	border-right: 1px solid #F1F1F1;
 }
 
 	color: #DCE2FF;
 	font-weight: bold;
 	text-decoration: none;
-	border-bottom: 1px solid #333; 
+	border-bottom: 1px solid #333;
 	border-right: 1px solid #333;
 }
 
 	float: right;
 	display:inline;
 }
+
+p.message
+{
+    background: #f7f7ff;
+    border-bottom: .1em dotted #f1f1f1;
+    border-right: .1em dotted #f1f1f1;
+    padding: 0 .5em;
+}

File templates/marks/add.html

View file
  • Ignore whitespace
 	</form>
 </div>
 </p>
+
+<h2>{%trans "Other settings"%}</h2>
+
+<ul>
+    <li><a href="{% url openid-associations %}">{%trans "Change your OpenIDs"%}</a></li>
+    <li><a href="{% url openid-password %}">{%trans "Change your Password"%}</a></li>
+</ul>
+
 {%endblock %}
 
 
 
 		lat = marker.getPoint().lat();
 		lng = marker.getPoint().lng();
-		//Update form elements	
+		//Update form elements
 		document.mform.latitude.value = lat;
 		document.mform.longitude.value = lng;
 		//Fetch localname from JSON geonames
 
 
 		lastmarker=marker;
-		
+
 		return marker;
 	}
 
 		return marker;
 	}
 
-	// == Display the map, with some controls and set the initial location 
+	// == Display the map, with some controls and set the initial location
 	var map = new GMap2(document.getElementById("map"),{draggableCursor:"default"});
 	map.addControl(new GLargeMapControl());
 	map.addControl(new GMapTypeControl());