parent
e30680cc8f
commit
2f494abcba
@ -0,0 +1,33 @@
|
|||||||
|
html{
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#listSources{
|
||||||
|
border: black;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 30px;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#listSourceBottom{
|
||||||
|
border-top: solid;
|
||||||
|
padding-top: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pageRight{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#refresh{
|
||||||
|
margin: 10px;
|
||||||
|
background-color: white;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 30px;
|
||||||
|
text-align: center;
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#buttonRefresh{
|
||||||
|
padding: 10px;
|
||||||
|
}
|
@ -1,21 +1,31 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<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
|
||||||
|
foreach ($listeSources as $n){
|
||||||
|
echo "<div class=source>";
|
||||||
|
echo "<p id=link>";
|
||||||
|
echo $n->getlink();
|
||||||
|
echo "</p>";
|
||||||
|
echo "</div>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<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="submit" id="buttonRefresh" value="refresh">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<?php
|
|
||||||
foreach ($listeSources as $n){
|
|
||||||
echo "<div class=source>";
|
|
||||||
echo "<p id=link>";
|
|
||||||
echo $n->getlink();
|
|
||||||
echo "</p>";
|
|
||||||
echo "</div>";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<form action="index.php">
|
|
||||||
<input type="hidden" name="action" value="refreshData">
|
|
||||||
<input type="submit" value="refresh">
|
|
||||||
</form>
|
|
Loading…
Reference in new issue