File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ {% extends "base_manager.html" %}
2
+ {% block content %}
3
+ < div class ="container mx-auto px-4 py-8 ">
4
+ < h1 > How to use the SORT online tool</ h1 >
5
+ < p > See the video below for instructions on how to use the SORT online tool.</ p >
6
+
7
+ < iframe id ="kaltura_player " style ="width: 80%; aspect-ratio: 16 / 9; margin: auto "
8
+ src ='https://cdnapisec.kaltura.com/p/2103181/embedPlaykitJs/uiconf_id/53345422?iframeembed=true&entry_id=1_e1eky7pw&config%5Bprovider%5D=%7B%22widgetId%22%3A%221_t5fs1o53%22%7D&config%5Bplayback%5D=%7B%22startTime%22%3A0%7D '
9
+ style ="width: 400px;height: 285px;border: 0; " allowfullscreen webkitallowfullscreen mozAllowFullScreen
10
+ allow ="autoplay *; fullscreen *; encrypted-media * "
11
+ sandbox ="allow-downloads allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation "
12
+ title ="SORT Application Introduction "> </ iframe >
13
+ </ div >
14
+ {% endblock %}
Original file line number Diff line number Diff line change 54
54
views .ProjectDeleteView .as_view (),
55
55
name = "project_delete" ,
56
56
),
57
+ path (
58
+ "help/" ,
59
+ views .HelpView .as_view (),
60
+ name = "help" ,
61
+ )
57
62
]
Original file line number Diff line number Diff line change 14
14
from django .shortcuts import get_object_or_404 , redirect , render
15
15
from django .urls import reverse , reverse_lazy
16
16
from django .views import View
17
- from django .views .generic import ListView
17
+ from django .views .generic import ListView , TemplateView
18
18
from django .views .generic .edit import CreateView , DeleteView , UpdateView
19
19
20
20
from survey .models import Survey
@@ -360,3 +360,6 @@ def form_valid(self, form):
360
360
361
361
def get_success_url (self ):
362
362
return reverse_lazy ("myorganisation" )
363
+
364
+ class HelpView (LoginRequiredMixin , TemplateView ):
365
+ template_name = "help.html"
Original file line number Diff line number Diff line change 35
35
{% if '/invite' in request.path %}active{% endif %} "
36
36
href ="{% url 'myorganisation' %} "> < i class ="bx bxs-buildings "> </ i > My Organisation</ a >
37
37
</ li >
38
+ < li class ="nav-item ">
39
+ < a class ="nav-link {% if '/help;' in request.path %}active{% endif %} " href ="{% url 'help' %} "> < i class ='bx bxs-help-circle ' > </ i > Help</ a >
40
+ </ li >
38
41
</ ul >
39
42
< ul class ="navbar-nav ">
40
43
{% if user.is_authenticated %}
You can’t perform that action at this time.
0 commit comments