Initial bar app.

This commit is contained in:
Vidir Valberg Gudmundsson 2017-08-26 03:48:02 +02:00
parent 365827805c
commit db6a1c733d
3 changed files with 30 additions and 0 deletions

View file

@ -43,6 +43,7 @@ INSTALLED_APPS = [
'teams', 'teams',
'people', 'people',
'tickets', 'tickets',
'bar',
'allauth', 'allauth',
'allauth.account', 'allauth.account',

View file

@ -13,6 +13,7 @@ from sponsors.views import *
from teams.views import * from teams.views import *
from people.views import * from people.views import *
from tickets.views import ShopTicketListView from tickets.views import ShopTicketListView
from bar.views import MenuView
urlpatterns = [ urlpatterns = [
url( url(
@ -263,6 +264,12 @@ urlpatterns = [
name='sponsors' name='sponsors'
), ),
url(
r'^bar/menu$',
MenuView.as_view(),
name='menu'
),
url( url(
r'^villages/', include([ r'^villages/', include([
url( url(

View file

@ -274,3 +274,25 @@ footer {
.sponsor .caption { .sponsor .caption {
text-align: center; text-align: center;
} }
.bar-row {
-moz-column-width: 300px;
-webkit-column-width: 300px;
column-width: 300px;
}
.bar-product {
display: flex;
justify-content: flex-start;
border-bottom: 1px solid lightgrey;
}
.bar-product .name {
width: 900px;
}
.bar-product .price {
width: 300px;
}