Skip to content

Commit b24c203

Browse files
committed
build: add peronalised templates assets to build
1 parent cef0381 commit b24c203

31 files changed

Lines changed: 57 additions & 55 deletions

django_email_learning/templates/platform/course.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
let course_title = "{{ course.title|escapejs }}";
66
let course_id = "{{ course.id }}";
77
</script>
8-
{% vite_asset 'course/Course.jsx' %}
8+
{% vite_asset 'platform/course/Course.jsx' %}
99
{% endblock %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "platform/base.html" %}
22
{% load django_vite %}
33
{% block extra_head %}
4-
{% vite_asset 'courses/Courses.jsx' %}
4+
{% vite_asset 'platform/courses/Courses.jsx' %}
55
{% endblock %}

django_email_learning/templates/platform/index.html

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "platform/base.html" %}
22
{% load django_vite %}
33
{% block extra_head %}
4-
{% vite_asset 'organizations/Organizations.jsx' %}
4+
{% vite_asset 'platform/organizations/Organizations.jsx' %}
55
{% endblock %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "platform/base.html" %}
22
{% load django_vite %}
33
{% block extra_head %}
4-
{% vite_asset 'users/Users.jsx' %}
4+
{% vite_asset 'platform/users/Users.jsx' %}
55
{% endblock %}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import './styles.scss'
22

33
import 'vite/modulepreload-polyfill'
4-
import render from '../src/render.jsx';
5-
import Base from '../src/components/Base.jsx'
4+
import render from '../../src/render.jsx';
5+
import Base from '../../src/components/Base.jsx'
66
import FilterListIcon from '@mui/icons-material/FilterList';
77
import DescriptionIcon from '@mui/icons-material/Description';
88
import BallotIcon from '@mui/icons-material/Ballot';
@@ -11,7 +11,7 @@ import { Box, Grid, Button, Dialog } from '@mui/material'
1111
import LessonForm from './components/LessonForm.jsx';
1212
import QuizForm from './components/QuizForm.jsx';
1313
import ContentTable from './components/ContentTable.jsx';
14-
import { getCookie } from '../src/utils.js';
14+
import { getCookie } from '../../src/utils.js';
1515

1616

1717
function Course() {

0 commit comments

Comments
 (0)