master
Jeremy DUCOURTHIAL 3 years ago
parent 99cee16cd8
commit cdd04ef984

@ -1,13 +1,10 @@
<!doctype html> <!doctype html>
<link href="css/administration.css" rel="stylesheet" type="text/css"> <link href="css/administration.css" rel="stylesheet" type="text/css">
<html> <html>
<form action="index.php?action=ajoutSource" method="POST"> <div id="pageRight">
<input type="text" name="linkSource" placeholder="source" /> <div id="listSources">
<input type="submit" value="add source"> <div>
</form> <?php
</html>
<?php
foreach ($listeSources as $n){ foreach ($listeSources as $n){
echo '<form action="index.php?action=supprimerSource&idSource='.$n->getlink().'">'; echo '<form action="index.php?action=supprimerSource&idSource='.$n->getlink().'">';
echo "<div class=source>"; echo "<div class=source>";
@ -18,9 +15,20 @@
echo "</div>"; echo "</div>";
echo "</form>"; echo "</form>";
} }
?> ?>
</div>
<form action="index.php"> <div id="listSourceBottom">
<form action="../index.php?action=ajoutSource" method="POST">
<input type="text" name="linkSource" placeholder="source" />
<input type="submit" value="add source">
</form>
</div>
</div>
<div id="refresh">
<form action="index.php">
<input type="hidden" name="action" value="refreshData"> <input type="hidden" name="action" value="refreshData">
<input type="submit" value="refresh"> <input type="submit" id="buttonRefresh" value="refresh">
</form> </form>
</div>
</div>
</html>
Loading…
Cancel
Save