refractor blogpost and cdn chall

This commit is contained in:
Jonathan committed 2025-10-10 22:37:11 +07:00
1 parent 2d51b73a1e
commit bb3f6e74aa
47 files changed
-544

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h2>Upload image</h2>
<form method="post" enctype="multipart/form-data">
<label>Title</label>
<input name="title" placeholder="My picture" />
<label>Image file (png/jpg/jpeg/bmp)</label>
<input type="file" name="image" accept=".png,.jpg,.jpeg,.bmp" required />
<label>Notes (optional, saved with metadata)</label>
<textarea name="notes" rows="4" placeholder="CDN descriptors, tags, etc."></textarea>
<button type="submit">Upload</button>
</form>
{% endblock %}