Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3261 → Rev 3262

/trunk/widget/modules/manager/squelettes/creation.tpl.html
78,7 → 78,7
 
<div class="col-sm-12 mb-3">
<label for="type">Type de widget</label>
<select id="type" name="type" class="form-control">
<select id="type" name="type" class="form-control custom-select">
<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>
99,7 → 99,7
<?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">
<select id="langue" name="langue" class="form-control custom-select">
<?php foreach ( $langues as $code => $langue ) : ?>
<option value="<?= $code; ?>" <?= ( $code === 'fr' ) ? 'selected' : '';?>><?= $langue['nom']; ?></option>
<?php endforeach; ?>
176,7 → 176,7
 
<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">
<select id="type_localisation" name="type_localisation" class="form-control custom-select">
<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>
194,7 → 194,7
 
<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">
<select id="type_especes" name="type_especes" required class="form-control custom-select">
<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>
221,7 → 221,7
<div class="file-return especes hidden"></div>
</div>
<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>
<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 -->
 
380,7 → 380,7
<label for="certitude" id="label-certitude" title="">
<i class="fa fa-question"></i> Certitude
</label>
<select id="certitude" name="certitude" class="form-control" required>
<select id="certitude" name="certitude" class="form-control custom-select" required>
<option value="" >À déterminer</option>
<option value="" >Douteuse</option>
<option value="" selected="selected" >Certaine</option>
/trunk/widget/modules/manager/squelettes/js/manager.js
161,7 → 161,7
// Type de champ
'<div class="col-sm-12 mt-3 add-field-select" data-id="' + fieldIndex + '">'+
'<label for="field-element" title="Quel type de champ">Type de champ *</label>'+
'<select name="field-element" data-id="' + fieldIndex + '" class="field-element form-control">'+
'<select name="field-element" data-id="' + fieldIndex + '" class="field-element form-control custom-select">'+
'<option value="text">Champ texte</option>'+
'<option value="email">Champ email</option>'+
'<option value="textarea">Champ rédaction</option>'+
1060,7 → 1060,7
// Info bulle
commonFieldsHtml.titleAttr +
// Class
' class="form-control ' + fieldElement + '"' +
' class="form-control custom-select ' + fieldElement + '"' +
'>' +
// Apparait dans la barre de sélection
'<option>Plusieurs choix possibles</option>' +
1145,7 → 1145,7
 
case 'select':
commonFieldsHtml.fieldInput.classAttr = commonFieldsHtml.fieldInput.classAttr.slice(0, -1);
commonFieldsHtml.fieldInput.classAttr += ' form-control"';
commonFieldsHtml.fieldInput.classAttr += ' form-control custom-select"';
fieldHtml =
// Conteneur/Wrapper
// +Classe 'and-help'