Commit ceebc34c authored by NaweenTharuka's avatar NaweenTharuka

feat: Overall Summery views

parent a950ff0d
...@@ -67,6 +67,11 @@ ...@@ -67,6 +67,11 @@
cursumus.</p> cursumus.</p>
</div> </div>
</div> </div>
<div class="d-flex justify-content-center mb-5">
<a class="btn btn-primary" href="{% url 'overallfeedback' %}" type="submit">View summery detail</a>
</div>
</div> </div>
{% endblock content %} {% endblock content %}
{% extends 'users/base.html' %}
{% load static %}
{% block content %}
<div class="container">
<div class="heading-text heading-section text-center py-5">
<h2>What Presently think about your skills ?</h2>
<span class="lead">Improve your skills and be a good performer!</span>
</div>
<h4>Overall Summery</h4>
<div class="row pb-5">
<div class="col-lg-12">
<ul class="list list-legend">
<li><span style="background-color:#4a81d4"></span>Pronunciation</li>
<li><span style="background-color:#e3eaef"></span>Vocubalary</li>
<li><span style="background-color:#4fc6e1"></span>Emotions</li>
</ul>
<div id="morris_4"></div>
</div>
</div>
</div>
{% endblock content %}
...@@ -9,6 +9,7 @@ urlpatterns = [ ...@@ -9,6 +9,7 @@ urlpatterns = [
path('register/', views.register, name='register'), path('register/', views.register, name='register'),
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/emotion/audio', views.emotionaudio, name='emotionaudio'), path('feedback/emotion/audio', views.emotionaudio, name='emotionaudio'),
path('login/', auth_view.LoginView.as_view(template_name='users/login.html'), name="login"), path('login/', auth_view.LoginView.as_view(template_name='users/login.html'), name="login"),
path('logout/', auth_view.LogoutView.as_view(template_name='users/logout.html'), name="logout"), path('logout/', auth_view.LogoutView.as_view(template_name='users/logout.html'), name="logout"),
......
...@@ -18,7 +18,10 @@ def feedback(request): ...@@ -18,7 +18,10 @@ def feedback(request):
return render(request, 'users/feedback.html') return render(request, 'users/feedback.html')
def emotionaudio(request): def emotionaudio(request):
return render(request, 'users/emotionaudio.html') return render(request, 'users/emotionaudio.html')
def overallfeedback(request):
return render(request, 'users/overallfeedback.html')
def register(request): def register(request):
if request.method == "POST": if request.method == "POST":
......
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