19 lines
855 B
HTML
19 lines
855 B
HTML
{% if session['theme'] == 'darkmode' %}
|
|
{% extends "base_dark.html" %}
|
|
{% else %}
|
|
{% extends "base.html" %}
|
|
{% endif %}
|
|
|
|
{% block title %}Add Changelog{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="form-container" style="max-width: 600px; margin: 30px auto;">
|
|
<h2>Add a New Changelog</h2>
|
|
<form action="{{ url_for('add_changelog') }}" method="post">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<textarea name="changelog" rows="5" style="width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ccc;" placeholder="Enter the changelog details here..." required></textarea>
|
|
<button type="submit" style="margin-top: 10px; background-color: #007BFF; color: white; padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer;">Submit</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|