modified: templates/index.html modified: templates/login.html modified: templates/settings.html
33 lines
1.6 KiB
HTML
33 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Settings</title>
|
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="container mt-5">
|
|
<h1 class="text-center">Bot Settings</h1>
|
|
<div class="card mt-4">
|
|
<div class="card-body">
|
|
<form method="POST" action="{{ url_for('settings') }}">
|
|
<div class="form-group">
|
|
<label for="introduction">Introduction Text</label>
|
|
<textarea id="introduction" name="introduction" class="form-control" rows="5">{{ introduction }}</textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="asknotes_introduction">Asknotes Introduction Text</label>
|
|
<textarea id="asknotes_introduction" name="asknotes_introduction" class="form-control" rows="5">{{ asknotes_introduction }}</textarea>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block">Save Settings</button>
|
|
</form>
|
|
<a href="{{ url_for('index') }}" class="btn btn-secondary btn-block mt-3">Back to Dashboard</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html>
|