Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reskinning several sections mox-18 mox-20 mox-45 mox-43

  • Loading branch information...
commit 197dcb01edcd0eed1a2739bfed82b9ea747e5060 1 parent 4c9d0c0
Csteph Csteph authored cnorthwood committed
6 demos/molly_oxford/site_media/site/css/groups/smart.css
View
@@ -466,13 +466,13 @@ button, input[type="submit"], input[type="reset"] {
.invisible {display:none;}
.center {text-align:center;}
-
+/*
h2 {
text-align:center;
color:white;
padding: 5px 0; margin: 0;
}
-
+*/
h3 {
color:white;
padding: 5px 5px; margin: 0;
@@ -672,7 +672,7 @@ div.header {
div.header h2 {
color: rgb(34, 34, 34);
text-shadow: 2px 2px 2px rgb(204, 204, 204);
- text-align: left;
+ text-align: center;
font-size: 11pt;
padding-top: 3px;
}
BIN  demos/molly_oxford/site_media/site/png/apple-touch-startup-image.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3  molly/apps/places/templates/places/busstop.html
View
@@ -38,6 +38,7 @@
<div class="section">
+<div class="header">
<h2><small>{{ entity.title }}<br /><span id="time_now">{% now "G:i:s "%}</span></small></h2>
@@ -93,7 +94,7 @@
<a href="{% url maps:entity_nearby_list entity.entity_type.slug,entity.display_id %}" rel="nofollow">Find things near here</a>
</li>
</ul>
-
+</div>
</div>
{% endblock %}
4 molly/apps/places/templates/places/busstop_search.html
View
@@ -5,7 +5,9 @@
{% block content %}
{% if search_form.is_valid %}
<div class="section">
+<div class="header">
<h2>Results</h2>
+</div>
{% if entities %}
<ul>
{% for entity in entities %}
@@ -44,4 +46,4 @@
-{% endblock %}
+{% endblock %}
3  molly/apps/places/templates/places/category_detail.html
View
@@ -7,6 +7,7 @@
{% block content %}
<div class="section">
+<div class="header">
<h2>
Found {{ count }}
{% ifequal count 1 %}
@@ -21,7 +22,7 @@
{% endifnotequal %}
{% endifequal %}
</h2>
-
+</div>
{% if not found_entity_types|length_is:0 and not found_entity_types|length_is:1 %}
<div class="note">
<div class="bubble pad-10">
2  molly/apps/places/templates/places/category_list.html
View
@@ -3,7 +3,9 @@
{% block content %}
<div class="section">
+<div class="header">
<h2>Places</h2>
+</div>
<ul class="link-list">
{% for entity_type in entity_types %}
<li{% if forloop.last %} class="round-bottom"{% endif %}><a href="{% url places:category-detail entity_type.slug %}">{{ entity_type.verbose_name_plural|capfirst }}</a></li>
6 molly/apps/places/templates/places/entity_detail.html
View
@@ -7,6 +7,7 @@
<div class="section">
+<div class="header">
{% include "places/metadata/real_time_information.html" %}
{% if entity.location %}
@@ -18,7 +19,7 @@
<img src="{% map_url entity.location %}" alt="Map"><br />
{% include "places/map_elements.html" %}
{% endifnotequal %}
-
+ </div>
<ul class="link-list">
<li class="round-bottom"><a href="{% url places:entity-nearby-list entity.identifier_scheme entity.identifier_value %}" rel="nofollow">Find things near here</a></li>
</ul>
@@ -27,6 +28,9 @@
We do not yet have a location for this {{ entity.entity_type.verbose_name }}.
</div></div>
{% endif %}
+
+
+
</div>
{% include "places/metadata/oxpoints.html" %}
4 molly/apps/places/templates/places/entity_without_location.html
View
@@ -6,10 +6,12 @@
{% block content %}
<div class="section">
+<div class="header">
<h2>{{ entity_type.verbose_name_plural }} near {{ entity.title }}</h2>
<div class="note"><div class="bubble pad-10">
Unfortunately, we do not have a location for this object, and so cannot tell you what is near it.
</div>
</div>
+</div>
-{% endblock %}
+{% endblock %}
2  molly/apps/places/templates/places/index.html
View
@@ -48,8 +48,10 @@ <h2 class="invisible">Search Places</h2>
{# Points of Interest #}
<div class="section">
+<div class="header">
<h2>Points of Interest</h2>
{% include "geolocation/update_location_embed.html" %}
+</div>
<ul class="link-list">
<li><a href="{% url places:nearby-list %}">Near Me</a></li>
<li class="round-bottom"><a href="{% url places:category-list %}">By Category</a></li>
3  molly/apps/places/templates/places/metadata/osm.html
View
@@ -3,6 +3,7 @@
{% if entity|osm_tags or entity.metadata.osm.tags.phone or entity.metadata.osm.tags.wikipedia or entity.metadata.osm.tags.url %}
<div class="section">
+<div class="header">
<h2>Information from OpenStreetMap</h2>
{% if entity|osm_tags %}
<div class="article"><div class="bubble pad-5">
@@ -14,7 +15,7 @@
</dl>
</div></div>
{% endif %}
-
+</div>
<ul class="link-list">
{% if entity.metadata.osm.tags.phone %}
<li>
4 molly/apps/places/templates/places/metadata/oxpoints.html
View
@@ -2,7 +2,9 @@
{% with entity.metadata.oxpoints as oxp %}
<div class="section">
+<div class="header">
<h2>{{ oxp.dc_title }}</h2>
+</div>
<div class="article"><div class="bubble pad-5">
<dl>
{% if oxp.foaf_homepage or oxp.oxp_hasITHomepage or oxp.oxp_hasWeblearn or oxp.oxp_hasLibraryHomepage %}
@@ -77,7 +79,9 @@
{% if oxp.foaf_depiction %}
<div class="section">
+<div class="header">
<h2>Images</h2>
+</div>
{% for image in oxp.foaf_depiction %}
{% external_image image.uri asdiv %}
{% endfor %}
3  molly/apps/places/templates/places/nearby_detail.html
View
@@ -6,6 +6,7 @@
{% block content %}
<div class="section">
+<div class="header">
<h2>
{% if entity_types|length_is:0 %}
Found {{ count }} thing{{ count|pluralize }} near {{ entity.title }}
@@ -57,7 +58,7 @@
{% include "places/map_elements.html" %}
{% endifnotequal %}
-
+</div>
<ul class="link-list">
{% if entities %}
2  molly/apps/places/templates/places/nearby_list.html
View
@@ -7,7 +7,9 @@
{% for name, types in entity_types %}
<div class="section">
+<div class="header">
<h2>{{ name }}</h2>
+</div>
<ul class="link-list">
{% for entity_type in types %}{% if entity %}
<li{% if forloop.last %} class="round-bottom"{% endif %}><a href="{% url places:entity-nearby-detail entity.identifier_scheme,entity.identifier_value,entity_type.slug %}">
3  molly/apps/places/templates/places/postcode.html
View
@@ -3,11 +3,12 @@
{% block content %}
<div class="section">
+<div class="header">
<h2>Places with this post code</h2>
{% if entities|length_is:"1" %}
<div class="note"><div class="bubble pad-10">
We don't know of anywhere with this post code.
- </div></div>
+ </div></div></div>
<ul>
{% else %}
<ul>
2  molly/apps/webcams/templates/webcams/index.html
View
@@ -8,7 +8,9 @@
<div class="section">
+<div class="header">
<h2>Webcams</h2>
+</div>
<ul class="link-list">
{% for webcam in webcams %}
<li {% if forloop.last %}class="round-bottom"{% endif %}>
7 molly/apps/webcams/templates/webcams/webcam_detail.html
View
@@ -14,7 +14,8 @@
{% block content %}
<div class="section">
-<h2>{{ webcam.title }}<br /><small>{% now "G:i "%}</small></h2>
+ <div class="header">
+ <h2>{{ webcam.title }}<br /><small>{% now "G:i "%}</small></h2>
{% if eis %}
{% ifnotequal style_group "dumb" %}
@@ -37,5 +38,7 @@
<p><small>{{ webcam.credit|safe }}</small></p>
{% endif %}
-</div></div></div>
+</div></div>
+</div>
+</div>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.