Skip to content
Snippets Groups Projects
Commit 787548e9 authored by ICARD Sebastien, Nicolas, Julien's avatar ICARD Sebastien, Nicolas, Julien
Browse files

Upload New File

parent 5310057e
Branches main
No related tags found
No related merge requests found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pastebin Service</title>
</head>
<body>
<h1>Pastebin Service</h1>
<!-- Formulaire pour créer un nouveau snippet -->
<form action="/snippets" method="post">
<textarea name="content" placeholder="Enter your snippet content here..."></textarea>
<br>
<input type="submit" value="Create Snippet">
</form>
<!-- Liste des snippets récents -->
<h2>Recent Snippets:</h2>
<ul>
{% for snippet in snippets %}
<li>ID: {{ snippet.id }} - Content: {{ snippet.content }}</li>
{% endfor %}
</ul>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment