style part 1 + pokoje
This commit is contained in:
parent
2c8293d5a2
commit
c4a5468abb
0
env/bin/django-admin
vendored
Executable file → Normal file
0
env/bin/django-admin
vendored
Executable file → Normal file
0
env/bin/django-admin.py
vendored
Executable file → Normal file
0
env/bin/django-admin.py
vendored
Executable file → Normal file
0
env/bin/easy_install
vendored
Executable file → Normal file
0
env/bin/easy_install
vendored
Executable file → Normal file
0
env/bin/easy_install-3.5
vendored
Executable file → Normal file
0
env/bin/easy_install-3.5
vendored
Executable file → Normal file
0
env/bin/pip
vendored
Executable file → Normal file
0
env/bin/pip
vendored
Executable file → Normal file
0
env/bin/pip3
vendored
Executable file → Normal file
0
env/bin/pip3
vendored
Executable file → Normal file
0
env/bin/pip3.5
vendored
Executable file → Normal file
0
env/bin/pip3.5
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/bin/django-admin.py
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/bin/django-admin.py
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/conf/project_template/manage.py-tpl
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/conf/project_template/manage.py-tpl
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.js
vendored
Executable file → Normal file
0
env/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/vendor/xregexp/xregexp.js
vendored
Executable file → Normal file
BIN
hotel/db.sqlite3
BIN
hotel/db.sqlite3
Binary file not shown.
BIN
hotel/hotel/__pycache__/__init__.cpython-36.pyc
Normal file
BIN
hotel/hotel/__pycache__/__init__.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/hotel/__pycache__/settings.cpython-36.pyc
Normal file
BIN
hotel/hotel/__pycache__/settings.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/hotel/__pycache__/urls.cpython-36.pyc
Normal file
BIN
hotel/hotel/__pycache__/urls.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/hotel/__pycache__/wsgi.cpython-36.pyc
Normal file
BIN
hotel/hotel/__pycache__/wsgi.cpython-36.pyc
Normal file
Binary file not shown.
@ -37,7 +37,6 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
0
hotel/manage.py
Executable file → Normal file
0
hotel/manage.py
Executable file → Normal file
BIN
hotel/rooms/__pycache__/__init__.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/__init__.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/__pycache__/admin.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/admin.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/__pycache__/apps.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/apps.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/__pycache__/models.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/models.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/__pycache__/urls.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/urls.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/__pycache__/views.cpython-36.pyc
Normal file
BIN
hotel/rooms/__pycache__/views.cpython-36.pyc
Normal file
Binary file not shown.
BIN
hotel/rooms/migrations/__pycache__/0001_initial.cpython-36.pyc
Normal file
BIN
hotel/rooms/migrations/__pycache__/0001_initial.cpython-36.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
hotel/rooms/migrations/__pycache__/__init__.cpython-36.pyc
Normal file
BIN
hotel/rooms/migrations/__pycache__/__init__.cpython-36.pyc
Normal file
Binary file not shown.
22
hotel/rooms/static/style.css
Normal file
22
hotel/rooms/static/style.css
Normal 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;
|
||||||
|
}
|
@ -1,16 +1,18 @@
|
|||||||
|
{% load static %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Title</title>
|
<title>Hotel INO Scrum</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<table>
|
<table id="hotels">
|
||||||
<th>Numer pokoju</th>
|
<th>Numer pokoju</th>
|
||||||
<th>Typ pokoju</th>
|
<th>Typ pokoju</th>
|
||||||
<th>Cena</th>
|
<th>Cena</th>
|
||||||
<th> </th>
|
<th>Rezerwacja</th>
|
||||||
{% for room in rooms %}
|
{% for room in rooms %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ room.room_number }}</td>
|
<td>{{ room.room_number }}</td>
|
||||||
@ -20,7 +22,7 @@
|
|||||||
{% if room.reserved %}
|
{% if room.reserved %}
|
||||||
ZAREZERWOWANE
|
ZAREZERWOWANE
|
||||||
{% else %}
|
{% else %}
|
||||||
Miejsce na przycisk
|
MIEJSCE NA PRZYCISK
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -28,4 +30,4 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user