Files
goodgarden/templates/index.html
mohammedcifci78 fc76dc14a3 week3Flask
2024-02-28 12:09:36 +01:00

16 lines
622 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Python Script Interaction</title>
<script src="{{ url_for('static', filename='index.js') }}"></script>
</head>
<body>
<h1>Choose Operation</h1>
<label for="operation_choice">Choose operation (C for Create, R for Read, U for Update, D for Delete): </label>
<input type="text" id="operation_choice" name="operation_choice" required>
<button onclick="executeOperation(document.getElementById('operation_choice').value)">Submit</button>
</body>
</html>