refactor: Move head to tmp

This commit is contained in:
chest 2025-01-24 23:58:28 +03:00 committed by Sweetbread
parent db3eb73bc0
commit 2b5cd9782f
7 changed files with 28 additions and 31 deletions

View File

@ -9,7 +9,7 @@
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(0 0 0 / 85%);
background-color: rgb(225, 225, 225);
display: none;
}

View File

@ -1,11 +1,6 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<script src="{{ url_for('static', filename='scripts/popup.js') }}"></script>
<meta charset="UTF-8">
<title>Попакошька</title>
</head>
{% include 'head.html' %}
<body>
{% include 'header.html' %}
@ -27,3 +22,4 @@
</div>
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
</body>
</html>

View File

@ -1,10 +1,6 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<meta charset="UTF-8">
<title>Попакошька</title>
</head>
{% include 'head.html' %}
<body>
{% include 'header.html' %}
@ -21,3 +17,4 @@
</div>
<img class="helpimg" src="{{ url_for('static', filename='imgs/icon.png') }}">
</body>
</html>

7
templates/head.html Normal file
View File

@ -0,0 +1,7 @@
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<script src="{{ url_for('static', filename='scripts/index.js') }}"></script>
<meta charset="UTF-8">
<title>Попакошька</title>
</head>

View File

@ -1,12 +1,7 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<meta charset="UTF-8">
<title>Попакошька</title>
</head>
{% include 'head.html' %}
<body>
{% include 'header.html' %}
<div class="container">
@ -29,11 +24,8 @@
</div>
</div>
<img class="helpimg" src="{{ url_for('static', filename='imgs/icon.png') }}">
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
<!-- <img src="{{ url_for('static', filename='imgs/Madoka-Kaname.webp') }}"> -->
</body>
</html>

View File

@ -1,10 +1,6 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<meta charset="UTF-8">
<title>Попакошька</title>
</head>
{% include 'head.html' %}
<body>
{% include 'header.html' %}
@ -19,5 +15,14 @@
<!-- <a href="">lfi</a>-->
</nav>
</div>
<img class="helpimg" src="{{ url_for('static', filename='imgs/icon.png') }}">
<div id="popup-overlay">
<div id="popup">
<p class="simpletext">я попка кошки с подсказкой</p>
</div>
</div>
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
</body>
</html>