templates/informations_add_search.html
{% extends "layout.html" %}
{% load static %}
{% load i18n %}
{% comment "License" %}
* OSIS stands for Open Student Information System. It's an application
* designed to manage the core business of higher education institutions,
* such as universities, faculties, institutes and professional schools.
* The core business involves the administration of students, teachers,
* courses, programs and so on.
*
* Copyright (C) 2015-2019 Université catholique de Louvain (http://www.uclouvain.be)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* A copy of this license - GNU General Public License - is available
* at the root of the source code of this program. If not,
* see http://www.gnu.org/licenses/.
{% endcomment %}
{% block breadcrumb %}
<li><a href="{% url 'studies' %}" id="lnk_studies">{% trans "Students' path" %}</a></li>
<li id="lnk_cohorts_management"><a href="{% url 'cohorts_management' %}">{% trans "Cohorts management" %}</a></li>
<li><a href="{% url 'dissertations' %}" id="lnk_dissertations">{% trans 'Dissertations' %}</a></li>
<li><a href="{% url 'informations' %}" id="lnk_informations">{% trans 'Teachers' %}</a></li>
<li class="active">{% trans 'Add teacher' %}</li>
{% endblock %}
{% block content %}
<div class="page-header">
<h2>{% trans 'Add teacher' %}</h2>
</div>
<div class="panel panel-default">
<div class="panel-body">
<form method="POST" class="post-form">
{% csrf_token %}
{% if message %}
<div class="row">
<div class="col-md-2" style="text-align: right; color: red;">
<label>{% trans 'Error' %}</label>
</div>
<div class="col-md-10">
{% trans message %} {% if email %}: {{ email }}{% endif %}
{% if message_add %}
<ul>
<li>
{% trans 'If this person is a member of the University, you need to use the correct e-mail address.' %}
</li>
<li>
{% trans 'If this person is not a member of the University, a dissertation manager must add this person to the system.' %}
</li>
</ul>
{% endif %}
</div>
</div>
<br>
<div class="row">
<div class="col-md-6">
<h3>{% trans 'New search' %}</h3>
</div>
</div>
<br>
{% endif %}
<div class="row">
<div class="col-md-12">
<p>
{% trans 'This screen allows you to add, in the dissertation application, as a teacher, a person who did not logged into the application. Please search the person with her/his e-mail address' %}
</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-2" style="text-align: right;">
<label>{% trans 'email' %}</label>
</div>
<div class="col-md-4">
<input type="text" class="form-control" id="txt_email" name="email" style="margin:-6px;">
</div>
</div>
<br>
<div class="row">
<div class="col-md-2 col-lg-offset-2">
<button type="submit" name="search_form" class="save btn btn-default">{% trans 'Search' %}</button>
</div>
</div>
</form>
</div>
</div>
{% endblock %}