27,12 → 27,15 |
|
<!-- Favicones --> |
<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" /> |
|
<!-- CSS --> |
<!-- Jquery-ui custom 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" /> |
<!-- Bootstrap CSS --> |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" /> |
<!-- <link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" /> --> |
<!-- Fontawesome --> |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous" /> |
<!-- STYLE MANAGER CREATION --> |
<link rel="stylesheet" type="text/css" href="<?= $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 --> |
<?php if( $prod ) : ?> |
42,15 → 45,11 |
|
<body> |
<div id="zone-appli" class="container"> |
<?php if ( $bar !== false ) : ?> |
<div id="tb-navigation" data-courant="widget-cel-export" data-squelette="bootstrap3" data-mode="prod"></div> |
<br/> |
<?php endif; ?> |
<h1 id="widget-titre" class="widget-titre"><?php echo ucfirst( $mode ); ?> de widget de saisie du CEL</h1> |
<div id="register-page"> |
<div id="group-settings-form" class="row"> |
<div id="group-settings-form"> |
|
<div class="widget-blocks col-md-4"> |
<div id="left-block" class="widget-blocks"> |
|
<p class="message"> |
<?php if ( $mode === 'modification' ) : ?> |
62,21 → 61,24 |
<?php endif; ?> |
</p> |
|
<form action="<?= $url_base; ?>manager?mode=<?= $mode.$params; ?>" id="basic-widget-form" class="standard-form component component-text" method="post" enctype="multipart/form-data"> |
<div class="register-section" id="basic-details-section"> |
<form action="<?= $url_base; ?>manager?mode=<?= $mode.$params; ?>" id="basic-widget-form" method="post" enctype="multipart/form-data"> |
|
<div class="register-section row" id="basic-details-section"> |
<h2>Meta-données</h2> |
|
<?php // var_dump($widget); ?> |
<label for="projet">Projet *</label> |
<input type="text" name="projet" id="projet" pattern="[a-z]+" <?= ( $mode === 'modification' ) ? 'value="' . $widget['projet'] . '" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace"> |
<div class="col-sm-12 mb-3"> |
<label for="projet">Projet *</label> |
<input type="text" name="projet" id="projet" class="form-control" pattern="[a-z]+" <?= ( $mode === 'modification' ) ? 'value="' . $widget['projet'] . '" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace"> |
</div> |
|
<label for="motscles">Autres mots-clés</label> |
<input type="text" name="motscles" id="motscles" value="" /> |
<div class="col-sm-12 mb-3"> |
<label for="motscles">Autres mots-clés</label> |
<input type="text" name="motscles" id="motscles" class="form-control" value="" /> |
</div> |
|
<label for="type">Type de widget</label> |
<div class="select-wrapper"> |
<select id="type" name="type"> |
<div class="col-sm-12 mb-3"> |
<label for="type">Type de widget</label> |
<select id="type" name="type" class="form-control"> |
<option value=""> ----</option> |
<?php foreach ( $type as $id => $projet ) : ?> |
<option <?php echo ( isset( $widget['projet'] ) && $projet['projet'] === $widget['projet'] ) ? 'selected="selected"' : ''; ?> value="<?= $projet['projet']; ?>"><?= $projet['projet']; ?></option> |
84,96 → 86,115 |
</select> |
</div> |
|
<label for="est_type">Ce widget est un widget type</label> |
<input type="checkbox" name="est_type" id="est_type" <?php echo ( isset( $widget['est_type'] ) && $projet['est_type'] === '1' ) ? 'checked="checked"' : ''; ?>> |
|
<label for="langue">Langue</label> |
<?php if ( $mode === 'modification' ) : ?> |
<input id="langue" name="langue" readonly value="<?= $widget['langue']; ?>"> |
<?php else : ?> |
<div class="select-wrapper"> |
<select id="langue" name="langue"> |
<div class="col-sm-12 radio mb-3"> |
<label for="est_type" class="radio-label"> |
<input type="checkbox" name="est_type" id="est_type" <?php echo ( isset( $widget['est_type'] ) && $projet['est_type'] === '1' ) ? 'checked="checked"' : ''; ?>> |
Ce widget est un widget type |
</label> |
</div> |
|
<div class="col-sm-12 mb-3"> |
<label for="langue">Langue</label> |
<?php if ( $mode === 'modification' ) : ?> |
<input id="langue" name="langue" class="form-control" readonly value="<?= $widget['langue']; ?>"> |
<?php else : ?> |
<select id="langue" name="langue" class="form-control"> |
<?php foreach ( $langues as $code => $langue ) : ?> |
<option value="<?= $code; ?>" <?= ( $code === 'fr' ) ? 'selected' : '';?>><?= $langue['nom']; ?></option> |
<?php endforeach; ?> |
</select> |
</div> |
<?php endif; ?> |
<?php endif; ?> |
</div> |
</div><!-- end #basic-details-section --> |
|
|
<div class="register-section" id="profile-details-description-section"> |
<div class="register-section row" id="profile-details-description-section"> |
<h2>Description</h2> |
<label for="titre">Titre</label> |
<input type="text" name="titre" id="titre" value="<?php echo isset( $widget['titre'] ) ? $widget['titre'] : ''; ?>"> |
<div class="col-sm-12 mb-3"> |
<label for="titre">Titre</label> |
<input type="text" name="titre" id="titre" class="form-control" value="<?php echo isset( $widget['titre'] ) ? $widget['titre'] : ''; ?>"> |
</div> |
|
<div class="input-file-container"> |
<input type="file" class="input-file" name="info" id="info" value="<?= $widget['titre']; ?>" accept="image/*"> |
<label for="info" class="label-file"><i class="fas fa-download"></i> Image d'aide dans le titre</label> |
<div class="input-file-row row"> |
<div class="input-file-container col-sm-10"> |
<input type="file" class="input-file" name="info" id="info" value="<?= $widget['titre']; ?>" accept="image/*"> |
<label for="info" class="label-file "><i class="fas fa-download"></i> Aide dans le titre</label> |
</div> |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return info hidden"></div> |
</div> |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return info hidden"></div> |
|
<label for="description">Description</label> |
<textarea name="description" id="description"><?php echo isset( $widget['description'] ) ? $widget['description'] : ''; ?></textarea> |
<div class="col-sm-12 mb-3"> |
<label for="description">Description</label> |
<textarea name="description" id="description" class="form-control"><?php echo isset( $widget['description'] ) ? $widget['description'] : ''; ?></textarea> |
</div> |
|
<div class="input-file-container"> |
<div class="input-file-row row"> |
<div class="input-file-container col-sm-10"> |
|
<?php |
if( isset( $widget['logo'] ) ) : |
$logo_src = $widget['logo']; |
$logo_img = |
'<img id="pre-existent-logo" src="' . $logo_src . '"><br>Pour changer, télécharger un nouveau fichier.'; |
$logo_hidden = ''; |
$logo_file_name = array_reverse( explode( '/', $logo_src ) ); |
else : |
$logo_src = ''; |
$logo_img = ''; |
$logo_hidden = ' hidden'; |
$logo_file_name = []; |
endif; |
?> |
<?php |
if( isset( $widget['logo'] ) ) : |
$logo_src = $widget['logo']; |
$logo_img = |
'<img id="pre-existent-logo" src="' . $logo_src . '"><br>Pour changer, télécharger un nouveau fichier.'; |
$logo_hidden = ''; |
$logo_file_name = array_reverse( explode( '/', $logo_src ) ); |
else : |
$logo_src = ''; |
$logo_img = ''; |
$logo_hidden = ' hidden'; |
$logo_file_name = []; |
endif; |
?> |
|
<input type="file" class="input-file" name="logo" id="logo" accept="image/*" value=""> |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label> |
<input type="file" class="input-file" name="logo" id="logo" accept="image/*" value=""> |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label> |
</div> |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"> |
<i class="fas fa-times" aria-hidden="true"></i> |
</div> |
<div class="file-return logo<?= $logo_hidden; ?>"> |
<?= $logo_file_name[0]; ?> |
<?= $logo_img; ?> |
</div> |
</div> |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"> |
<i class="fas fa-times" aria-hidden="true"></i> |
</div> |
<div class="file-return logo<?= $logo_hidden; ?>"> |
<?= $logo_file_name[0]; ?> |
<?= $logo_img; ?> |
</div> |
|
|
<div class="input-file-container"> |
<div class="input-file-row row"> |
<div class="input-file-container col-sm-10"> |
<input type="file" class="input-file" name="image_fond" id="image_fond" value="<?= $widget['titre']; ?>" accept="image/*"> |
<label for="image_fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label> |
</div> |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return image_fond hidden"></div> |
</div> |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return image_fond hidden"></div> |
|
</div><!-- end #profile-details-description-section --> |
|
<div class="register-section" id="profile-details-fields-section"> |
<div class="register-section row" id="profile-details-fields-section"> |
<h2>Champs</h2> |
<label for="type_localisation">Type de localisation</label> |
<div class="select-wrapper"> |
<select id="type_localisation" name="type_localisation" > |
|
<div class="col-sm-12 mb-3"> |
<label for="type_localisation">Type de localisation</label> |
<select id="type_localisation" name="type_localisation" class="form-control"> |
<option value="<?php echo ( isset( $widget['type_localisation'] ) ) ? $widget['type_localisation'] : 'point'; ?>"><?php echo ( isset( $widget['type_localisation'] ) ) ? $widget['type_localisation'] : 'point'; ?></option> |
<option value="<?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue' ) ? 'point' : 'rue'; ?>"><?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue') ? 'point' : 'rue'; ?></option> |
</select> |
</div> |
|
<label for="localisation">Zoom</label> |
<input type="text" name="localisation" id="localisation" value="<?php echo isset( $widget['localisation'] ) ? $widget['localisation'] : ''; ?>" /> |
<div class="col-sm-12 mb-3"> |
<label for="localisation">Zoom</label> |
<input type="text" name="localisation" id="localisation" class="form-control" value="<?php echo isset( $widget['localisation'] ) ? $widget['localisation'] : ''; ?>" /> |
</div> |
|
<label for="milieux">Milieux</label> |
<input type="text" name="milieux" id="milieux" value="<?php echo isset( $widget['milieux'] ) ? $widget['milieux'] : ''; ?>"> |
<div class="col-sm-12 mb-3"> |
<label for="milieux">Milieux</label> |
<input type="text" name="milieux" id="milieux" class="form-control" value="<?php echo isset( $widget['milieux'] ) ? $widget['milieux'] : ''; ?>"> |
</div> |
|
<label for="type_especes">Type liste espèce *</label> |
<div class="select-wrapper"> |
<select id="type_especes" name="type_especes" required> |
<div class="col-sm-12 mb-3"> |
<label for="type_especes">Type liste espèce *</label> |
<select id="type_especes" name="type_especes" required class="form-control"> |
<option selected="selected" value="referentiel">Référentiel</option> |
<option value="liste">Liste</option> |
<option value="liste" title="remplir référentiel + envoyer csv">Liste + autres</option> |
181,17 → 202,23 |
</select> |
</div> |
|
<label for="referentiel">Référentiel *</label> |
<input type="text" name="referentiel" id="referentiel" required pattern="([a-z]+?)*" title="Nom du référentiel ex. bdtfx" value="<?php echo isset( $widget['referentiel'] ) ? $widget['referentiel'] : ''; ?>"> |
<div class="col-sm-12 mb-3"> |
<label for="referentiel">Référentiel *</label> |
<input type="text" name="referentiel" id="referentiel" class="form-control" required pattern="([a-z]+?)*" title="Nom du référentiel ex. bdtfx" value="<?php echo isset( $widget['referentiel'] ) ? $widget['referentiel'] : ''; ?>"> |
</div> |
|
<!-- Bouton fichier-type à compléter --> |
<div class="input-file-container"> |
<input type="file" class="input-file" name="especes" id="especes"> |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces (<span style="text-transform:lowercase;">.csv</span>)</label> |
<div class="input-file-row row"> |
<div class="input-file-container col-sm-10"> |
<input type="file" class="input-file" name="especes" id="especes"> |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces (<span style="text-transform:lowercase;">.csv</span>)</label> |
</div> |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return especes hidden"></div> |
</div> |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div> |
<div class="file-return especes hidden"></div> |
<a href="#" class="button fichier-type"><i class="fas fa-file-alt" aria-hidden="true"></i> Fichier type</a> |
<div class="col-sm-12 mb-3"> |
<a href="<?= $url_base; ?>modules/manager/squelettes/img/fichier-type/especes.csv" class="button fichier-type" download><i class="fas fa-file-alt" aria-hidden="true"></i> Fichier type</a> |
</div> |
</div><!-- end #profile-details-fields-section --> |
|
<!--Submit--> |
216,7 → 243,7 |
</p> |
</form><!-- #new-fields = fomulaire oû viennent s'insérer les champs supplémentaires --> |
|
<div class="row"> |
<div id="new-fields-buttons" class="row"> |
<div class="col-md-4 col-sm-4 col-xs-4 buttons"> |
<label class="add-fields">Ajouter</label> |
<div class="button" id="add-fields" title="Ajouter un champ"><i class="fa fa-plus" aria-hidden="true"></i></div> |
231,12 → 258,11 |
</div> |
</div> |
|
<hr> |
|
</div><!-- end .widget-blocks = tout le bloc de gauche--> |
|
<div class="widget-blocks col-md-8"> |
<div id="right-block" class="widget-blocks"> |
<div class="widget-renderer"> |
<div id="preview-background"></div> |
|
<div id="preview-header" class="row"> |
<div id="preview-logo" class="col-md-4"></div> |
247,19 → 273,15 |
|
<div id="preview-messages" class="row"> |
|
<div id="preview-description" class="col-md-7"> |
<div class="message"> |
<h3> |
<span>Projet : </span> |
<span class="projet-description"></span> |
</h3> |
<div id="preview-description" class="col-md-6"> |
<div class=""> |
<p class="preview-description"></p> |
</div> |
|
</div><!-- end #preview-description --> |
|
<div id="preview-aide" class="col-md-5"> |
<div class="message"> |
<div id="preview-aide" class="col-md-6"> |
<div class=""> |
<h3>Aide</h3> |
<p> |
Cet outil vous permet de partager simplement vos observations avec |
292,39 → 314,19 |
|
<h2>Observateur</h2> |
|
<div id="zone-courriel" class="row"> |
|
<div class="col-md-6"> |
<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" 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 class="row"> |
<div id="bouton-connexion" class="col-md-6 col-sm-8"> |
<label for="bouton-connexion">Je me connecte à mon compte :</label> |
<div class="btn btn-success mr-1 mb-1">Connexion</div> |
<div class="btn btn-success mr-1 mb-1">Inscription</div> |
</div> |
|
<div id="zone-courriel-confirmation" class="col-md-6 "> |
<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" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" title="Veuillez saisir votre adresse courriel." required> |
<div id="creation-compte" class="col-md-6 col-sm-8"> |
<label for="creation-compte">Je ne souhaite pas m'inscrire :</label> |
<div class="btn btn-info mr-1 mb-1">Observation sans inscription</div> |
</div> |
|
</div> |
|
<div id="zone-prenom-nom" class="row"> |
|
<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" 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" pattern="[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð'-]+" title="Veuillez saisir votre nom"> |
</div> |
|
</div> |
|
</form> |
|
<form id="form-observation" role="form" autocomplete="on"> |
333,46 → 335,61 |
|
<div id="zone-observation" class="row"> |
|
<div class="col-md-6 "> |
<label for="courriel" class="" title="Veuillez saisir votre adresse courriel."> |
<i class="fa fa-envelope"></i> Geolocalisation * |
</label> |
<input type="email" id="courriel" name="courriel" title="Veuillez saisir votre adresse courriel. " required> |
<input type="hidden" id="id_utilisateur" name="id_utilisateur"> |
<div class="col-md-6 row"> |
<div class="col-md-12"> |
<label for="geolocalisation" id="label-geolocalisation" title="Veuillez saisir votre adresse courriel."> |
<i class="fa fa-envelope"></i> Geolocalisation |
</label> |
<div id="geolocalisation"> |
<img src="<?= $url_base?>/modules/manager/squelettes/img/geoloc/geoloc.png" alt="geolocalisation" width="90%"> |
</div> |
</div> |
|
<label for="milieu" class=""><i class="fa fa-street-view"></i> Milieu</label> |
<input type="text" id="milieu" name="milieu" placeholder="bois, champ, falaise, ..." pattern="[\D]+"> |
<div class="col-md-12"> |
<label for="milieu" id="label-milieu"> |
<i class="fa fa-street-view"></i> Milieu |
</label> |
<input type="text" id="milieu" name="milieu" class="form-control" placeholder="bois, champ, falaise, ..."> |
</div> |
</div> |
|
<div class="col-md-6"> |
<label for="date" class="" title=""> |
<i class="fa fa-calendar"></i> Date de relevé * |
</label> |
<div class="date" id="datetimepicker"> |
<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 class="col-md-6 row"> |
<div class="col-md-12"> |
<label for="date" id="label-date" title=""> |
<i class="fa fa-calendar"></i> Date de relevé |
</label> |
<div class="date"> |
<input type="date" id="date" class="form-control" name="date" title="jj/mm/aaaa" required> |
</div> |
</div> |
|
<label for="referentiel" class="" title=""> |
<i class="fa fa-book"></i> Référentiel * |
</label> |
<div class="select-wrapper add-field-select"> |
<select id="referentiel" name="referentiel" required> |
<option value="" selected="" title="">-</option> |
</select> |
<div class="col-md-12"> |
<label for="taxon" id="label-taxon" title=""> |
<i class="fa fa-leaf"></i> Espèce<span></span> |
</label> |
<div class="taxon"> |
<input type="text" name="taxon" id="taxon" class="form-control"> |
</div> |
</div> |
|
<label for="taxon" class="" title=""><i class="fa fa-leaf"></i> Espèce</label> |
<div class="date"> |
<input type="text" name="taxon" id="taxon" > |
<div class="col-md-12"> |
<label for="certitude" id="label-certitude" title=""> |
<i class="fa fa-question"></i> Certitude |
</label> |
<select id="certitude" name="certitude" class="form-control" required> |
<option value="" >À déterminer</option> |
<option value="" >Douteuse</option> |
<option value="" selected="selected" >Certaine</option> |
</select> |
</div> |
|
<label for="certitude" class="" title=""> |
<i class="fa fa-question"></i> Certitude * |
</label> |
<div class="select-wrapper add-field-select"> |
<select id="certitude" name="certitude" required> |
<option value="">-</option> |
</select> |
<div class="col-md-12"> |
<label for="notes" id="label-notes" title=""> |
<i class="fa fa-pen" aria-hidden="true"></i> Notes |
</label> |
<div class="notes"> |
<textarea id="notes" name="notes" class="form-control" placeholder="Vous pouvez éventuellement ajouter des informations complémentaires à votre observation."></textarea> |
</div> |
</div> |
</div> |
|
383,10 → 400,23 |
<!-- formulaire d'affichage des bouveaux champs --> |
<form id="form-supp" role="form" autocomplete="on"> |
<div id="zone-supp" class="row align-items-center"> |
<div class="col-md-6 preview-container"></div> |
<div class="col-md-6 preview-container row"></div> |
</div> |
</form> |
|
<!-- formulaire d'upload d'images --> |
<form id="form-upload" class="" action="" method="" enctype="multipart/form-data"> |
<h2>Image(s) de cette plante</h2> |
<p class="miniature-info" class="discretion help-inline"> |
Les photos doivent être au format JPEG et ne doivent pas excéder 5Mo chacunes. |
</p> |
<div> |
<div class="btn btn-large btn-info mb-3"> |
<span class=""><i class="fas fa-download"></i> Ajouter une image</span> |
</div> |
</div> |
</form> |
|
</div><!-- end #preview-formulaire --> |
|
</div><!-- end #widget-renderer--> |
402,7 → 432,7 |
<div class="modal-header"> |
<h5 class="modal-title" id="help-modal-label"></h5> |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
<span aria-hidden="true">×</span> |
<span aria-hidden="true">×</span> |
</button> |
</div> |
<div class="modal-body" id="print_content"></div> |
426,6 → 456,7 |
<!-- Jquery Form :nécessaire pour l'upload des images --> |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script> |
<!-- Bootstrap --> |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script> |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script> |
<script type="text/javascript" src="<?= $url_base; ?>modules/manager/squelettes/js/manager.js"></script> |
<!-- Barre de navigation --> |