last-version

This commit is contained in:
Dhaverd 2023-01-30 12:09:32 +08:00
parent 93c92562a7
commit 9447c27c13
39 changed files with 32 additions and 16 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-e5_t(3qi0zd$42t*akukbr5^*@#znl-x-xxej94!*!!9g%0nwj
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['dhaverd.ru', '176.114.129.4', '127.0.0.1', 'localhost', '192.168.0.105', '0.0.0.0']
AUTH_USER_MODEL = 'main.User'
LOGIN_REDIRECT_URL = '/'
@ -81,19 +81,11 @@ WSGI_APPLICATION = 'djangosite.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'workout',
'USER': 'root',
'PASSWORD': 'root',
'HOST': 'localhost',
'PORT': 3307,
},
'workout': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'workout',
'USER': 'dhaverd',
'PASSWORD': 'Dha.Verd506763',
'HOST': '192.168.0.105',
'HOST': 'localhost',
'PORT': 3306,
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,4 @@
/*
$("#form").on("submit", function(){
$.ajax({
url: '/src/login.php',
@ -8,7 +9,7 @@ $("#form").on("submit", function(){
$('#message').html(data);
}
});
});
});*/
$('body').on('click', '#password-checkbox', function(){
if ($(this).is(':checked')){

View File

@ -7,6 +7,7 @@ $(document).ready(function() {
getData();
}
});
TodayIsTheDay();
});
// TODO Доделать!

View File

@ -503,4 +503,9 @@ h2 {
.forgot-pass-link a {
font-family: segoe print;
font-size: 16px;
}
.ollie {
font-size: 20px;
margin-left: 3em;
}

View File

@ -484,4 +484,9 @@ h2 {
.forgot-pass-link a {
font-family: segoe print;
font-size: 14px;
}
.ollie {
font-size: 12px;
margin-left: 3em;
}

View File

@ -2,8 +2,19 @@
{% block maincontent %}
<section class="main-content index-main-content" id="main-content">
<h1 class="page-title">Приветствую!</h1>
<p class="content-text">Данный сайт разработан для личного использования. Здесь можно найти репозиторий Git. Также тут можно найти мои сервера Minecraft, Project Zomboid и иногда других игр. Еще у нас есть свой мессенджер MyChat</p>
<h1 class="page-title">Приветствуем!</h1>
<!--<p class="content-text">Данный сайт разработан для личного использования. Здесь можно найти репозиторий Git. Также тут можно найти мои сервера Minecraft, Project Zomboid и иногда других игр. Еще у нас есть свой мессенджер MyChat</p>-->
<p class="content-text">Данный сайт разработан для : </p>
<p class="content-text">1. Доступа к репозиторию Git</p>
<p class="content-text">2. Для просмотра и редактирования программ тренировок</p>
<p class="content-text">3 .Также тут можно найти наши сервера для игр, таких как:
<ul class='ollie'>
<li>Minecraft</li>
<li>Project Zomboid</li>
<li>Иногда других игр</li>
</ul>
</p>
<p class="content-text">4. Ещё у нас есть свой мессенджер MyChat</p>
</section>
{% endblock %}
{% block titletext %}Dhaverd{% endblock %}

View File

@ -6,7 +6,7 @@
<h1 class="page-title">У нас имеются следующие сервера:</h1>
<section class="server-temp">
<h2 class="server-name">Minecraft 1.16.1 Vanilla</h2>
<h3 class="server-ips">IP: 176.114.129.4:25565</h3>
<h3 class="server-ips">IP: 176.114.129.4:25566</h3>
<img class="minecraft-vanilla" src="{% static 'main/src/img/minecraft_vanilla.jpg' %}">
<!--<section class="image-content">
</section>-->

View File

@ -13,7 +13,7 @@
{% for row in tw1 %}
{% if forloop.first %}
<tr>
<td class="table-head-top" colspan="5">
<td class="table-head-top" colspan="4">
<b>{{ row.week }}</b>
</td>
</tr>
@ -35,7 +35,7 @@
{% if prevdate == row.date %}
{% else %}
<tr>
<td class="table-head" colspan="5">
<td class="table-head" colspan="4">
<b class="day-name">[{{row.date}}] {{row.day_name}}</b>
</td>
</tr>

Binary file not shown.

Binary file not shown.

1
run.cmd Normal file
View File

@ -0,0 +1 @@
python manage.py runserver 0.0.0.0:80