mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: add missing margin-bottom in importers (#2627)
This commit is contained in:
commit
cfcdfb9ed8
2 changed files with 25 additions and 21 deletions
|
@ -8,18 +8,20 @@ import { AutocompleteCommunes } from './communesfr.js'
|
|||
const TEMPLATE = `
|
||||
<h3>Cadastre</h3>
|
||||
<p>Importer les données cadastrales d’une commune française.</p>
|
||||
<select name="theme">
|
||||
<option value="batiments">Bâtiments</option>
|
||||
<option value="communes">Communes</option>
|
||||
<option value="feuilles">Feuilles</option>
|
||||
<option value="lieux_dits">Lieux dits</option>
|
||||
<option value="parcelles" selected>Parcelles</option>
|
||||
<option value="prefixes_sections">Préfixes sections</option>
|
||||
<option value="sections">Sections</option>
|
||||
<option value="subdivisions_fiscales">Subdivisions fiscales</option>
|
||||
</select>
|
||||
<label id="boundary">
|
||||
</label>
|
||||
<div class="formbox">
|
||||
<select name="theme">
|
||||
<option value="batiments">Bâtiments</option>
|
||||
<option value="communes">Communes</option>
|
||||
<option value="feuilles">Feuilles</option>
|
||||
<option value="lieux_dits">Lieux dits</option>
|
||||
<option value="parcelles" selected>Parcelles</option>
|
||||
<option value="prefixes_sections">Préfixes sections</option>
|
||||
<option value="sections">Sections</option>
|
||||
<option value="subdivisions_fiscales">Subdivisions fiscales</option>
|
||||
</select>
|
||||
<label id="boundary">
|
||||
</label>
|
||||
</div>
|
||||
`
|
||||
|
||||
export class Importer {
|
||||
|
|
|
@ -16,15 +16,17 @@ const BOUNDARY_TYPES = {
|
|||
const TEMPLATE = `
|
||||
<h3>GeoDataMine</h3>
|
||||
<p>${translate('GeoDataMine: thematic data from OpenStreetMap')}.</p>
|
||||
<select name="theme">
|
||||
<option value="">${translate('Choose a theme')}</option>
|
||||
</select>
|
||||
<label>
|
||||
<input type="checkbox" name="aspoint" />
|
||||
${translate('Symplify all geometries to points')}
|
||||
</label>
|
||||
<label id="boundary">
|
||||
</label>
|
||||
<div class="formbox">
|
||||
<select name="theme">
|
||||
<option value="">${translate('Choose a theme')}</option>
|
||||
</select>
|
||||
<label>
|
||||
<input type="checkbox" name="aspoint" />
|
||||
${translate('Simplify all geometries to points')}
|
||||
</label>
|
||||
<label id="boundary">
|
||||
</label>
|
||||
</div>
|
||||
`
|
||||
|
||||
class Autocomplete extends SingleMixin(BaseAjax) {
|
||||
|
|
Loading…
Reference in a new issue