{% extends 'portal/base.html' %} {% load staticfiles %} {% load app_tags %} {% block scripts %} {{ block.super }} {% endblock scripts %} {% block subNav %} {% endblock subNav %} {% block content %} {% include "portal/partials/popup.html" %} {% if show_onboarding_complete %} {% include "portal/partials/info_popup.html" %} {% endif %}
{% if is_admin and join_requests %} {% endif %}

Your school: {% if user.new_teacher.school %} {{ user.new_teacher.school.name }} ({{ user.new_teacher.school.postcode }}){% endif %}

{% if is_admin %}

As an administrator of your school or club, you can select other teachers to whom you can provide or revoke administrative rights. You can also remove teachers from your school or club if they leave, and respond to requests from new teachers joining your organisation.

Invite a teacher
{% else %}
You can see which other teachers in your school or club are registered here. Should you need to leave the school or club, you can do so below.
{% endif %}
{% if is_admin %}
These teachers are already part of your school or club
{% for coworker in coworkers %} {% if coworker.new_user != user %} {% else %} {% endif %} {% endfor %}

Name

Administrator status

Actions

{{ coworker.new_user.first_name }} {{ coworker.new_user.last_name }} {% if coworker.new_user == user %}(you){% endif %}

{% if coworker.is_admin %}Administrator{% else %}Standard Teacher{% endif %}{% if coworker.is_admin or is_admin %} ({{ coworker.new_user.email|emaildomain }}){% endif %}

{% if coworker.is_admin %} {% else %} {% endif %} {% if coworker.new_user|has_2FA %} {% endif %} Update details

Select ‘Delete’ to delete a teacher from your school or club. You will be able to move any existing classes assigned to that teacher to other teachers in your school or club.

We strongly recommend that administrators who are using 2FA ensure there is another administrator who will be able to disable their 2FA should they have problems with their smartphone or tablet.
{% else %}
These teachers are already part of your school or club
{% for coworker in coworkers %} {% endfor %}

Name

Administrator status

{{ coworker.new_user.first_name }} {{ coworker.new_user.last_name }} {% if coworker.new_user == user %}(you){% endif %}

{% if coworker.is_admin %}Administrator{% else %}Standard Teacher{% endif %}{% if coworker.is_admin or is_admin %} ({{ coworker.new_user.email|emaildomain }}){% endif %}

{% endif %} {% if is_admin %}
{% if join_requests %}
These teachers have requested to join your school or club
{% for join_request in join_requests %} {% endfor %}

Name

Email address

Actions

{{ join_request.new_user.first_name }} {{ join_request.new_user.last_name }}

{{ join_request.new_user.email }}

{% else %}
No teachers have currently requested to join your school or club.
{% endif %}
Update details of your school or club

Update your school or club’s name and/or postcode.

These details are used to allow other teachers to join your team.
{% csrf_token %} {{ update_school_form.non_field_errors }}
{% for field in update_school_form %}
{{ field }} {% if not field == update_school_form.country %} {% endif %}
{{ field.help_text }} {{ field.errors }}
{% endfor %}
{% endif %}

Your classes

Below is a list of all the classes you teach. You can add a class or edit your existing classes. You can also accept or deny requests from independent students wanting to join one of your classes.

{% if classes %} {% for class in classes %} {% endfor %}

Class name

Access code

Action

{{ class.name }}

{{ class.access_code }}
Edit details
{% else %}
It doesn't look like you have any classes assigned to you. To create a class, use the 'New Class' box below.
{% endif %}

External requests to join your classes

External, or independent students may request to join your classes, if the student has been given a Class Access Code, and provided you have enabled external requests for that class.

{% if requests %}

The following users have made requests to join your classes. If you accept a request, you will be able to choose a name that is unique for the user in the class and then pass on their new login details. At this point, you will be able to manage them like any other student.

To conform to our security policy, the requested student’s username and email will be deleted on acceptance. These details are displayed here to enable you to identify them as genuine.

You should not accept a request from a student whose email and username you do not recognise, or if you weren’t expecting such a request.

{% for join_request in requests %} {% endfor %}

Name

Email address

Class

Actions

{{ join_request.new_user.first_name }}

{{ join_request.new_user.email }}

{{ join_request.pending_class_request.name }} ({{ join_request.pending_class_request.access_code }})


{% else %}

No students have currently requested to join your classes.

{% endif %}
Create a new class

When you set up a new class, a unique class access code will automatically be generated, with you being identified as the teacher for that class.

{% csrf_token %} {{ create_class_form.non_field_errors }}
{{ create_class_form.class_name }}
{{ create_class_form.class_name.help_text }} {{ create_class_form.class_name.errors }}
{{ create_class_form.classmate_progress }}
{{ create_class_form.classmate_progress.errors }}

Your account

You can update your account details below.

{% csrf_token %} {{ update_account_form.non_field_errors }}
{{ update_account_form.first_name }}
{{ update_account_form.first_name.help_text }} {{ update_account_form.first_name.errors }}
{{ update_account_form.last_name }}
{{ update_account_form.last_name.help_text }} {{ update_account_form.last_name.errors }}
{{ update_account_form.email }}
{{ update_account_form.email.help_text }} {{ update_account_form.email.errors }}
{{ update_account_form.password }}
{{ update_account_form.password.help_text }} {{ update_account_form.password.errors }}
{{ update_account_form.confirm_password }}
{{ update_account_form.confirm_password.help_text }} {{ update_account_form.confirm_password.errors }}
{{ update_account_form.current_password }}
{{ update_account_form.current_password.help_text }} {{ update_account_form.current_password.errors }}
Two Factor Authentication

Use your smartphone or tablet to enhance your account's security by installing an authenticator app.

{% if user|has_2FA %}
Backup tokens

If you don't have your smartphone or tablet with you, you can access your account using backup tokens. {% if backup_tokens == 1 %} You have only one backup token remaining. {% else %} You have {{ backup_tokens }} backup tokens remaining. {% endif %}

View and create backup tokens for your account.

Note: Please make sure that you store any login details in a secure place.
Disable Two Factor Authentication (2FA)

We recommend you to continue using 2FA, however you can disable 2FA for your account using the button below.

{% else %}

Find out more about Two Factor Authentication and how it helps keep your account secure.

{% endif %}
{% endblock content %}