table_view.html 1.06 KB
{% extends "base.html" %}
{% load format_date pagination_tags version_static i18n %}

{% block extrahead %}
    <link rel="stylesheet" type="text/css"
          href="{% version_static 'css/table_view.css' %}"/>
    <script type="text/javascript"
            src="{% version_static 'js/lib/cvi_busy_lib.js' %}"></script>
    <script type="text/javascript"
            src="{% version_static 'js/table-view.js' %}"></script>
{% endblock %}

{% block title %}{% trans 'Edycja szablonów tabel' %}{% endblock %}

{% block content %}
    <h3>{% trans 'Edycja szablonów tabel' %}</h3>
    <div id="template-choice">
        {{ form.as_p }}
        <button type="button" id="load-template">{% trans 'Wybierz' %}</button>
    </div>
    <div class="tabs">
        <ul>
            <li><a href="#table-edit">{% trans 'Edycja szablonu' %}</a></li>
            <li><a href="#template-preview">{% trans 'Podgląd' %}</a></li>
        </ul>
        <div id="table-edit">
            <div id="template-edit-form"></div>
        </div>
        <div id="template-preview"></div>
    </div>
{% endblock %}