mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Добовил страницу ошибки
This commit is contained in:
29
static/css/components/error.css
Normal file
29
static/css/components/error.css
Normal file
@@ -0,0 +1,29 @@
|
||||
.error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.not_found {
|
||||
color: #f9b43b;
|
||||
font-family: 'Gagalin';
|
||||
padding-left: 100px;
|
||||
}
|
||||
.not_found-title {
|
||||
font-size: 220px;
|
||||
font-weight: 400;
|
||||
line-height: 1.42;
|
||||
margin: 0;
|
||||
}
|
||||
.not_found-text {
|
||||
font-size: 79px;
|
||||
font-weight: 400;
|
||||
line-height: 1.42;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
.not_found-img {
|
||||
height: 571px;
|
||||
}
|
||||
.img404 {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -35,4 +35,10 @@
|
||||
src: url('../../fonts/Roboto-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Gagalin';
|
||||
src: url('../../fonts/gagalin-regular-webfont.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
@import "layout/normalize.css";
|
||||
@import "components/footer.css";
|
||||
@import "components/header.css";
|
||||
@import "components/error.css";
|
||||
|
||||
/* главная-- */
|
||||
|
||||
|
||||
BIN
static/fonts/gagalin-regular-webfont.woff2
Normal file
BIN
static/fonts/gagalin-regular-webfont.woff2
Normal file
Binary file not shown.
96
templates/error.html
Normal file
96
templates/error.html
Normal file
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru-RU">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>jarvis</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = './css/main.css') }}">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- header -->
|
||||
<header class="header">
|
||||
<div class="container clearfix">
|
||||
<div class="header_left clearfix">
|
||||
<a href="/" class="logo-decor">
|
||||
<img class="logo_icon" src="{{ url_for('static', filename='./img/815a836e51c6f20226cb07df7f32895c.png') }}" alt="">
|
||||
<p class="logo-text">J.a.r.v.i.s </p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="header_right">
|
||||
<div class="contacts">
|
||||
<div class="drop">
|
||||
<a href="" class="contacts__schedule">Нужна помощь?</a>
|
||||
|
||||
<div class="dropdown dropdown_mod">
|
||||
<div class="drop-block drop-block_mod">
|
||||
<div class="triangle triangle_mod"></div>
|
||||
<p>Обратитесь в службу поддержки по адресу:<b>jarvis@mail.ru</b> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<section class="container error">
|
||||
<div class="not_found">
|
||||
<h1 class="not_found-title">404</h1>
|
||||
<h2 class="not_found-text">not found</h2>
|
||||
|
||||
</div>
|
||||
<div class="not_found-img">
|
||||
<img src="../static/img/pngfuel.com.png" alt="" class="img404">
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- заглушка -->
|
||||
<footer class="footer clearfix">
|
||||
<div class="container">
|
||||
<div class="footer-q clearfix">
|
||||
<p class="footer-full-text">Сделано с любовью и старанием на курсе ВГУ "Тестирование ПО" <b class="footer-text_name"></b> </p>
|
||||
</div>
|
||||
<div class="footer-q clearfix">
|
||||
<a href="/" class="logo-text">j.a.r.v.i.s</a>
|
||||
</div>
|
||||
<div class="footer-q clearfix">
|
||||
<p class="footer-messeger_text">Наши социальные сети</p>
|
||||
<ul class="footer-messeger">
|
||||
<li class="footer-messeger__item ">
|
||||
<a href="" class="footer-messeger__link">
|
||||
<img src="{{ url_for('static', filename='./img/vk.png') }}" class="footer-messeger__icon" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-messeger__item">
|
||||
<a href="" class="footer-messeger__link ">
|
||||
<img src="{{ url_for('static', filename='./img/fb.png') }}" class="footer-messeger__icon" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-messeger__item">
|
||||
<a href="" class="footer-messeger__link">
|
||||
<img src="{{ url_for('static', filename='./img/google.png') }}" class="footer-messeger__icon" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-messeger__item">
|
||||
<a href="" class="footer-messeger__link">
|
||||
<img src="{{ url_for('static', filename='./img/twitter.png') }}" class="footer-messeger__icon" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-messeger__item">
|
||||
<a href="" class="footer-messeger__link">
|
||||
<img src="{{ url_for('static', filename='./img/mail.png') }}" class="footer-messeger__icon" alt="">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user