From ab18c14bbf64963047446c56672aa446852f4e5d Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Wed, 14 Feb 2018 10:13:45 +0300 Subject: [PATCH] LIL-227. Add new base template for course edit --- apps/course/templates/course/course_edit.html | 3 +- project/templates/lilcity/edit_index.html | 351 ++++++++++++++++++ 2 files changed, 353 insertions(+), 1 deletion(-) create mode 100644 project/templates/lilcity/edit_index.html diff --git a/apps/course/templates/course/course_edit.html b/apps/course/templates/course/course_edit.html index 8b4bbebf..5858e4c3 100644 --- a/apps/course/templates/course/course_edit.html +++ b/apps/course/templates/course/course_edit.html @@ -1,5 +1,6 @@ -{% extends "templates/lilcity/index.html" %} +{% extends "templates/lilcity/edit_index.html" %} {% load static %} +{% block title %}{% if course %}Редактирование курса {{ course.title }}{% else %}Создание курса{% endif %}{% endblock title%} {% block content %} + + + + + + {% block title %}Онлайн-курсы LilCity{% endblock title%} + + + + + + + + + + + + + +
+
+
+
+ + +
+
СОХРАНЕНО
+ + +
+ {% if request.user.is_authenticated %} + + {% else %} + + {% endif %} +
+
+ {% if request.user.is_authenticated %} + {% if not request.user.is_email_proved and not request.user.fb_id %} +
Необходимо подтвердить электронную почту
+ {% endif %} + {% endif %} +
+
+ {% block content %}{% endblock content %} +
+ + +
+ +{% block foot %}{% endblock foot %} + + +