bornhack-website/src/bar/templates/bar_menu.html

61 lines
1.8 KiB
HTML
Raw Normal View History

2017-08-26 01:48:02 +00:00
{% load static from staticfiles %}
{% load bootstrap3 %}
{% load menubutton %}
{% static "" as baseurl %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{% block title %}BornHack{% endblock %}</title>
<!-- Bootstrap core CSS -->
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
<!-- FontAwesome CSS -->
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{% static 'css/bornhack.css' %}" rel="stylesheet">
{% bootstrap_javascript jquery=1 %}
<!-- favicon.ico stuff -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
</head>
<body class="bar-menu">
2017-08-26 01:48:02 +00:00
{% block content %}
<h1 class="container">WIP - Work In Progress-Bar</h1>
<hr />
2017-08-26 01:48:02 +00:00
<div class="bar-row container container-fluid">
2017-08-26 01:48:02 +00:00
{% for category in categories %}
<h1>{{ category.name }}</h1>
{% for product in category.products.all %}
{% if product.in_stock %}
2017-08-26 01:48:02 +00:00
<div class="bar-product">
<h4 class="name">{{ product.name }}</h4>
<h4 class="pull-right price">{{ product.price }} HAX</h4>
2017-08-26 01:48:02 +00:00
</div>
{% endif %}
2017-08-26 01:48:02 +00:00
{% endfor %}
{% endfor %}
</div>
{% endblock %}
</body>
</html>