forked from ScoDoc/ScoDoc
33 lines
752 B
Django/Jinja
33 lines
752 B
Django/Jinja
{% extends "base.j2" %}
|
|
|
|
{% block styles %}
|
|
{{super()}}
|
|
<style>
|
|
.permission-info {
|
|
border-radius: 8px;
|
|
background-color: #fffaf4;
|
|
margin-bottom: 24px;
|
|
padding: 8px;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
|
|
<h1>Définition des rôles et leurs permissions</h1>
|
|
|
|
<div class="permission-info">
|
|
<h2>Détails sur la permission {{permission_name}}</h2>
|
|
|
|
<div class="permission-details">
|
|
|
|
<div><b>Code de la permission :</b> <tt>{{permission_name}} ({{permission}})</tt></div>
|
|
|
|
<div><b>Description :</b> <em>{{Permission.description[permission_name]}}</em></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div><a class="stdlink" href="{{url_for( 'scodoc.config_roles' )}}">Formulaire d'édition des rôles</a></div>
|
|
|
|
{% endblock %} |