week3Flask
This commit is contained in:
15
templates/index.html
Normal file
15
templates/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user