You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
965 B
28 lines
965 B
{% extends "templates/lilcity/index.html" %}
|
|
{% load jsonify from jsonify_queryset %}
|
|
|
|
{% load static %} {% block content %}
|
|
<div class="main" style="background-image: url({% static 'img/bg-1.jpg' %});">
|
|
<div class="main__center center">
|
|
<div class="main__title">Онлайн-курсы LilCity</div>
|
|
</div>
|
|
</div>
|
|
<div class="section">
|
|
<div class="section__center center">
|
|
|
|
<lessons-admin :lessons="{{livelesson_list | jsonify:"id,title,short_description,date"}}"></lessons-admin>
|
|
|
|
<!--<ul>-->
|
|
<!--{% for livelesson in livelesson_list %}-->
|
|
<!--<li>{{ livelesson.title }} <a href="{% url 'school:lessons-edit' livelesson.id %}">Редактировать</a></li>-->
|
|
<!--{% endfor %}-->
|
|
<!--</ul>-->
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|
|
|
|
|
|
{% block foot %}
|
|
<script type="text/javascript" src="{% static 'lessonsAdmin.js' %}"></script>
|
|
<!--<link rel="stylesheet" href="{% static 'courseRedactor.css' %}" />-->
|
|
{% endblock foot %}
|
|
|