Css fix form
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ title }}</title>
|
||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||
<link href="/static/css/report.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="logout">
|
||||
@@ -44,9 +45,9 @@
|
||||
<button type="submit" value="read">Просмотр</button>
|
||||
{% endif %}
|
||||
</form>
|
||||
<div class="return">
|
||||
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="return">
|
||||
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -42,9 +42,8 @@ div.login button {
|
||||
}
|
||||
|
||||
div.return {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
div.return button {
|
||||
@@ -52,10 +51,8 @@ div.return button {
|
||||
}
|
||||
|
||||
div.form {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin-left: 30%;
|
||||
margin-right: 30%;
|
||||
text-align: center;
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
@@ -79,12 +76,6 @@ div.form select, div.form input[type=number] {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.form .period {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
div.form button {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
5
App/static/css/report.css
Normal file
5
App/static/css/report.css
Normal file
@@ -0,0 +1,5 @@
|
||||
div.form .period {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
Reference in New Issue
Block a user