Change order in poi edit: coordinates before type selector
This commit is contained in:
parent
35281f4e30
commit
26ddc99766
|
@ -68,6 +68,13 @@ form.form h1 {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex_line > :first-child {
|
||||||
|
margin-left: 0 !important;
|
||||||
|
}
|
||||||
|
.flex_line > :last-child {
|
||||||
|
margin-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.flex_line input[type=text] {
|
.flex_line input[type=text] {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin: 10px 5px 0 5px;
|
margin: 10px 5px 0 5px;
|
||||||
|
@ -83,6 +90,7 @@ form.form input[type=radio] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
form.form input[type=radio]+label {
|
form.form input[type=radio]+label {
|
||||||
|
margin-top: 10px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -26,13 +26,6 @@
|
||||||
</select>
|
</select>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="flex_line" id="type_selector">
|
|
||||||
<? foreach($poi_types as $type) { ?>
|
|
||||||
<input type="radio" name="poi_type" value="<?=$type[3]?>" id="<?=$type[3]?>">
|
|
||||||
<label for="<?=$type[3]?>"><img src="<?=$config['views_url']?>img/<?=$type[3]?>.svg"><br><?=$type[0]?></label>
|
|
||||||
<? } ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="flex_line">
|
<div class="flex_line">
|
||||||
<input type="text" value="<?=$poi->lat?>" name="lat" id="lat" placeholder="Latitude">
|
<input type="text" value="<?=$poi->lat?>" name="lat" id="lat" placeholder="Latitude">
|
||||||
<input type="text" value="<?=$poi->lon?>" name="lon" id="lon" placeholder="Longitude">
|
<input type="text" value="<?=$poi->lon?>" name="lon" id="lon" placeholder="Longitude">
|
||||||
|
@ -40,6 +33,13 @@
|
||||||
<div id="elevation_icon" style="display:none;" title="Calculer l'altitude"><i class="fas fa-search-location"></i></div>
|
<div id="elevation_icon" style="display:none;" title="Calculer l'altitude"><i class="fas fa-search-location"></i></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="flex_line" id="type_selector">
|
||||||
|
<? foreach($poi_types as $type) { ?>
|
||||||
|
<input type="radio" name="poi_type" value="<?=$type[3]?>" id="<?=$type[3]?>">
|
||||||
|
<label for="<?=$type[3]?>"><img src="<?=$config['views_url']?>img/<?=$type[3]?>.svg"><br><?=$type[0]?></label>
|
||||||
|
<? } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<input name="submit" id="submit" type="submit" value="Ajouter l'hébergement">
|
<input name="submit" id="submit" type="submit" value="Ajouter l'hébergement">
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue