diff --git a/cartads/models.py b/cartads/models.py index 88c2aab..7bec33e 100644 --- a/cartads/models.py +++ b/cartads/models.py @@ -1,19 +1,7 @@ # coding: utf8 -# Copyright (C) 2016 Entr'ouvert -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# Prototype developpe par le Grand Lyon + import base64 import json @@ -736,6 +724,6 @@ class CartADS(BaseResource): output_string += u" \n" output_string = output_string.encode('ascii', errors='xmlcharrefreplace') - ###print >> open('/home/grandlyon/log/'+type_dossier+'_'+date_file.strftime('%Y%m%d%H%M%S')+'.wcs', 'a+'), output_string + print >> open('/home/grandlyon/log/'+type_dossier+'_'+date_file.strftime('%Y%m%d%H%M%S')+'.wcs', 'a+'), output_string return {'data': output_string} diff --git a/extra/static/droitdusol.css b/extra/static/droitdusol.css index f49e762..78e6951 100644 --- a/extra/static/droitdusol.css +++ b/extra/static/droitdusol.css @@ -2,13 +2,14 @@ @media screen and (min-width: 1000px) { .formdef-category-logement .imgCommune img { position: absolute; - top: 132px; - left: 500px; + top: 45px; + left: 15px; height: 100px; } } /* File upload styling for permis de construire */ +.formdef-category-logement input {font-size:0.85em;} .formdef-category-logement .FileWithPreviewWidget { display: flow-root; border-bottom: 0.1em solid #80808052; @@ -41,6 +42,7 @@ .formdef-category-logement .FileWithPreviewWidget .fileinfo { position: relative; top: -35px; + font-size:0.8em; } .formdef-category-logement .FileWithPreviewWidget.widget-readonly .fileinfo { top: 10px;