This commit is contained in:
Radek
2025-03-31 10:46:49 +01:00
parent 9b778e1cc9
commit dafa85963c
11 changed files with 279 additions and 0 deletions

37
app/static/css/styles.css Normal file
View File

@@ -0,0 +1,37 @@
/* Base styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
/* Navigation styles */
nav {
@apply bg-gray-800 text-white p-4;
}
nav a {
@apply text-white mx-4 no-underline;
}
/* Form styles */
form {
@apply max-w-md mx-auto my-8 p-6 bg-white rounded-lg shadow-md;
}
form label {
@apply block mb-2;
}
form input {
@apply w-full p-2 mb-4 border border-gray-300 rounded;
}
form button {
@apply py-2 px-4 bg-gray-800 text-white rounded cursor-pointer;
}
form button:hover {
@apply bg-gray-700;
}

13
app/static/js/scripts.js Normal file
View File

@@ -0,0 +1,13 @@
// JavaScript for handling form submissions and other dynamic behavior
// Example function to handle form submission
document.addEventListener('DOMContentLoaded', function() {
const form = document.querySelector('form');
if (form) {
form.addEventListener('submit', function(event) {
event.preventDefault();
// Add form validation or submission logic here
alert('Form submitted!');
});
}
});