add css style

This commit is contained in:
bretello 2024-06-14 21:32:25 +02:00
parent 66bad99a4e
commit c947c33866
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 20 additions and 4 deletions

15
static/style.css Normal file
View File

@ -0,0 +1,15 @@
.form {
margin: 0 auto;
margin-top: 10%;
width: 300px;
}
thead {
}
tbody {
}
td {
padding: 15px;
}

View File

@ -1,16 +1,17 @@
<html> <html>
<head> <head>
<title>{{ title }}</title> <title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head> </head>
<img src="static/ZXSpectrum+2-grey.jpg" alt="logo" style="align:center" /> <img src="static/ZXSpectrum+2-grey.jpg" alt="logo" style="align:center" />
<body> <body>
<div style="margin: 0 auto; margin-top: 30%; width:300px"> <div id="form">
<form <form
action="/upload" action="/upload"
method="POST" method="POST"
enctype="multipart/form-data" enctype="multipart/form-data">
>
<input type="file" name="file" /> <input type="file" name="file" />
<button type="submit">Upload</button> <button type="submit">Upload</button>
</form> </form>
@ -18,7 +19,7 @@
<div> <div>
<p> Cassette:</p> <p> Cassette:</p>
<table border="1"> <table border="1" id="table">
<thead> <thead>
<tr> <tr>
<th>Nome</th> <th>Nome</th>