entries.html 1.58 KB
{% extends "base.html" %}

{% load static %}
{% load crispy_forms_tags %}

{% block title %}Hasła{% endblock %}

{% block styles %}
    <!--link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css"-->
    <!--link rel="stylesheet" type="text/css" href="{% static 'entries/css/panels.css' %}"-->
{% endblock %}

{% block scripts %}
    <!--script src="{% static 'entries/js/panels.js' %}"></script-->
    <script src="{% static 'entries/js/entries.js' %}"></script>
{% endblock %}

{% block content %}

<!--TODO remove or remodel status and warning-->

<!--div class="card info bg-dark border-0" id="status">
    <div class="card-body"></div>
</div>

<div class="card info" id="warning">
    <div class="card-body bg-warning"></div>
</div-->

<div class="row h-100">
    <!-- left panel: list of entries -->
    <div id="entries-list" class="col-2 h-100 overflow-auto border-right border-primary">
        {% include "entries_list.html" %}
    </div>
    
    <!-- right panel: entry display (syntax, semantics, examples) -->
    <div class="col h-100">
        <div id="entry-display" class="container-fluid h-75 overflow-auto">
            {% include "entry_display.html" %}
        </div>
        <div id="examples-display" class="row h-25 overflow-auto border-top border-primary">
            <p class="p-2">Tu będą przykłady.</p>
        </div>
    </div>
</div>

<div class="row d-none">

<div class="card bg-dark text-light">
    <div class="card-body">
        {% crispy filters_form %}
    </div>
</div>

</div>

{% endblock %}