From bea3a6db61d61953798915731d747f8ec30521d5 Mon Sep 17 00:00:00 2001 From: straup Date: Sun, 1 Jul 2012 21:38:53 -0400 Subject: [PATCH] move markers (for header map) in to inc file; make status #2 markers grey --- www/css/main.css | 6 ++++++ www/templates/inc_map_header_markers.txt | 8 ++++++++ www/templates/page_user_history.txt | 4 +--- www/templates/page_user_place.txt | 4 +--- www/templates/page_user_places.txt | 4 +--- 5 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 www/templates/inc_map_header_markers.txt diff --git a/www/css/main.css b/www/css/main.css index cd3ba4d..eccc8ad 100644 --- a/www/css/main.css +++ b/www/css/main.css @@ -212,6 +212,12 @@ q { -webkit-border-radius: 10px !important; -khtml-border-radius: 10px !important; border-radius: 10px !important; + z-index:100; +} + +.marker-header-todo { + background-color:#adadad; + z-index:50; } .map-tile { diff --git a/www/templates/inc_map_header_markers.txt b/www/templates/inc_map_header_markers.txt new file mode 100644 index 0000000..602c47f --- /dev/null +++ b/www/templates/inc_map_header_markers.txt @@ -0,0 +1,8 @@ +{foreach from=$markers item="row"} + {* 2 == i want to go there *} + {if $row.status_id==2} +
+ {else} +
+ {/if} +{/foreach} diff --git a/www/templates/page_user_history.txt b/www/templates/page_user_history.txt index a59c47e..753145b 100644 --- a/www/templates/page_user_history.txt +++ b/www/templates/page_user_history.txt @@ -20,9 +20,7 @@ Okee dookee, your checkin has been deleted. {/if}
-{foreach from=$checkins item="row"} -
-{/foreach} +{include file="inc_map_header_markers.txt markers=$checkins}
{if $when} diff --git a/www/templates/page_user_place.txt b/www/templates/page_user_place.txt index e91db4b..72310c8 100644 --- a/www/templates/page_user_place.txt +++ b/www/templates/page_user_place.txt @@ -2,9 +2,7 @@ {include file="inc_head.txt"}
-{foreach from=$venues item="row"} -
-{/foreach} +{include file="inc_map_header_markers.txt markers=$venues}

{$locality.name|escape}

diff --git a/www/templates/page_user_places.txt b/www/templates/page_user_places.txt index 715b71d..8b7a79d 100644 --- a/www/templates/page_user_places.txt +++ b/www/templates/page_user_places.txt @@ -2,9 +2,7 @@ {include file="inc_head.txt"}
-{foreach from=$places item="row"} -
-{/foreach} +{include file="inc_map_header_markers.txt markers=$places}
{foreach from=$places item="row"}