Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions challenges/templates/challenge/answer_single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "base.html" %}
{% load static %}

{% block title %}
Answer of {{ question.title }} by {{ answer.user }} | Code Turing
{% endblock title %}

{% block description %}
View user {{ answer.user }}'s solution to the programming challenge {{ question.title }}
{% endblock description %}

{% block header %}
<link rel="stylesheet"
data-name="vs/editor/editor.main"
Expand Down
9 changes: 9 additions & 0 deletions challenges/templates/challenge/answer_submit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "base.html" %}
{% load static %}

{% block title %}
Answering {{ question.title }} | Code Turing
{% endblock title %}

{% block description %}
Submit a solution to the programming challenge {{ question.title }}
{% endblock description %}

{% block header %}
<link rel="stylesheet"
data-name="vs/editor/editor.main"
Expand Down
9 changes: 9 additions & 0 deletions challenges/templates/challenge/answers_list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "base.html" %}
{% load static %}

{% block title %}
Answers of {{ question.title }} | Code Turing
{% endblock title %}

{% block description %}
All the avaiable solutions to the programming challenge {{ question.title }}
{% endblock description %}

{% block header %}
<link rel="stylesheet"
data-name="vs/editor/editor.main"
Expand Down
8 changes: 8 additions & 0 deletions challenges/templates/challenge/question_single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

{% load static %}

{% block title %}
{{ question.title }} | Code Turing
{% endblock title %}

{% block description %}
Programming Challenge {{ question.title }}
{% endblock description %}

{% block header %}
<link rel="stylesheet"
data-name="vs/editor/editor.main"
Expand Down
8 changes: 8 additions & 0 deletions challenges/templates/challenge/question_submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

{% load static %}

{% block title %}
Create New Challenge | Code Turing
{% endblock title %}

{% block description %}
Create a new programming challenge
{% endblock description %}

{% load crispy_forms_tags %}

{% block header %}
Expand Down
8 changes: 8 additions & 0 deletions challenges/templates/challenge/questions_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

{% load static %}

{% block title %}
Challenges | Code Turing
{% endblock title %}

{% block description %}
List of all the programming challenges
{% endblock description %}

{% block header %}
<style>
.card {
Expand Down
4 changes: 3 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/media/favicon.ico" />
<title>Code Turing</title>
<title>{% block title %}{% endblock title %}</title>
<meta name="description" content="{% block description %}{% endblock description %}">


<!-- Bootstrap Stuff -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
Expand Down
12 changes: 12 additions & 0 deletions templates/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{% extends "base.html" %}

{% block title %}
Home | Code Turing
{% endblock title %}

{% block description %}
Code Turing is a learning platform to improve your programming skills, build by students for students.
Code Turing aims to be a website where people can learn how to program.
It is similar to a competitive programming website.
But need not be limited to it.
{% endblock description %}


{% block header %}
<style>
body {
Expand Down
8 changes: 8 additions & 0 deletions users/templates/users/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

{% load static %}

{% block title %}
Login | Code Turing
{% endblock title %}

{% block description %}
Login to Code Turing
{% endblock description %}

{% load crispy_forms_tags %}

{% block header %}
Expand Down
9 changes: 9 additions & 0 deletions users/templates/users/profile.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "base.html" %}
{% load static %}

{% block title %}
{{ user_profile.user }} | Code Turing
{% endblock title %}

{% block description %}
User Profile
{% endblock description %}

{% block content %}
<div class="container">
<br />
Expand Down
8 changes: 8 additions & 0 deletions users/templates/users/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

{% load static %}

{% block title %}
SignUp | Code Turing
{% endblock title %}

{% block description %}
SignUp to Code Turing
{% endblock description %}

{% load crispy_forms_tags %}

{% block header %}
Expand Down
9 changes: 9 additions & 0 deletions users/templates/users/update_profile.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "base.html" %}
{% load static %}

{% block title %}
Profile Update | Code Turing
{% endblock title %}

{% block description %}
User profile update page.
{% endblock description %}

{% load crispy_forms_tags %}
{% block content %}
<div class="container">
Expand Down