div class container div class row div class col-md-12 h2 class users-h

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
<div class="container">
<div class="row">
<div class="col-md-12">
<h2 class="users-header">{{ FIO }}</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="media">
<a class="pull-left" href="#">
<img class="media-object img-thumbnail img-avatar" src="/classes/App/UserProfile/img/avatar_login.png">
</a>
<div class="media-body">
<p>{{ login }}</p>
<p>{{ dep }}</p>
<p>{{ position }}</p>
<p>{{ state }}</p>
{% if profile_home %}
<p><a href="http://home.fiabank.ru/app/employees/public_profile.php?id_human={{ id_human }}">Профиль на home.fiabank.ru</a></p>
{% endif %}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#collapseTwo">
Приложения
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse in">
<div class="panel-body">
<ul class="">
{% for user_app in user_apps %}
<li><a href="/{{ user_app['class'] }}/{{ user_app['method'] }}">{{ user_app['object_name'] }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title" style="display: inline">
<a data-toggle="collapse" href="#collapseOne">
Роли
</a>
</h4>
{% if permissions[3] %}
<a id="add_btn" href="/UserProfile/getRole" data-target="#modal_add" data-toggle="modal" class="pull-right add-link"><span class="glyphicon glyphicon-plus-sign"></span> Добавить роль</a>
{% endif %}
</div>
<div id="collapseOne" class="panel-collapse collapse">
<div class="panel-body">
{% include 'role.html' %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal_del">
<div class="modal-dialog modal-dialog-del">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Удаление роли</h4>
</div>
<div class="modal-body">
<p id="modal_del_txt" class="modal-txt"></p>
<div class="text-right">
<button id="btn-del" onclick="delRole()" data-role="" data-human="{{ id }}" type="button" class="btn btn-danger" data-loading-text="Удаление...">Да</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">Отмена</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal_add">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
<div id="page_data" style="display: none" data-human="{{ id }}"></div>