Open ellieyhcheng opened 2 years ago
Flask documentation on creating an endpoint that renders a webpage.
Documentation on HTML Buttons and on HTML Forms. You should make a form for the button, even though it doesn't really take in any other input. Make it a "submit" button that uses GET (not POST), and uses action
to go to /admin
.
Example of form with submit: https://github.com/uclaacm/acm-url/blob/main/acm_url/templates/url.html
/admin
/all
that takes you to the page