Commit bce28b7e by Philip ABBET

Merge branch 'security_accounts_feedback' into 'master'

[accounts] updated templates - text correction and added grant supervisor access…

See merge request !229
parents 36da6165 9272d315
Pipeline #14553 passed with stage
in 23 minutes 24 seconds
......@@ -94,3 +94,8 @@ div.change_supervisor span.documentation
padding-top: 0em;
padding-bottom: 0em;
}
#grant_access_inside
{
margin-left: 45em;
}
......@@ -410,7 +410,7 @@
<div class="col-sm-6 ">
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-users"></i> Supervision management
<div class="panel-heading"><i class="fa fa-users"></i> Management of supervisees
</div>
<div class="panel-body">
<form id="token" method="post" action="" class="form">
......@@ -504,7 +504,8 @@ You can remind them to revalidate their account before the expiration date or el
<div class="col-sm-6 col-sm-offset-1">
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-users"></i> Supervision management of Supervisors
<div class="panel-heading"><i class="fa fa-users"></i> Management of Supervisors
<a id="grant_access_inside" class="btn btn-success btn-sm" onclick="beat.accounts.new_supervisor_access('{% url "api_accounts:list_supervisor_candidates" %}', '{% url "api_accounts:update_supervisor_candidate" %}', '{{ request.user.username }}')"><i class="fa fa-plus fa-lg"></i> Grant access</a>
</div>
<div class="panel-body">
<form id="token" method="post" action="" class="form">
......@@ -588,7 +589,13 @@ You can remind them to revalidate their account before the expiration date or el
</div>
</div>
<div class="col-sm-3">
</div>
{% endif %}
{% if not supervisors_pending|length > 0 and not supervisiontracks_supervisors_valid|length > 0 %}
<div class="row">
<div class="col-sm-3 col-sm-offset-1">
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-users"></i> Grant Supervisor access</div>
......@@ -605,9 +612,7 @@ You can remind them to revalidate their account before the expiration date or el
</div>
</div>
</div>
</div>
{% endif %}
......@@ -617,7 +622,7 @@ You can remind them to revalidate their account before the expiration date or el
<div class="col-sm-6 col-sm-offset-1">
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-users"></i> Supervision management of Supervisees
<div class="panel-heading"><i class="fa fa-users"></i> Management of Supervisees
</div>
<div class="panel-body">
<form id="token" method="post" action="" class="form">
......
......@@ -249,6 +249,13 @@ project, under the `GNU Affero GPL v3 license`_. To get started, download the
package ``beat.web`` and read its README.rst file located on its root for quick
start instructions:
.. code-block:: sh
git clone https://gitlab.idiap.ch/beat/beat.web
In case of issues, please share your questions through our `development mailing
list`_.
What is a supervisor?
---------------------
......@@ -291,12 +298,5 @@ To become a supervisor, there are two ways.
A |project| admin will then check that you really hold a position and will turn
your account into a supervisor account in order to let you manage supervisees.
.. code-block:: sh
git clone https://gitlab.idiap.ch/beat/beat.web
In case of issues, please share your questions through our `development mailing
list`_.
.. include:: links.rst
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