35,7 → 35,7 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script> |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script> |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script> |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script> |
<script type="text/javascript" src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script> |
|
<!-- Barre de navigation --> |
<?php if ($bar !== false): ?> |
43,9 → 43,9 |
<?php endif; ?> |
|
<!-- CSS --> |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" /> |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" /> |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base; ?>modules/manager/squelettes/css/manager.css" media="screen" /> |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen"> |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css"> |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base; ?>modules/manager/squelettes/css/manager.css" media="screen"> |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous"> |
|
<!-- Google Analytics --> |
83,7 → 83,7 |
|
<?php //var_dump($widget); ?> |
<label for="projet">Projet *</label> |
<input type="text" name="projet" id="projet" pattern="[a-z]*" <?php echo ($mode === 'modification') ? 'value="'.$widget['projet'].'" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace" /> |
<input type="text" name="projet" id="projet" pattern="[a-z]+" <?php echo ($mode === 'modification') ? 'value="'.$widget['projet'].'" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace"> |
|
<label for="motscles">Autres mots-clés</label> |
<input type="text" name="motscles" id="motscles" value="" /> |
90,11 → 90,11 |
|
<label for="type">Type de widget</label> |
<div class="select-wrapper"> |
<select id="type" name="type" > |
<select id="type" name="type"> |
<option value=""> ----</option> |
<?php foreach ($type as $id => $projet) : ?> |
<option <?php echo (isset($widget['projet']) && $projet['projet']== $widget['projet']) ? 'selected="selected"' : ''; ?> value="<?php echo $projet['projet']; ?>"><?php echo $projet['projet']; ?></option> |
<?php endforeach; ?> |
<option value=""> ----</option> |
</select> |
</div> |
|
305,7 → 305,7 |
<label for="courriel" class="" title="Veuillez saisir votre adresse courriel."> |
<i class="fa fa-envelope"></i> Courriel * |
</label> |
<input type="email" id="courriel" name="courriel" title="Veuillez saisir votre adresse courriel. " required> |
<input type="email" id="courriel" name="courriel" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" title="Veuillez saisir votre adresse courriel." required> |
<input type="hidden" id="id_utilisateur" name="id_utilisateur"> |
</div> |
|
313,7 → 313,7 |
<label for="courriel_confirmation" class="" title="Veuillez confirmer le courriel."> |
<i class="fa fa-envelope"></i> Courriel * (confirmation) |
</label> |
<input type="email" id="courriel_confirmation" name="courriel_confirmation" required> |
<input type="email" id="courriel_confirmation" name="courriel_confirmation" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" title="Veuillez saisir votre adresse courriel." required> |
</div> |
|
</div> |
322,12 → 322,12 |
|
<div class="col-md-6"> |
<label for="prenom" class=""><i class="fa fa-user"></i> Prénom</label> |
<input type="text" id="prenom" name="prenom"> |
<input type="text" id="prenom" name="prenom" pattern="[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð'-]+" title="Veuillez saisir votre prénom"> |
</div> |
|
<div class="col-md-6 "> |
<label for="nom" class=""><i class="fa fa-user"></i> Nom</label> |
<input type="text" id="nom" name="nom"> |
<input type="text" id="nom" name="nom" pattern="[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð'-]+" title="Veuillez saisir votre nom"> |
</div> |
|
</div> |
348,7 → 348,7 |
<input type="hidden" id="id_utilisateur" name="id_utilisateur"> |
|
<label for="milieu" class=""><i class="fa fa-street-view"></i> Milieu</label> |
<input type="text" id="milieu" name="milieu" placeholder="bois, champ, falaise, ..."> |
<input type="text" id="milieu" name="milieu" placeholder="bois, champ, falaise, ..." pattern="[\D]+"> |
</div> |
|
<div class="col-md-6"> |
356,7 → 356,7 |
<i class="fa fa-calendar"></i> Date de relevé * |
</label> |
<div class="date" id="datetimepicker"> |
<input type="date" id="date" name="date" class="form-control hasDatepicker" required> |
<input type="date" id="date" name="date" class="hasDatepicker" pattern="(^(((0[1-9]|1[0-9]|2[0-8])[\/](0[1-9]|1[012]))|((29|30|31)[\/](0[13578]|1[02]))|((29|30)[\/](0[4,6,9]|11)))[\/](19|[2-9][0-9])\d\d$)|(^29[\/]02[\/](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)" title="jj/mm/aaaa" required> |
</div> |
|
<label for="referentiel" class="" title=""> |
376,7 → 376,7 |
<label for="certitude" class="" title=""> |
<i class="fa fa-question"></i> Certitude * |
</label> |
<div class="date select-wrapper add-field-select id="datetimepicker"> |
<div class="date select-wrapper add-field-select" id="datetimepicker"> |
<select id="certitude" name="certitude" required> |
<option value="">-</option> |
</select> |