Line 43... |
Line 43... |
43 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
|
43 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
|
44 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
|
44 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
|
45 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
|
45 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
|
46 |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
46 |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
Line 47... |
Line -... |
47 |
|
- |
|
48 |
<!-- Barre de navigation -->
|
- |
|
49 |
<?php if ($bar !== false): ?>
|
- |
|
50 |
<script src="<?php echo $url_script_navigation; ?>"></script>
|
- |
|
51 |
<?php endif; ?>
|
- |
|
52 |
|
47 |
|
53 |
<!-- CSS -->
|
48 |
<!-- CSS -->
|
54 |
<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" />
|
49 |
<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" />
|
55 |
<link href="https://www.tela-botanica.org/commun/bootstrap/2.0.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" />
|
50 |
<link href="https://www.tela-botanica.org/commun/bootstrap/2.0.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" />
|
56 |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />
|
51 |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />
|
Line 73... |
Line 68... |
73 |
<div id="tb-navigation" data-courant="widget-cel-export" data-squelette="bootstrap3" data-mode="prod"></div>
|
68 |
<div id="tb-navigation" data-courant="widget-cel-export" data-squelette="bootstrap3" data-mode="prod"></div>
|
74 |
<br/>
|
69 |
<br/>
|
75 |
<?php endif; ?>
|
70 |
<?php endif; ?>
|
76 |
<h1 id="widget-titre" class="widget-titre"><?php echo ucfirst($mode); ?> de widget de saisie du CEL</h1>
|
71 |
<h1 id="widget-titre" class="widget-titre"><?php echo ucfirst($mode); ?> de widget de saisie du CEL</h1>
|
77 |
<div id="register-page">
|
72 |
<div id="register-page">
|
78 |
<div class="row">
|
73 |
<div id="group-settings-form" class="row">
|
Line 79... |
Line 74... |
79 |
|
74 |
|
Line 80... |
Line 75... |
80 |
<div class="widget-blocks col-md-4">
|
75 |
<div class="widget-blocks col-md-4">
|
81 |
|
- |
|
82 |
<div id="group-settings-form">
|
- |
|
83 |
<form action="http://localhost/cel/widget/manager?mode=<?php echo $mode; ?>" id="new-widget-form" class="standard-form component component-text" method="post" enctype="multipart/form-data">
|
- |
|
84 |
<div class="register-section" id="basic-details-section">
|
- |
|
85 |
|
- |
|
86 |
<h2>Meta-données</h2>
|
76 |
|
87 |
|
- |
|
88 |
<?php //var_dump($widget); ?>
|
- |
|
89 |
<label for="projet">Projet *</label>
|
- |
|
90 |
<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" />
|
77 |
<p class="message">
|
91 |
|
78 |
<?php if ($mode === 'modification') : ?>
|
92 |
<label for="motscles">Autres mots-clés</label>
|
- |
|
93 |
<input type="text" name="motscles" id="motscles" value="" />
|
- |
|
94 |
|
79 |
Attention vous modifiez un widget déjà existant, le tag et la langue ne peuvent pas être changer.
|
95 |
<label for="type">Type de widget</label>
|
- |
|
96 |
<div class="select-wrapper">
|
80 |
S'il s'agit d'un projet type, en modifiant ce widget vous modifiez tous les widgets de ce type.
|
97 |
<select id="type" name="type" >
|
- |
|
98 |
<?php foreach ($type as $id => $projet) : ?>
|
- |
|
99 |
<option <?php echo (isset($widget['projet']) && $projet['projet']== $widget['projet']) ? 'selected="selected"' : ''; ?> value="<?php echo $projet['projet']; ?>"><?php echo $projet['projet']; ?></option>
|
81 |
<?php else : ?>
|
100 |
<?php endforeach; ?>
|
82 |
Vous créez un widget, si vous choississez de le mettre dans un type, certains champs deviendront
|
101 |
<option value=""> ----</option>
|
83 |
obligatoires et la localisation (point ou rue) sera automatiquement déterminée.
|
Line 102... |
Line 84... |
102 |
</select>
|
84 |
<?php endif; ?>
|
103 |
</div>
|
85 |
</p>
|
Line 104... |
Line -... |
104 |
|
- |
|
105 |
<label for="est_type">Ce widget est un widget type</label>
|
- |
|
106 |
<input type="checkbox" name="est_type" id="est_type" <?php echo (isset($widget['est_type']) && $projet['est_type']=== '1') ? 'checked="checked"' : ''; ?>>
|
- |
|
107 |
|
- |
|
108 |
<label for="langue">Langue</label>
|
- |
|
109 |
<?php if ($mode === 'modification') : ?>
|
- |
|
110 |
<input id="langue" name="langue" readonly value="<?php echo $widget['langue']; ?>">
|
- |
|
111 |
<?php else : ?>
|
- |
|
112 |
<input id="langue" name="langue" list="langues">
|
- |
|
113 |
<datalist id="langues" >
|
- |
|
114 |
<?php foreach ($langues as $code => $langue) : ?>
|
- |
|
115 |
<option value="<?php echo $code; ?>"><?php echo $langue['nom']; ?></option>
|
- |
|
116 |
<?php endforeach; ?>
|
- |
|
117 |
</datalist>
|
- |
|
118 |
<?php endif; ?>
|
- |
|
119 |
</div><!-- end #basic-details-section -->
|
86 |
|
120 |
|
- |
|
121 |
|
- |
|
122 |
<div class="register-section" id="profile-details-description-section">
|
- |
|
123 |
<h2>Description</h2>
|
- |
|
124 |
<label for="titre">Titre</label>
|
- |
|
125 |
<input type="text" name="titre" id="titre" value="<?php echo isset($widget['titre']) ? $widget['titre'] : ''; ?>">
|
- |
|
126 |
|
- |
|
127 |
<label for="description">Description</label>
|
- |
|
128 |
<textarea name="description" id="description"><?php echo isset($widget['description']) ? $widget['description'] : ''; ?></textarea>
|
- |
|
129 |
|
- |
|
130 |
<div class="input-file-container">
|
- |
|
Line -... |
Line 87... |
- |
|
87 |
<form action="http://localhost/cel/widget/manager?mode=<?php echo $mode; ?>" id="basic-widget-form" class="standard-form component component-text" method="post" enctype="multipart/form-data">
|
- |
|
88 |
<div class="register-section" id="basic-details-section">
|
- |
|
89 |
|
- |
|
90 |
<h2>Meta-données</h2>
|
- |
|
91 |
|
- |
|
92 |
<?php //var_dump($widget); ?>
|
- |
|
93 |
<label for="projet">Projet *</label>
|
- |
|
94 |
<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" />
|
- |
|
95 |
|
- |
|
96 |
<label for="motscles">Autres mots-clés</label>
|
- |
|
97 |
<input type="text" name="motscles" id="motscles" value="" />
|
131 |
<input type="file" class="input-file" name="logo" id="logo" accept="image">
|
98 |
|
- |
|
99 |
<label for="type">Type de widget</label>
|
- |
|
100 |
<div class="select-wrapper">
|
- |
|
101 |
<select id="type" name="type" >
|
- |
|
102 |
<?php foreach ($type as $id => $projet) : ?>
|
Line 132... |
Line 103... |
132 |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label>
|
103 |
<option <?php echo (isset($widget['projet']) && $projet['projet']== $widget['projet']) ? 'selected="selected"' : ''; ?> value="<?php echo $projet['projet']; ?>"><?php echo $projet['projet']; ?></option>
|
133 |
</div>
|
104 |
<?php endforeach; ?>
|
134 |
<div class="file-return logo"></div>
|
- |
|
135 |
|
- |
|
136 |
<?php echo isset($widget['logo']) ? '<img src="'.$widget['logo'].'"><br />Pour changer, télécharger un nouveau fichier.': ''; ?>
|
- |
|
137 |
|
- |
|
Line -... |
Line 105... |
- |
|
105 |
<option value=""> ----</option>
|
- |
|
106 |
</select>
|
138 |
<div class="input-file-container">
|
107 |
</div>
|
139 |
<input type="file" class="input-file" name="fond" id="fond" value="<?php echo $widget['titre']; ?>">
|
108 |
|
140 |
<label for="fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
109 |
<label for="est_type">Ce widget est un widget type</label>
|
141 |
</div>
|
110 |
<input type="checkbox" name="est_type" id="est_type" <?php echo (isset($widget['est_type']) && $projet['est_type']=== '1') ? 'checked="checked"' : ''; ?>>
|
142 |
<div class="file-return fond"></div>
|
111 |
|
143 |
</div><!-- end #profile-details-description-section -->
|
112 |
<label for="langue">Langue</label>
|
144 |
|
113 |
<?php if ($mode === 'modification') : ?>
|
145 |
<div class="register-section" id="profile-details-fields-section">
|
114 |
<input id="langue" name="langue" readonly value="<?php echo $widget['langue']; ?>">
|
- |
|
115 |
<?php else : ?>
|
- |
|
116 |
<input id="langue" name="langue" list="langues">
|
- |
|
117 |
<datalist id="langues" >
|
- |
|
118 |
<?php foreach ($langues as $code => $langue) : ?>
|
- |
|
119 |
<option value="<?php echo $code; ?>"><?php echo $langue['nom']; ?></option>
|
- |
|
120 |
<?php endforeach; ?>
|
- |
|
121 |
</datalist>
|
- |
|
122 |
<?php endif; ?>
|
- |
|
123 |
</div><!-- end #basic-details-section -->
|
- |
|
124 |
|
- |
|
125 |
|
- |
|
126 |
<div class="register-section" id="profile-details-description-section">
|
- |
|
127 |
<h2>Description</h2>
|
- |
|
128 |
<label for="titre">Titre</label>
|
- |
|
129 |
<input type="text" name="titre" id="titre" value="<?php echo isset($widget['titre']) ? $widget['titre'] : ''; ?>">
|
146 |
<h2>Champs</h2>
|
130 |
|
- |
|
131 |
<label for="description">Description</label>
|
- |
|
132 |
<textarea name="description" id="description"><?php echo isset($widget['description']) ? $widget['description'] : ''; ?></textarea>
|
Line 147... |
Line -... |
147 |
<label for="type_localisation">Type de localisation</label>
|
- |
|
148 |
<div class="select-wrapper">
|
133 |
|
Line -... |
Line 134... |
- |
|
134 |
<div class="input-file-container">
|
- |
|
135 |
<input type="file" class="input-file" name="logo" id="logo" accept="image">
|
- |
|
136 |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label>
|
- |
|
137 |
</div>
|
- |
|
138 |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
- |
|
139 |
<div class="file-return logo hidden"></div>
|
- |
|
140 |
|
- |
|
141 |
<?php echo isset($widget['logo']) ? '<img src="'.$widget['logo'].'"><br />Pour changer, télécharger un nouveau fichier.': ''; ?>
|
- |
|
142 |
|
- |
|
143 |
<div class="input-file-container">
|
149 |
<select id="type_localisation" name="type_localisation" >
|
144 |
<input type="file" class="input-file" name="fond" id="fond" value="<?php echo $widget['titre']; ?>">
|
- |
|
145 |
<label for="fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
- |
|
146 |
</div>
|
- |
|
147 |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
150 |
<option value="<?php echo (isset($widget['type_localisation'])) ? $widget['type_localisation'] : 'point'; ?>"><?php echo (isset($widget['type_localisation'])) ? $widget['type_localisation'] : 'point'; ?></option>
|
148 |
<div class="file-return fond hidden"></div>
|
- |
|
149 |
</div><!-- end #profile-details-description-section -->
|
- |
|
150 |
|
Line 151... |
Line 151... |
151 |
<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>
|
151 |
<div class="register-section" id="profile-details-fields-section">
|
152 |
</select>
|
- |
|
153 |
</div>
|
- |
|
154 |
|
- |
|
155 |
<label for="localisation">Zoom</label>
|
- |
|
156 |
<input type="text" name="localisation" id="localisation" value="<?php echo isset($widget['localisation']) ? $widget['localisation'] : ''; ?>" />
|
152 |
<h2>Champs</h2>
|
157 |
|
- |
|
158 |
<label for="milieux">Milieux</label>
|
- |
|
159 |
<input type="text" name="milieux" id="milieux" value="<?php echo isset($widget['milieux']) ? $widget['milieux'] : ''; ?>">
|
- |
|
Line 160... |
Line 153... |
160 |
|
153 |
<label for="type_localisation">Type de localisation</label>
|
161 |
<label for="type_especes">Type liste espèce *</label>
|
154 |
<div class="select-wrapper">
|
162 |
<div class="select-wrapper">
|
- |
|
163 |
<select id="type_especes" name="type_especes" required>
|
- |
|
164 |
<option selected="selected" value="referentiel">Référentiel</option>
|
- |
|
165 |
<option value="liste">Liste</option>
|
- |
|
166 |
<option value="liste" title="remplir référentiel + envoyer csv">Liste + autres</option>
|
- |
|
167 |
<option value="fixe">Espèce fixée</option>
|
- |
|
Line -... |
Line 155... |
- |
|
155 |
<select id="type_localisation" name="type_localisation" >
|
168 |
</select>
|
156 |
<option value="<?php echo (isset($widget['type_localisation'])) ? $widget['type_localisation'] : 'point'; ?>"><?php echo (isset($widget['type_localisation'])) ? $widget['type_localisation'] : 'point'; ?></option>
|
- |
|
157 |
<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>
|
169 |
</div>
|
158 |
</select>
|
- |
|
159 |
</div>
|
170 |
|
160 |
|
- |
|
161 |
<label for="localisation">Zoom</label>
|
- |
|
162 |
<input type="text" name="localisation" id="localisation" value="<?php echo isset($widget['localisation']) ? $widget['localisation'] : ''; ?>" />
|
171 |
<label for="referentiel">Référentiel *</label>
|
163 |
|
172 |
<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'] : ''; ?>">
|
- |
|
Line 173... |
Line 164... |
173 |
<div class="input-file-container">
|
164 |
<label for="milieux">Milieux</label>
|
- |
|
165 |
<input type="text" name="milieux" id="milieux" value="<?php echo isset($widget['milieux']) ? $widget['milieux'] : ''; ?>">
|
Line 174... |
Line -... |
174 |
<input type="file" class="input-file" name="especes" id="especes">
|
- |
|
175 |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces</label> fichier type
|
166 |
|
176 |
</div>
|
- |
|
177 |
<div class="file-return especes"></div>
|
- |
|
178 |
</div><!-- end #profile-details-fields-section -->
|
- |
|
179 |
|
- |
|
180 |
<!--Submit-->
|
167 |
<label for="type_especes">Type liste espèce *</label>
|
181 |
<div class="submit complete-registration" id="submit-button">
|
168 |
<div class="select-wrapper">
|
182 |
<button href="#" type="submit" name="signup_submit" id="signup_submit" class="button" target="" title=""><span class="button-text">Terminer </span></button>
|
- |
|
183 |
</div>
|
- |
|
184 |
<!--Submit-->
|
- |
|
185 |
|
169 |
<select id="type_especes" name="type_especes" required>
|
186 |
</form><!-- end #new-widget-form -->
|
- |
|
187 |
|
170 |
<option selected="selected" value="referentiel">Référentiel</option>
|
- |
|
171 |
<option value="liste">Liste</option>
|
- |
|
172 |
<option value="liste" title="remplir référentiel + envoyer csv">Liste + autres</option>
|
- |
|
173 |
<option value="fixe">Espèce fixée</option>
|
- |
|
174 |
</select>
|
- |
|
175 |
</div>
|
- |
|
176 |
|
- |
|
177 |
<label for="referentiel">Référentiel *</label>
|
- |
|
178 |
<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'] : ''; ?>">
|
188 |
<form id="new-fields">
|
179 |
|
- |
|
180 |
<!-- Bouton fichier-type à compléter -->
|
Line -... |
Line 181... |
- |
|
181 |
<div class="input-file-container">
|
- |
|
182 |
<input type="file" class="input-file" name="especes" id="especes">
|
- |
|
183 |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces</label>
|
- |
|
184 |
</div>
|
- |
|
185 |
<div class="remove-file button" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
- |
|
186 |
<a href="#" class="button fichier-type"><i class="fas fa-file-alt" aria-hidden="true"></i> Fichier type</a>
|
- |
|
187 |
<div class="file-return especes hidden"></div>
|
- |
|
188 |
</div><!-- end #profile-details-fields-section -->
|
- |
|
189 |
|
- |
|
190 |
<!--Submit-->
|
- |
|
191 |
<div class="submit complete-registration" id="submit-button">
|
- |
|
192 |
<button href="#" type="submit" name="signup_submit" id="signup_submit" class="button" target="" title="Soumettre le nouveau widget"><i class="fas fa-trophy" aria-hidden="true"></i> Terminer</button>
|
- |
|
193 |
</div>
|
189 |
<h2>Ajouter des champs</h2>
|
194 |
<!--Submit-->
|
- |
|
195 |
|
- |
|
196 |
</form><!-- end #new-widget-form -->
|
- |
|
197 |
|
- |
|
198 |
<form id="new-fields" autocomplete="off">
|
- |
|
199 |
<h2>Ajouter des champs</h2>
|
- |
|
200 |
<p class="message">
|
- |
|
201 |
<i class="fa fa-exclamation-triangle" aria-hidden="true" style="color:#ff5d55"></i>
|
- |
|
202 |
Attention :
|
- |
|
203 |
<br>
|
- |
|
204 |
<i class="fa fa-bolt" aria-hidden="true" style="color:#B3C954"></i>
|
- |
|
205 |
Le bouton "Valider" sert à valider les champs supplémentaires uniquement
|
- |
|
206 |
<br>
|
- |
|
207 |
<i class="fas fa-trophy" aria-hidden="true" style="color:#B3C954"></i>
|
- |
|
208 |
Le bouton "Terminer" sert à envoyer la totalité du nouveau widget
|
- |
|
209 |
</p>
|
190 |
<p class="message"><i class="fa fa-exclamation-triangle" aria-hidden="true" style="color:#ff5d55"></i> Attention : Ces nouveaux champs (tout comme le widget) ne seront pris en compte qu'une fois le formulaire validé</p>
|
210 |
</form><!-- #new-fields = fomulaire oû viennent s'insérer les champs supplémentaires -->
|
Line -... |
Line 211... |
- |
|
211 |
|
- |
|
212 |
<div class="row">
|
191 |
</form><!-- #new-fields = fomulaire oû viennent s'insérer les champs supplémentaires -->
|
213 |
<div class="col-md-4 col-sm-4 col-xs-4 buttons">
|
Line 192... |
Line 214... |
192 |
|
214 |
<label class="add-fields">Ajouter</label>
|
193 |
<div class="row">
|
- |
|
194 |
<div class="col-md-6">
|
- |
|
195 |
<label class="add-fields">Ajouter champs</label>
|
- |
|
196 |
<div class="button" id="add-fields" title="Ajouter un champ"><i class="fa fa-plus" aria-hidden="true"></i></div>
|
- |
|
197 |
</div>
|
- |
|
198 |
<div class="col-md-6">
|
- |
|
199 |
<label class="validate-new-fields">Valider champs</label>
|
- |
|
200 |
<div class="button disabled" id="validate-new-fields" title="Valider les champs supplémentaires"><i class="fa fa-check" aria-hidden="true"></i></div>
|
- |
|
201 |
</div>
|
- |
|
202 |
</div>
|
215 |
<div class="button" id="add-fields" title="Ajouter un champ"><i class="fa fa-plus" aria-hidden="true"></i></div>
|
203 |
|
216 |
</div>
|
Line 204... |
Line 217... |
204 |
<hr>
|
217 |
<div class="col-md-4 col-sm-4 col-xs-4 buttons">
|
205 |
</div>
|
- |
|
206 |
|
218 |
<label for="preview-field">Prévisualiser</label>
|
207 |
</div><!-- end .widget-blocks = tout le bloc de gauche-->
|
219 |
<div class="button" id="preview-field" name="preview-field" title="prévisualiser"><i class="fa fa-magic" aria-hidden="true"></i></div>
|
- |
|
220 |
</div>
|
208 |
|
221 |
<div class="col-md-4 col-sm-4 col-xs-4 buttons">
|
209 |
<div class="widget-blocks col-md-8 project">
|
222 |
<label class="validate-new-fields">Valider</label>
|
210 |
<p class="message">
|
223 |
<div class="button" id="validate-new-fields" title="Valider les champs supplémentaires"><i class="fa fa-bolt" aria-hidden="true"></i></div>
|
211 |
<?php if ($mode === 'modification') : ?>
|
- |
|
Line 212... |
Line 224... |
212 |
Attention vous modifiez un widget déjà existant, le tag et la langue ne peuvent pas être changer.
|
224 |
</div>
|
Line 213... |
Line 225... |
213 |
S'il s'agit d'un projet type, en modifiant ce widget vous modifiez tous les widgets de ce type.
|
225 |
</div>
|
Line 214... |
Line 226... |
214 |
<?php else : ?>
|
226 |
|
- |
|
227 |
<hr>
|
- |
|
228 |
|
- |
|
229 |
</div><!-- end .widget-blocks = tout le bloc de gauche-->
|
- |
|
230 |
|
- |
|
231 |
<div class="widget-blocks col-md-8">
|
215 |
Vous créez un widget, si vous choississez de le mettre dans un type, certains champs deviendront
|
232 |
<!-- <iframe src="http://localhost/widget:cel:saisie2?projet=<?php echo isset($widget['projet'])?$widget['projet']:'base'; ?>" class="widget-renderer" height="100%" width="100%" ></iframe> -->
|
- |
|
233 |
<div class="widget-renderer" style="background:rgba(248, 245, 239, 0.6);">
|
216 |
obligatoires et la localisation (point ou rue) sera automatiquement déterminée.
|
234 |
|
Line 217... |
Line 235... |
217 |
<?php endif; ?>
|
235 |
<div id="preview-header" class="row">
|
- |
|
236 |
<div id="preview-logo" class="col-md-4">
|
218 |
</p>
|
237 |
<img src="" alt="" width="75%">
|
219 |
<!-- <iframe src="http://localhost/widget:cel:saisie2?projet=<?php echo isset($widget['projet'])?$widget['projet']:'base'; ?>" class="widget-renderer" height="100%" width="100%" ></iframe> -->
|
238 |
</div>
|
220 |
<div class="widget-renderer">
|
239 |
<div id="preview-title" class="col-md-8">
|
221 |
|
240 |
<h1></h1>
|
222 |
<div class="row">
|
241 |
</div>
|
223 |
|
242 |
|
224 |
<div class="col-md-4">
|
243 |
</div>
|
225 |
<img id="preview-logo" src="" alt="">
|
244 |
|
226 |
<div id="preview-title" class="col-md-8">
|
245 |
<div id="preview-messages" class="row">
|
227 |
<h1></h1>
|
246 |
|
228 |
</div>
|
247 |
<div id="preview-description" class="col-md-7">
|
229 |
</div>
|
248 |
<div class="message">
|
230 |
|
249 |
<h3>
|
231 |
</div>
|
250 |
<span>Projet : </span>
|
232 |
|
251 |
<span class="projet-description"></span>
|
233 |
<div class="row">
|
252 |
</h3>
|
234 |
|
253 |
<p class="preview-description"></p>
|
235 |
<div id="preview-description" class="col-md-6">
|
254 |
</div>
|
236 |
<div class="preview-description message"></div>
|
255 |
</div><!-- end #preview-description -->
|
237 |
</div><!-- end #preview-description -->
|
256 |
|
238 |
|
257 |
<div id="preview-aide" class="col-md-5">
|
239 |
<div id="preview-aide" class="message col-md-6">
|
258 |
<div class="message">
|
240 |
<h3>Aide</h3>
|
259 |
<h3>Aide</h3>
|
- |
|
260 |
<p>
|
241 |
<p>
|
261 |
Cet outil vous permet de partager simplement vos observations avec
|
242 |
Cet outil vous permet de partager simplement vos observations avec
|
262 |
le <a target="_blank" href="https://www.tela-botanica.org/site:accueil">réseau Tela Botanica</a>
|
Line 243... |
Line 263... |
243 |
le <a target="_blank" href="https://www.tela-botanica.org/site:accueil">réseau Tela Botanica</a>
|
263 |
(<a target="_blank" href="https://www.tela-botanica.org/page:licence">licence CC-BY-SA</a>).
|
Line 375... |
Line 395... |
375 |
|
395 |
|
Line 376... |
Line 396... |
376 |
</form>
|
396 |
</form>
|
377 |
|
397 |
|
378 |
<form id="form-supp" role="form" autocomplete="on">
|
398 |
<form id="form-supp" role="form" autocomplete="on">
|
379 |
<div id="zone-supp" class="row align-items-center">
|
399 |
<div id="zone-supp" class="row align-items-center">
|
380 |
<div class="col-md-6"></div>
|
400 |
<div class="col-md-6 preview-container"></div>
|
Line 381... |
Line 401... |
381 |
</div>
|
401 |
</div>
|
Line 390... |
Line 410... |
390 |
</div><!-- #widget-blocks = tout le bloc de droite-->
|
410 |
</div><!-- #widget-blocks = tout le bloc de droite-->
|
Line 391... |
Line 411... |
391 |
|
411 |
|
392 |
</div>
|
412 |
</div>
|
393 |
</div>
|
413 |
</div>
|
- |
|
414 |
</div>
|
- |
|
415 |
<div id="help-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="help-modal-label" style="display: none;" aria-hidden="true">
|
- |
|
416 |
<div class="modal-dialog modal-dialog-centered" role="document">
|
- |
|
417 |
<div class="modal-content">
|
- |
|
418 |
<div class="modal-header">
|
- |
|
419 |
<h5 class="modal-title" id="help-modal-label"></h5>
|
- |
|
420 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
- |
|
421 |
<span aria-hidden="true">×</span>
|
- |
|
422 |
</button>
|
- |
|
423 |
</div>
|
- |
|
424 |
<div class="modal-body" id="print_content"></div>
|
- |
|
425 |
<div class="modal-footer">
|
- |
|
426 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
|
- |
|
427 |
</div>
|
- |
|
428 |
</div>
|
- |
|
429 |
</div>
|
394 |
</div>
|
430 |
</div>
|
- |
|
431 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/manager/squelettes/js/manager.js"></script>
|
395 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/manager/squelettes/js/manager.js"></script>
|
432 |
</script>
|
396 |
</body>
|
433 |
</body>
|