Commit 109a3dd2 authored by NaweenTharuka's avatar NaweenTharuka

feat: Pronuciation errors displa UI structured

parent 9ae441c4
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<h2>Pronuciation and vocubalry Mistakes</h3> <h2>Pronuciation and vocubalry Mistakes</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing tristique hendrerit laoreet. </p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing tristique hendrerit laoreet. </p>
<div class="align-center"> <div class="align-center">
<a class="btn btn-primary" href="" type="submit">View more</a> <a class="btn btn-primary" href="{% url 'pronuciation' %}" type="submit">View more</a>
</div> </div>
</div> </div>
</div> </div>
......
{% extends 'users/base.html' %}
{% load static %}
{% block content %}
<div class="container">
<nav aria-label="breadcrumb mt-4">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{% url 'home' %}">Home</a></li>
<li class="breadcrumb-item"><a href="{% url 'feedback' %}">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page">Pronuciation and vocubalry errors</li>
</ol>
</nav>
<div class="heading-text heading-section text-center py-3">
<h4>Pronuciation and vocubalry Errors</h4>
<span class="lead">See what presently think about your presentation</span>
</div>
<hr/>
<div class="d-flex justify-content-center mb-5">
<a class="btn btn-outline" href="{% url 'overallfeedback' %}" type="submit">View summery detail</a>
</div>
</div>
{% endblock content %}
...@@ -10,6 +10,7 @@ urlpatterns = [ ...@@ -10,6 +10,7 @@ urlpatterns = [
path('profile/', views.profile, name='profile'), path('profile/', views.profile, name='profile'),
path('feedback/', views.feedback, name='feedback'), path('feedback/', views.feedback, name='feedback'),
path('feedback/summery', views.overallfeedback, name='overallfeedback'), path('feedback/summery', views.overallfeedback, name='overallfeedback'),
path('feedback/pronuciation-vocubalry-errors', views.pronuciation, name='pronuciation'),
path('feedback/emotion/audio', views.emotionaudio, name='emotionaudio'), path('feedback/emotion/audio', views.emotionaudio, name='emotionaudio'),
path('feedback/emotion/video', views.emotionvideo, name='emotionvideo'), path('feedback/emotion/video', views.emotionvideo, name='emotionvideo'),
path('feedback/emotion/audio/prosody', views.emotionaudioprosody, name='emotionaudioprosody'), path('feedback/emotion/audio/prosody', views.emotionaudioprosody, name='emotionaudioprosody'),
......
...@@ -34,7 +34,6 @@ def home(request): ...@@ -34,7 +34,6 @@ def home(request):
form.save() form.save()
messages.success(request, f'Your video was successfully uploaded') messages.success(request, f'Your video was successfully uploaded')
return redirect('feedback') return redirect('feedback')
# return HTTPResponse("<h3>Uploaded Successfully</h3>")
else: else:
form=Video_form() form=Video_form()
return render(request, 'users/home.html',{"form":form,"all":all_video}) return render(request, 'users/home.html',{"form":form,"all":all_video})
...@@ -43,7 +42,10 @@ def contactus(request): ...@@ -43,7 +42,10 @@ def contactus(request):
return render(request, 'users/contactus.html') return render(request, 'users/contactus.html')
def aboutus(request): def aboutus(request):
return render(request, 'users/aboutus.html') return render(request, 'users/aboutus.html')
def pronuciation(request):
return render(request, 'users/pronuciation.html')
def feedback(request): def feedback(request):
all_video=Video.objects.all() all_video=Video.objects.all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment