Line 71... |
Line 71... |
71 |
<div class="widget-blocks col-md-4">
|
71 |
<div class="widget-blocks col-md-4">
|
72 |
<form action="http://localhost/cel/widget/manager?mode=<?php echo $mode; ?>" name="" id="group-settings-form" class="standard-form component component-text" method="post" enctype="multipart/form-data">
|
72 |
<form action="http://localhost/cel/widget/manager?mode=<?php echo $mode; ?>" name="" id="group-settings-form" class="standard-form component component-text" method="post" enctype="multipart/form-data">
|
73 |
<div class="register-section" id="basic-details-section">
|
73 |
<div class="register-section" id="basic-details-section">
|
74 |
<h2>Meta-données</h2>
|
74 |
<h2>Meta-données</h2>
|
Line -... |
Line 75... |
- |
|
75 |
|
75 |
|
76 |
<?php //var_dump($widget); ?>
|
76 |
<label for="projet">Projet *</label>
|
77 |
<label for="projet">Projet *</label>
|
Line 77... |
Line 78... |
77 |
<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" />
|
78 |
<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" />
|
78 |
|
79 |
|
Line 116... |
Line 117... |
116 |
|
117 |
|
117 |
<div class="input-file-container">
|
118 |
<div class="input-file-container">
|
118 |
<input type="file" class="input-file" name="logo" id="logo" accept="image" />
|
119 |
<input type="file" class="input-file" name="logo" id="logo" accept="image" />
|
119 |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label>
|
120 |
<label for="logo" class="label-file"><i class="fas fa-download"></i> Logo</label>
|
120 |
</div>
|
121 |
</div>
|
Line 121... |
Line 122... |
121 |
<p class="file-return"></p>
|
122 |
<div class="file-return logo"></div>
|
Line 122... |
Line 123... |
122 |
|
123 |
|
123 |
<?php echo isset($widget['logo']) ? '<img src="'.$widget['logo'].'" /><br />Pour changer, télécharger un nouveau fichier.': ''; ?>
|
124 |
<?php echo isset($widget['logo']) ? '<img src="'.$widget['logo'].'" /><br />Pour changer, télécharger un nouveau fichier.': ''; ?>
|
124 |
|
125 |
|
125 |
<div class="input-file-container">
|
126 |
<div class="input-file-container">
|
126 |
<input type="file" class="input-file" name="fond" id="fond" value="<?php echo $widget['titre']; ?>" />
|
127 |
<input type="file" class="input-file" name="fond" id="fond" value="<?php echo $widget['titre']; ?>" />
|
127 |
<label for="fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
128 |
<label for="fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
Line 128... |
Line 129... |
128 |
</div>
|
129 |
</div>
|
129 |
<p class="file-return"></p>
|
130 |
<div class="file-return fond"></div>
|
130 |
</div><!-- #profile-details-description-section -->
|
131 |
</div><!-- #profile-details-description-section -->
|
Line 162... |
Line 163... |
162 |
<div class="input-file-container">
|
163 |
<div class="input-file-container">
|
163 |
<input type="file" class="input-file" name="especes" id="especes" />
|
164 |
<input type="file" class="input-file" name="especes" id="especes" />
|
164 |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces</label>
|
165 |
<label for="especes"class="label-file"><i class="fas fa-download"></i> Espèces</label>
|
165 |
fichier type
|
166 |
fichier type
|
166 |
</div>
|
167 |
</div>
|
167 |
<p class="file-return"></p>
|
168 |
<p class="file-return especes"></p>
|
Line 168... |
Line 169... |
168 |
|
169 |
|
169 |
|
170 |
|
170 |
<label for="add_fields">Ajouter un champ</label>
|
171 |
<label for="add_fields">Ajouter un champ</label>
|