1
0
forked from Tank/braga

Compare commits

...

No commits in common. "master" and "main" have entirely different histories.
master ... main

7 changed files with 61 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 114 KiB

59
logout.html Normal file
View File

@ -0,0 +1,59 @@
<!--
logout.html
Copyright 2026 Lida <lida@lida-laptol>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Вход в мои чаны</title>
<link rel="icon" href="public/img/icon.png" type="image/png">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 2.0" />
<style>
body {
background-color: #282a36;
overflow: hidden;
}
.background-image {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.im-getter {
max-width: 80%;
max-height: 80%;
display: block;
}
</style>
</head>
<body>
<div class="background-image" onclick="location.assign('/')">
<img src="public/img/logout_icon.png" class="im-getter"></img>
</div>
</body>
</html>

View File

@ -1,4 +1,4 @@
lua_package_path "/var/www/blog/?.lua;/var/www/braga/?.lua;/var/www/appphotos/?.lua;/var/www/apihh/?.lua;;";
lua_package_path "/var/www/blog/?.lua;/var/www/braga/?.lua;/var/www/appphotos/?.lua;/var/www/apihh/?.lua;;";
lua_code_cache off;
worker_processes auto;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

BIN
public/img/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 KiB

BIN
public/img/logout_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 KiB

View File

@ -34,7 +34,7 @@
</a>
</div>
<div class="navbar-end">
<a href="/logout" class="navbar-item is-tab is-active"><span class="icon is-medium"><i class="fa fa-male"></i></span>Выйти</a>
<a href="/logout.html" class="navbar-item is-tab is-active"><span class="icon is-medium"><i class="fa fa-male"></i></span>Выйти</a>
</div>
</nav>
</div>