Víðir Valberg Guðmundsson
20f380dfd6
* Bump django from 2.2.8 to 3.0.2 in /src/requirements Bumps [django](https://github.com/django/django) from 2.2.8 to 3.0.2. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/2.2.8...3.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Planked code form betterforms. * Remove betterform from requirements. * Try with master of django-allauth-2fa. * Use static templatetag library, staticfiles is gone. * Use newly released django-allauth-2fa 0.8 instead of git url. * Django 3.0.3 is out. Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
62 lines
1.9 KiB
HTML
62 lines
1.9 KiB
HTML
{% load static %}
|
|
{% 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">
|
|
<meta http-equiv="refresh" content="5; URL={% url 'menu' camp_slug=camp.slug %}">
|
|
|
|
<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">
|
|
|
|
{% block content %}
|
|
<h1 class="container">WIP - Work In Progress-Bar</h1>
|
|
<hr />
|
|
|
|
<div class="bar-row container container-fluid">
|
|
|
|
|
|
{% for category in categories %}
|
|
<h3><strong>{{ category.name }}</strong></h3>
|
|
|
|
{% for product in category.products.all %}
|
|
{% if product.in_stock %}
|
|
<div class="bar-product">
|
|
<span class="name">{{ product.name }}</span>
|
|
<span class="pull-right price">{{ product.price }} HAX</span>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|