miglioraform

This commit is contained in:
scossa 2024-08-20 21:34:09 +02:00
parent a5153b1df9
commit 7c4830815a
2 changed files with 13 additions and 8 deletions

View file

@ -45,14 +45,19 @@ body {
position: absolute; position: absolute;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
left: 0; left:0;
right: 0; right: 0;
text-align: center; text-align: center;
width: 50vw; width: 262px;
background-color: white; background-color: white;
} }
textarea[name="description"] {
width: 200px;
height: 50px;
}
#markerForm { #markerForm {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -29,17 +29,17 @@
</div> </div>
<div id="remainingForm" style="display: none;"> <div id="remainingForm" style="display: none;">
<label>Nome</label> <label>Nome</label>
<input name="name" required type="text" /> <br><input name="name" required type="text" />
<label>Descrizione</label> <br><br><label>Descrizione</label>
<input name="description" required type="text" /> <br><textarea name="description" required></textarea>
<label>Immagine</label> <br><br><label>Immagine</label>
<input <br><input
name="image" name="image"
required required
type="file" type="file"
accept="image/x-png,image/jpeg,image/jpg" accept="image/x-png,image/jpeg,image/jpg"
/> />
<button>Aggiungi Marker</button> <br><br><button>Aggiungi Marker</button>
</div> </div>
</form> </form>
</div> </div>