isite 2024.8.5 → 2024.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +1384 -1387
- package/apps/charts/site_files/html/PieChart.html +35 -35
- package/apps/charts/site_files/html/PieChart2.html +35 -35
- package/apps/charts/site_files/html/XYChart.html +42 -42
- package/apps/charts/site_files/html/column.html +60 -60
- package/apps/charts/site_files/html/gauge.html +44 -44
- package/apps/charts/site_files/html/index.html +92 -92
- package/apps/charts/site_files/html/line-graph.html +42 -42
- package/apps/charts/site_files/html/pie-chart-rounded-corners.html +38 -38
- package/apps/charts/site_files/html/simple-3D-pie-chart.html +43 -43
- package/apps/charts/site_files/js/chart-animated.js +2 -2
- package/apps/charts/site_files/json/PieChart.json +41 -41
- package/apps/charts/site_files/json/PieChart2.json +23 -23
- package/apps/charts/site_files/json/XYChart.json +74 -74
- package/apps/charts/site_files/json/bar-chart.json +99 -99
- package/apps/charts/site_files/json/column-chart.json +80 -80
- package/apps/charts/site_files/json/gauge.json +36 -36
- package/apps/charts/site_files/json/line-graph.json +1867 -1867
- package/apps/charts/site_files/json/pie-chart-rounded-corners.json +42 -42
- package/apps/charts/site_files/json/simple-3D-pie-chart.json +50 -50
- package/apps/client-side/package-lock.json +5 -5
- package/apps/client-side/package.json +21 -21
- package/apps/client-side/site_files/css/bootstrap3.css +5 -5
- package/apps/client-side/site_files/css/bootstrap4.css +6 -6
- package/apps/client-side/site_files/css/bootstrap5.css +6 -6
- package/apps/client-side/site_files/css/checkbox.css +125 -125
- package/apps/client-side/site_files/css/font-awesome.css +4616 -4616
- package/apps/client-side/site_files/css/font-awesome.min.css +4 -4
- package/apps/client-side/site_files/css/fonts.css +85 -85
- package/apps/client-side/site_files/css/help.css +51 -51
- package/apps/client-side/site_files/css/main-menu.css +66 -66
- package/apps/client-side/site_files/css/print.css +144 -144
- package/apps/client-side/site_files/css/prism.css +139 -139
- package/apps/client-side/site_files/css/progress.css +7 -7
- package/apps/client-side/site_files/css/radio.css +103 -103
- package/apps/client-side/site_files/css/scrollbar.css +13 -13
- package/apps/client-side/site_files/css/semantic.css +363 -363
- package/apps/client-side/site_files/css/table.css +87 -87
- package/apps/client-side/site_files/css/treeview.css +84 -84
- package/apps/client-side/site_files/css/ui.css +28 -28
- package/apps/client-side/site_files/css/video-js.min.css +1 -0
- package/apps/client-side/site_files/fonts/fontawesome-webfont.svg +2671 -2671
- package/apps/client-side/site_files/fonts/glyphicons-halflings-regular.svg +287 -287
- package/apps/client-side/site_files/fonts/icons.svg +684 -684
- package/apps/client-side/site_files/js/Youtube.min.js +1 -0
- package/apps/client-side/site_files/js/angular-animate.js +4179 -4179
- package/apps/client-side/site_files/js/angular.js +36599 -36599
- package/apps/client-side/site_files/js/angular.min.js +351 -351
- package/apps/client-side/site_files/js/angular.min.js.map +8 -8
- package/apps/client-side/site_files/js/barcode.js +1 -1
- package/apps/client-side/site_files/js/base64.js +319 -319
- package/apps/client-side/site_files/js/bootstrap-5-directive.js +1456 -1456
- package/apps/client-side/site_files/js/bootstrap3.js +6 -6
- package/apps/client-side/site_files/js/bootstrap4.js +6 -6
- package/apps/client-side/site_files/js/bootstrap5.js +6 -6
- package/apps/client-side/site_files/js/custom.js +149 -149
- package/apps/client-side/site_files/js/directive.min.js +1 -1
- package/apps/client-side/site_files/js/hijri.js +965 -965
- package/apps/client-side/site_files/js/jquery.js +2 -2
- package/apps/client-side/site_files/js/moment.js +4511 -4511
- package/apps/client-side/site_files/js/prism.js +6 -6
- package/apps/client-side/site_files/js/qrcode.js +1398 -1398
- package/apps/client-side/site_files/js/semantic.js +10 -10
- package/apps/client-side/site_files/js/video.min.js +53 -0
- package/apps/client-side/site_files/js/xlsx.js +23 -23
- package/apps/client-side/site_files/semantic-themes/default/assets/fonts/brand-icons.svg +1008 -1008
- package/apps/client-side/site_files/semantic-themes/default/assets/fonts/icons.svg +1518 -1518
- package/apps/client-side/site_files/semantic-themes/default/assets/fonts/outline-icons.svg +366 -366
- package/apps/client-side/site_files/webfonts/fa-brands-400.svg +3717 -3717
- package/apps/client-side/site_files/webfonts/fa-regular-400.svg +801 -801
- package/apps/client-side/site_files/webfonts/fa-solid-900.svg +5034 -5034
- package/apps/security/README.md +12 -12
- package/apps/security/app.js +288 -288
- package/apps/security/libs/notifications.js +89 -89
- package/apps/security/site_files/html/add_modal.html +36 -36
- package/apps/security/site_files/html/content.html +36 -36
- package/apps/security/site_files/html/delete_modal.html +31 -31
- package/apps/security/site_files/html/head.html +7 -7
- package/apps/security/site_files/html/index.html +80 -80
- package/apps/security/site_files/html/login_modal.html +24 -24
- package/apps/security/site_files/html/logout_modal.html +21 -21
- package/apps/security/site_files/html/navbar.html +8 -8
- package/apps/security/site_files/html/register_modal.html +32 -32
- package/apps/security/site_files/html/update_modal.html +28 -28
- package/apps/security/site_files/html/view.html +74 -74
- package/apps/security/site_files/html/view_modal.html +32 -32
- package/apps/security/site_files/js/app.js +1 -1
- package/apps/security/site_files/js/index.js +278 -278
- package/apps/security/site_files/js/login.js +35 -35
- package/apps/security/site_files/js/logout.js +22 -22
- package/apps/security/site_files/js/navbar.js +26 -26
- package/apps/security/site_files/js/register.js +30 -30
- package/apps/security/site_files/json/permissions.json +7 -7
- package/apps/security/site_files/json/roles.json +33 -33
- package/apps/security/site_files/json/words.json +28 -28
- package/gulpfile.js +17 -17
- package/isite.postman_collection.json +7 -7
- package/isite_files/css/bootstrap.css +5 -5
- package/isite_files/css/font-awesome.css +4 -4
- package/isite_files/css/prism.css +139 -139
- package/isite_files/fonts/fontawesome-webfont.svg +2671 -2671
- package/isite_files/fonts/glyphicons-halflings-regular.svg +287 -287
- package/isite_files/html/files.html +9 -9
- package/isite_files/html/head.html +12 -12
- package/isite_files/html/index.html +30 -30
- package/isite_files/html/installing.html +27 -27
- package/isite_files/html/navbar.html +51 -51
- package/isite_files/html/routes.html +13 -13
- package/isite_files/html/sessions.html +13 -13
- package/isite_files/html/vars.html +9 -9
- package/isite_files/js/angular.js +334 -334
- package/isite_files/js/bootstrap.js +6 -6
- package/isite_files/js/custom.js +149 -149
- package/isite_files/js/jquery.js +4 -4
- package/isite_files/js/prism.js +6 -6
- package/lib/README.md +1 -1
- package/lib/collection.js +92 -41
- package/lib/cookie.js +81 -81
- package/lib/dashboard.js +189 -189
- package/lib/mongodb.js +819 -756
- package/lib/parser.js +910 -910
- package/lib/security.js +48 -57
- package/lib/session.js +153 -153
- package/object-options/index.js +3 -3
- package/object-options/lib/isite.code-workspace +10 -10
- package/package.json +58 -58
- package/ssl/create_ssl.sh +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<div data-ng-controller="logout" id="logoutModal" class="modal small" tabindex="-1">
|
|
2
|
-
<div class="modal-content">
|
|
3
|
-
<div class="modal-header">
|
|
4
|
-
<span class="close">×</span>
|
|
5
|
-
<p class="text-center"><i class="fa fa-sign-out"></i> ##word.security_logout##</p>
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
<div class="modal-body">
|
|
9
|
-
<p class="center" ng-show="busy"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span></p>
|
|
10
|
-
|
|
11
|
-
<p class="red">{{error}}</p>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="modal-footer center">
|
|
14
|
-
<button class="btn bg-blue white" onclick="site.hideModal('#logoutModal')"> <i class="fa fa-times" aria-hidden="true"></i> Close</button>
|
|
15
|
-
<button ng-hide="busy" id="loginBtn" ng-click="logout()" class="btn bg-red white"> <i class="fa fa-sign-out" aria-hidden="true"></i> ##word.security_logout## </button>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<!-- /.modal-content -->
|
|
19
|
-
</div>
|
|
20
|
-
<!-- /.modal -->
|
|
21
|
-
<script x-import="security/logout.js"></script>
|
|
1
|
+
<div data-ng-controller="logout" id="logoutModal" class="modal small" tabindex="-1">
|
|
2
|
+
<div class="modal-content">
|
|
3
|
+
<div class="modal-header">
|
|
4
|
+
<span class="close">×</span>
|
|
5
|
+
<p class="text-center"><i class="fa fa-sign-out"></i> ##word.security_logout##</p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div class="modal-body">
|
|
9
|
+
<p class="center" ng-show="busy"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span></p>
|
|
10
|
+
|
|
11
|
+
<p class="red">{{error}}</p>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="modal-footer center">
|
|
14
|
+
<button class="btn bg-blue white" onclick="site.hideModal('#logoutModal')"> <i class="fa fa-times" aria-hidden="true"></i> Close</button>
|
|
15
|
+
<button ng-hide="busy" id="loginBtn" ng-click="logout()" class="btn bg-red white"> <i class="fa fa-sign-out" aria-hidden="true"></i> ##word.security_logout## </button>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<!-- /.modal-content -->
|
|
19
|
+
</div>
|
|
20
|
+
<!-- /.modal -->
|
|
21
|
+
<script x-import="security/logout.js"></script>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<h2 class="brand ##session.lang## "><a href="/"> ##word.brand_title## <span> ##word.brand_tag## </span> </a></h2>
|
|
2
|
-
<ul class="links ##session.lang## ">
|
|
3
|
-
<li x-features="!login" ><a onclick="site.showModal('#loginModal')"> ##word.security_login## </a></li>
|
|
4
|
-
<li x-features="!login" ><a onclick="site.showModal('#registerModal')"> ##word.security_register## </a></li>
|
|
5
|
-
<li x-features="login" ><a onclick="site.showModal('#logoutModal')"> ##word.security_logout## <b class="red"> ##user.name## </b> </a></li>
|
|
6
|
-
<li x-lang="ar" ><a ng-click="changeLang('en')"> <i class="fa fa-globe"></i> ##word.en_lang## </a></li>
|
|
7
|
-
<li x-lang="en" ><a ng-click="changeLang('ar')"> <i class="fa fa-globe"></i> ##word.ar_lang## </a></li>
|
|
8
|
-
</ul>
|
|
1
|
+
<h2 class="brand ##session.lang## "><a href="/"> ##word.brand_title## <span> ##word.brand_tag## </span> </a></h2>
|
|
2
|
+
<ul class="links ##session.lang## ">
|
|
3
|
+
<li x-features="!login" ><a onclick="site.showModal('#loginModal')"> ##word.security_login## </a></li>
|
|
4
|
+
<li x-features="!login" ><a onclick="site.showModal('#registerModal')"> ##word.security_register## </a></li>
|
|
5
|
+
<li x-features="login" ><a onclick="site.showModal('#logoutModal')"> ##word.security_logout## <b class="red"> ##user.name## </b> </a></li>
|
|
6
|
+
<li x-lang="ar" ><a ng-click="changeLang('en')"> <i class="fa fa-globe"></i> ##word.en_lang## </a></li>
|
|
7
|
+
<li x-lang="en" ><a ng-click="changeLang('ar')"> <i class="fa fa-globe"></i> ##word.ar_lang## </a></li>
|
|
8
|
+
</ul>
|
|
9
9
|
<script x-import="security/navbar.js"></script>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<div data-ng-controller="register" id="registerModal" class="modal fade small" tabindex="-1" role="dialog" fixed>
|
|
2
|
-
<div class="modal-content">
|
|
3
|
-
<div class="modal-header">
|
|
4
|
-
<span class="close">×</span>
|
|
5
|
-
<p class="text-center"><i class="fa fa-sign-in"></i> ##word.security_register##</p>
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
<div class="modal-body">
|
|
9
|
-
<p ng-show="busy" class="center"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span></p>
|
|
10
|
-
|
|
11
|
-
<form ng-hide="busy">
|
|
12
|
-
<div class="control">
|
|
13
|
-
<label>##word.security_user_email##</label>
|
|
14
|
-
<input ng-model="userEmail" type="text" />
|
|
15
|
-
</div>
|
|
16
|
-
<div class="control">
|
|
17
|
-
<label>##word.security_user_password##</label>
|
|
18
|
-
<input ng-model="userPassword" type="password" />
|
|
19
|
-
</div>
|
|
20
|
-
</form>
|
|
21
|
-
|
|
22
|
-
<p class="yellow">{{error}}</p>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="modal-footer center">
|
|
25
|
-
<button class="btn" onclick="site.hideModal('#registerModal')"> <i class="fa fa-times" aria-hidden="true"></i> ##word.close## </button>
|
|
26
|
-
<button ng-hide="busy" id="registerBtn" ng-click="register()" class="btn"> <i class="fa fa-sign-in" aria-hidden="true"></i> ##word.security_register## </button>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<!-- /.modal-content -->
|
|
30
|
-
</div>
|
|
31
|
-
<!-- /.modal -->
|
|
32
|
-
<script x-import="security/register.js"></script>
|
|
1
|
+
<div data-ng-controller="register" id="registerModal" class="modal fade small" tabindex="-1" role="dialog" fixed>
|
|
2
|
+
<div class="modal-content">
|
|
3
|
+
<div class="modal-header">
|
|
4
|
+
<span class="close">×</span>
|
|
5
|
+
<p class="text-center"><i class="fa fa-sign-in"></i> ##word.security_register##</p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div class="modal-body">
|
|
9
|
+
<p ng-show="busy" class="center"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span></p>
|
|
10
|
+
|
|
11
|
+
<form ng-hide="busy">
|
|
12
|
+
<div class="control">
|
|
13
|
+
<label>##word.security_user_email##</label>
|
|
14
|
+
<input ng-model="userEmail" type="text" />
|
|
15
|
+
</div>
|
|
16
|
+
<div class="control">
|
|
17
|
+
<label>##word.security_user_password##</label>
|
|
18
|
+
<input ng-model="userPassword" type="password" />
|
|
19
|
+
</div>
|
|
20
|
+
</form>
|
|
21
|
+
|
|
22
|
+
<p class="yellow">{{error}}</p>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="modal-footer center">
|
|
25
|
+
<button class="btn" onclick="site.hideModal('#registerModal')"> <i class="fa fa-times" aria-hidden="true"></i> ##word.close## </button>
|
|
26
|
+
<button ng-hide="busy" id="registerBtn" ng-click="register()" class="btn"> <i class="fa fa-sign-in" aria-hidden="true"></i> ##word.security_register## </button>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<!-- /.modal-content -->
|
|
30
|
+
</div>
|
|
31
|
+
<!-- /.modal -->
|
|
32
|
+
<script x-import="security/register.js"></script>
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
#updateUserModal .img {
|
|
3
|
-
width: 200px;
|
|
4
|
-
height: 200px;
|
|
5
|
-
margin: 5px;
|
|
6
|
-
padding: 5px;
|
|
7
|
-
border: 1px solid var(--background-color);
|
|
8
|
-
}
|
|
9
|
-
</style>
|
|
10
|
-
|
|
11
|
-
<div id="updateUserModal" class="modal">
|
|
12
|
-
<div class="modal-content">
|
|
13
|
-
<div class="modal-header">
|
|
14
|
-
<span class="close">×</span>
|
|
15
|
-
<p><i class="fa fa-plus"></i> ##word.security_user_details##</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="modal-body">
|
|
18
|
-
<span ng-show="busy"> <i class="fa fa-spinner white fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span> </span>
|
|
19
|
-
|
|
20
|
-
<div x-import="security/content.html"></div>
|
|
21
|
-
</div>
|
|
22
|
-
<p>{{error}}</p>
|
|
23
|
-
<div class="modal-footer center">
|
|
24
|
-
<i-button type="save" label="##word.save##" ng-click="update(user)"></i-button>
|
|
25
|
-
<i-button type="close" label="##word.close##" onclick="site.hideModal('#updateUserModal')"></i-button>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
1
|
+
<style>
|
|
2
|
+
#updateUserModal .img {
|
|
3
|
+
width: 200px;
|
|
4
|
+
height: 200px;
|
|
5
|
+
margin: 5px;
|
|
6
|
+
padding: 5px;
|
|
7
|
+
border: 1px solid var(--background-color);
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<div id="updateUserModal" class="modal">
|
|
12
|
+
<div class="modal-content">
|
|
13
|
+
<div class="modal-header">
|
|
14
|
+
<span class="close">×</span>
|
|
15
|
+
<p><i class="fa fa-plus"></i> ##word.security_user_details##</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="modal-body">
|
|
18
|
+
<span ng-show="busy"> <i class="fa fa-spinner white fa-pulse fa-3x fa-fw"></i><span class="sr-only">Loading...</span> </span>
|
|
19
|
+
|
|
20
|
+
<div x-import="security/content.html"></div>
|
|
21
|
+
</div>
|
|
22
|
+
<p>{{error}}</p>
|
|
23
|
+
<div class="modal-footer center">
|
|
24
|
+
<i-button type="save" label="##word.save##" ng-click="update(user)"></i-button>
|
|
25
|
+
<i-button type="close" label="##word.close##" onclick="site.hideModal('#updateUserModal')"></i-button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
<div ng-hide="busy" class="row">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<div class="col6 padding">
|
|
6
|
-
<br>
|
|
7
|
-
<table class="table">
|
|
8
|
-
<tr>
|
|
9
|
-
<td class="title">##word.security_user_email##</td>
|
|
10
|
-
<td>{{user.email}}</td>
|
|
11
|
-
</tr>
|
|
12
|
-
<tr>
|
|
13
|
-
<td class="title">##word.security_user_password##</td>
|
|
14
|
-
<td>{{user.password}}</td>
|
|
15
|
-
</tr>
|
|
16
|
-
<tr>
|
|
17
|
-
<td class="title">##word.security_user_name##</td>
|
|
18
|
-
<td>{{user.profile.name}}</td>
|
|
19
|
-
</tr>
|
|
20
|
-
<tr>
|
|
21
|
-
<td class="title">##word.security_user_mobile##</td>
|
|
22
|
-
<td>
|
|
23
|
-
<a ng-show="user.profile.mobile" target="_blank" href="tel:{{user.profile.mobile}}">
|
|
24
|
-
{{user.profile.mobile}}
|
|
25
|
-
<i class="fa fa-phone" aria-hidden="true"></i>
|
|
26
|
-
</a>
|
|
27
|
-
</td>
|
|
28
|
-
</tr>
|
|
29
|
-
|
|
30
|
-
<tr>
|
|
31
|
-
<td class="title">##word.notes##</td>
|
|
32
|
-
<td>{{user.profile.notes}}</td>
|
|
33
|
-
</tr>
|
|
34
|
-
|
|
35
|
-
</table>
|
|
36
|
-
<br>
|
|
37
|
-
<table class="table margin">
|
|
38
|
-
<tr>
|
|
39
|
-
<th>##word.security_roles##</th>
|
|
40
|
-
|
|
41
|
-
</tr>
|
|
42
|
-
<tr ng-repeat="role in user.roles">
|
|
43
|
-
<td x-lang="ar">{{role.ar}}</td>
|
|
44
|
-
<td x-lang="en">{{role.en}}</td>
|
|
45
|
-
</tr>
|
|
46
|
-
</table>
|
|
47
|
-
|
|
48
|
-
<br>
|
|
49
|
-
<table class="table margin">
|
|
50
|
-
<tr>
|
|
51
|
-
<th>##word.security_permissions##</th>
|
|
52
|
-
|
|
53
|
-
</tr>
|
|
54
|
-
<tr ng-repeat="permission in user.$permissions_info">
|
|
55
|
-
<td>{{permission.##session.lang##}}</td>
|
|
56
|
-
</tr>
|
|
57
|
-
</table>
|
|
58
|
-
<br>
|
|
59
|
-
|
|
60
|
-
</div>
|
|
61
|
-
|
|
62
|
-
<div class="col6 padding">
|
|
63
|
-
|
|
64
|
-
<i-image view category="users" ng-model="user.profile.image_url"></i-image>
|
|
65
|
-
|
|
66
|
-
<br>
|
|
67
|
-
<i-files view category="users" label="##word.files##" ng-model="user.user.profile.files"></i-files>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
1
|
+
<div ng-hide="busy" class="row">
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<div class="col6 padding">
|
|
6
|
+
<br>
|
|
7
|
+
<table class="table">
|
|
8
|
+
<tr>
|
|
9
|
+
<td class="title">##word.security_user_email##</td>
|
|
10
|
+
<td>{{user.email}}</td>
|
|
11
|
+
</tr>
|
|
12
|
+
<tr>
|
|
13
|
+
<td class="title">##word.security_user_password##</td>
|
|
14
|
+
<td>{{user.password}}</td>
|
|
15
|
+
</tr>
|
|
16
|
+
<tr>
|
|
17
|
+
<td class="title">##word.security_user_name##</td>
|
|
18
|
+
<td>{{user.profile.name}}</td>
|
|
19
|
+
</tr>
|
|
20
|
+
<tr>
|
|
21
|
+
<td class="title">##word.security_user_mobile##</td>
|
|
22
|
+
<td>
|
|
23
|
+
<a ng-show="user.profile.mobile" target="_blank" href="tel:{{user.profile.mobile}}">
|
|
24
|
+
{{user.profile.mobile}}
|
|
25
|
+
<i class="fa fa-phone" aria-hidden="true"></i>
|
|
26
|
+
</a>
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
|
|
30
|
+
<tr>
|
|
31
|
+
<td class="title">##word.notes##</td>
|
|
32
|
+
<td>{{user.profile.notes}}</td>
|
|
33
|
+
</tr>
|
|
34
|
+
|
|
35
|
+
</table>
|
|
36
|
+
<br>
|
|
37
|
+
<table class="table margin">
|
|
38
|
+
<tr>
|
|
39
|
+
<th>##word.security_roles##</th>
|
|
40
|
+
|
|
41
|
+
</tr>
|
|
42
|
+
<tr ng-repeat="role in user.roles">
|
|
43
|
+
<td x-lang="ar">{{role.ar}}</td>
|
|
44
|
+
<td x-lang="en">{{role.en}}</td>
|
|
45
|
+
</tr>
|
|
46
|
+
</table>
|
|
47
|
+
|
|
48
|
+
<br>
|
|
49
|
+
<table class="table margin">
|
|
50
|
+
<tr>
|
|
51
|
+
<th>##word.security_permissions##</th>
|
|
52
|
+
|
|
53
|
+
</tr>
|
|
54
|
+
<tr ng-repeat="permission in user.$permissions_info">
|
|
55
|
+
<td>{{permission.##session.lang##}}</td>
|
|
56
|
+
</tr>
|
|
57
|
+
</table>
|
|
58
|
+
<br>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div class="col6 padding">
|
|
63
|
+
|
|
64
|
+
<i-image view category="users" ng-model="user.profile.image_url"></i-image>
|
|
65
|
+
|
|
66
|
+
<br>
|
|
67
|
+
<i-files view category="users" label="##word.files##" ng-model="user.user.profile.files"></i-files>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
75
|
</div>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
.img {
|
|
3
|
-
width: 200px;
|
|
4
|
-
height: 200px;
|
|
5
|
-
margin: 5px;
|
|
6
|
-
padding: 5px;
|
|
7
|
-
border: 1px solid var(--background-color);
|
|
8
|
-
}
|
|
9
|
-
</style>
|
|
10
|
-
|
|
11
|
-
<div id="viewUserModal" class="modal">
|
|
12
|
-
<div class="modal-content">
|
|
13
|
-
<div class="modal-header">
|
|
14
|
-
<span class="close">×</span>
|
|
15
|
-
<p><i class="fa fa-file"></i> ##word.security_user_details##</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="modal-body">
|
|
18
|
-
<span ng-show="busy">
|
|
19
|
-
<i class="fa fa-spinner white fa-pulse fa-3x fa-fw"></i>
|
|
20
|
-
<span class="sr-only">Loading...</span>
|
|
21
|
-
</span>
|
|
22
|
-
|
|
23
|
-
<div x-import="security/view.html"></div>
|
|
24
|
-
</div>
|
|
25
|
-
<p>{{error}}</p>
|
|
26
|
-
<div class="modal-footer center">
|
|
27
|
-
<i-button type="edit" ng-click="edit(user)" label="##word.edit##"></i-button>
|
|
28
|
-
<i-button type="remove" ng-click="remove(user)" label="##word.delete##"></i-button>
|
|
29
|
-
<i-button type="exit" onclick="site.hideModal('#viewUserModal')" label="##word.close##"></i-button>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
1
|
+
<style>
|
|
2
|
+
.img {
|
|
3
|
+
width: 200px;
|
|
4
|
+
height: 200px;
|
|
5
|
+
margin: 5px;
|
|
6
|
+
padding: 5px;
|
|
7
|
+
border: 1px solid var(--background-color);
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<div id="viewUserModal" class="modal">
|
|
12
|
+
<div class="modal-content">
|
|
13
|
+
<div class="modal-header">
|
|
14
|
+
<span class="close">×</span>
|
|
15
|
+
<p><i class="fa fa-file"></i> ##word.security_user_details##</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="modal-body">
|
|
18
|
+
<span ng-show="busy">
|
|
19
|
+
<i class="fa fa-spinner white fa-pulse fa-3x fa-fw"></i>
|
|
20
|
+
<span class="sr-only">Loading...</span>
|
|
21
|
+
</span>
|
|
22
|
+
|
|
23
|
+
<div x-import="security/view.html"></div>
|
|
24
|
+
</div>
|
|
25
|
+
<p>{{error}}</p>
|
|
26
|
+
<div class="modal-footer center">
|
|
27
|
+
<i-button type="edit" ng-click="edit(user)" label="##word.edit##"></i-button>
|
|
28
|
+
<i-button type="remove" ng-click="remove(user)" label="##word.delete##"></i-button>
|
|
29
|
+
<i-button type="exit" onclick="site.hideModal('#viewUserModal')" label="##word.close##"></i-button>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var app = app || angular.module('myApp' , []);
|
|
1
|
+
var app = app || angular.module('myApp' , []);
|