First pass at reworked rigboard layout on mobile

This commit is contained in:
2020-03-18 01:39:21 +00:00
parent 89ddb09459
commit 12d8b46f86
6 changed files with 73 additions and 30 deletions

View File

@@ -3,11 +3,16 @@
{% block title %}Rigboard{% endblock %}
{% block content %}
<div>
<h1 class="bd-title">Rigboard</h1>
<div class="row">
<h1 class="bd-title col-xs-12">Rigboard</h1>
{% if perms.RIGS.add_event %}
<a href="{% url 'event_create' %}" class="btn btn-success float-right my-3">New <i class="fas fa-plus"></i></a>
<a href="{% url 'event_create' %}" class="btn btn-success float-right my-3 col-xs-12">New <i class="fas fa-plus"></i></a>
{% endif %}
</div>
{% include 'event_table.html' %}
<div class="d-none d-md-block">
{% include 'event_table.html' %}
</div>
<div class="d-xs-block d-sm-block d-md-none">
{% include 'event_table_mobile.html' %}
</div>
{% endblock %}