From b39730245dfafe27eddeeffa2532a901c489beba Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 29 May 2013 11:54:23 +0200 Subject: Ability to set coordinates from live_lonlat (refs #335) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Integration of Raphaël Droz's work. --- chimere/static/chimere/css/styles.css | 4 ---- chimere/templates/chimere/blocks/live_coordinates.html | 17 ++++++++++++++++- chimere/widgets.py | 2 +- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index c30d259..9d26b67 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -585,10 +585,6 @@ table.inline-table td input[type=file]{ width:260px; } -#live_lonlat { - display:none; -} - #live_lonlat p{ display:inline-table; } diff --git a/chimere/templates/chimere/blocks/live_coordinates.html b/chimere/templates/chimere/blocks/live_coordinates.html index 4ed4e6f..e2a6420 100644 --- a/chimere/templates/chimere/blocks/live_coordinates.html +++ b/chimere/templates/chimere/blocks/live_coordinates.html @@ -31,10 +31,25 @@ diff --git a/chimere/widgets.py b/chimere/widgets.py index 87f797a..c463b7d 100644 --- a/chimere/widgets.py +++ b/chimere/widgets.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2008-2012 Étienne Loks +# Copyright (C) 2008-2013 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as -- cgit v1.2.3