From 62a960b274a180ec4ce886d176427913373f540d Mon Sep 17 00:00:00 2001 From: Arno Renevier Date: Fri, 17 Feb 2012 09:25:46 +0100 Subject: [PATCH] use
s for path info --- application/views/scripts/idx/index.phtml | 39 +++++++++++++---------- public/css/syj.css | 13 ++++---- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index f5b7b67..fd27630 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -68,20 +68,23 @@ if ($this->errorMsg) { -
+ +
+

translate("export")?>

+ path->title ?: $this->path->id; $href = $this->baseUrl() . '/geom/' . rawurlencode($fileName) . '.kml'; printf('%s', @@ -96,16 +99,18 @@ if ($this->errorMsg) { $this->translate('gpx export'), $this->translate('gpx export')); ?> - +
profileActive) { ?> -
translate("altitude profile")?>
-
+

translate("altitude profile")?>

+ path->urlcomp ?: $this->path->id); $href = $this->baseUrl() . '/profile/' . $urlcomp . '.png'; $imgsrc = $this->addParamToUrl($href, 'size', 'small', true); printf('', $href, $imgsrc); - ?>
+ ?> + diff --git a/public/css/syj.css b/public/css/syj.css index 8e29c42..0c41443 100644 --- a/public/css/syj.css +++ b/public/css/syj.css @@ -114,10 +114,15 @@ body, html { background-color: #E0E0FF; } -.info-title { +.info-section { + margin-bottom: 0.5em; +} +.info-section > h1 { text-decoration: underline; + font-size: 1em; + margin: 2px 0 2px 0; } -.info-content a { +.info-section a { text-decoration: none; } @@ -126,10 +131,6 @@ body, html { padding: 4px 15px 15px 15px; } -.info-content { - margin-bottom: 0.5em; -} - #path-length { text-align: center; position: absolute; /* otherwise, under #map in ie */ -- 2.39.2