style part 1 + pokoje

This commit is contained in:
Łukasz Jędyk 2019-01-13 15:17:14 +01:00
parent 2c8293d5a2
commit c4a5468abb
30 changed files with 29 additions and 6 deletions

0
env/bin/django-admin vendored Executable file → Normal file
View File

0
env/bin/django-admin.py vendored Executable file → Normal file
View File

0
env/bin/easy_install vendored Executable file → Normal file
View File

0
env/bin/easy_install-3.5 vendored Executable file → Normal file
View File

0
env/bin/pip vendored Executable file → Normal file
View File

0
env/bin/pip3 vendored Executable file → Normal file
View File

0
env/bin/pip3.5 vendored Executable file → Normal file
View File

0
env/lib/python3.5/site-packages/django/bin/django-admin.py vendored Executable file → Normal file
View File

View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -37,7 +37,6 @@ INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
MIDDLEWARE = [

0
hotel/manage.py Executable file → Normal file
View File

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

@ -0,0 +1,22 @@
#hotels {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 60%;
margin-left: 20%;
margin-right: 20%;
}
#hotels td, #hotels th {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}
#hotels tr:hover {background-color: #f2f2f2;}
#hotels th {
padding-top: 12px;
padding-bottom: 12px;
background-color: #000000;
color: white;
}

View File

@ -1,16 +1,18 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
<meta charset="UTF-8">
<title>Title</title>
<title>Hotel INO Scrum</title>
</head>
<body>
<table>
<table id="hotels">
<th>Numer pokoju</th>
<th>Typ pokoju</th>
<th>Cena</th>
<th> </th>
<th>Rezerwacja</th>
{% for room in rooms %}
<tr>
<td>{{ room.room_number }}</td>
@ -20,7 +22,7 @@
{% if room.reserved %}
ZAREZERWOWANE
{% else %}
Miejsce na przycisk
MIEJSCE NA PRZYCISK
{% endif %}
</td>
</tr>