aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2015-02-26 17:17:24 +0000
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:22 +0100
commitae49214c011fa1d8794ebce589d319494cb65407 (patch)
treec50f8c9093f0266b6083493fed7e3964bebf75ea /templates
parente572afecd7fcd294cb56ce44015ef9112ca8e870 (diff)
[Zurich] Improve report print styles
- also remove 10px gap from left hand side of logo on screen
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/maps/openlayers.html4
-rw-r--r--templates/web/zurich/admin/report_edit.html4
-rw-r--r--templates/web/zurich/header.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 1d0f88166..5805f5e16 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -30,7 +30,7 @@ var fixmystreet = {
</script>
<div id="map_box" aria-hidden="true">
[% pre_map %]
- <div id="map"><noscript>
+ <div id="map"><div class="noscript">
<div id="drag"><[% map.img_type %]
alt="NW map tile" id="t2.2"
name="tile_[% map.x_tile - 1 %].[% map.y_tile - 1 %]"
@@ -50,7 +50,7 @@ var fixmystreet = {
style="top:256px; left:256px;"></div>
<div id="pins">[% FOR pin IN map.pins %][% INCLUDE pin %][% END %]</div>
[% INCLUDE compass %]
- </noscript></div>
+ </div></div>
[% IF map.copyright %]
<div class="olControlAttribution" style="position: absolute;">[% map.copyright %]</div>
[% END %]
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index 5376d77f4..f8da9f211 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -17,9 +17,9 @@
<input type="hidden" name="submit" value="1" >
<ul class="no-bullets">
-<li><a href="[% c.uri_for_email( '/report', problem.id ) %]">[% loc('View report on site' )%]</a></li>
+<li class="report-edit-action"><a href="[% c.uri_for_email( '/report', problem.id ) %]">[% loc('View report on site' )%]</a></li>
-<li><a href="http://webgis.intra.stzh.ch/AV_Online/Direct.asp?Map=AV&Search=Koord&West=[% problem.local_coords.0 %]&Nord=[% problem.local_coords.1 %]&B=300" target="_blank">Standort in AV-Online anzeigen</a></li>
+<li class="report-edit-action"><a href="http://webgis.intra.stzh.ch/AV_Online/Direct.asp?Map=AV&Search=Koord&West=[% problem.local_coords.0 %]&Nord=[% problem.local_coords.1 %]&B=300" target="_blank">Standort in AV-Online anzeigen</a></li>
[% IF problem.state == 'fixed - council' OR problem.state == 'closed' %]
<li><span class="mock-label">[% loc('Details:') %]</span> [% problem.detail | html %]
diff --git a/templates/web/zurich/header.html b/templates/web/zurich/header.html
index 20d41b8bd..78ed678f6 100644
--- a/templates/web/zurich/header.html
+++ b/templates/web/zurich/header.html
@@ -14,7 +14,7 @@
[% SET start = c.config.ADMIN_BASE_URL IF admin %]
<link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/base.css') %]">
- <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]" media="(min-width:48em)">
+ <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]" media="screen and (min-width:48em)">
[% extra_css %]
<!--[if (lt IE 9) & (!IEMobile)]>
<link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]">