Account and permission manager and security log viewer. https://netsyms.biz/apps/managepanel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pages.php 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. // List of pages and metadata
  6. define("PAGES", [
  7. "home" => [
  8. "title" => "Home",
  9. "navbar" => true,
  10. "icon" => "fas fa-home"
  11. ],
  12. "users" => [
  13. "title" => "Users",
  14. "navbar" => true,
  15. "icon" => "fas fa-users",
  16. "styles" => [
  17. "static/css/datatables.min.css",
  18. "static/css/tables.css"
  19. ],
  20. "scripts" => [
  21. "static/js/datatables.min.js",
  22. "static/js/users.js"
  23. ],
  24. ],
  25. "edituser" => [
  26. "title" => "edit user",
  27. "navbar" => false,
  28. "scripts" => [
  29. "static/js/edituser.js"
  30. ]
  31. ],
  32. "deluser" => [
  33. "title" => "delete user",
  34. "navbar" => false
  35. ],
  36. "groups" => [
  37. "title" => "Groups",
  38. "navbar" => true,
  39. "icon" => "fas fa-object-group",
  40. "styles" => [
  41. "static/css/easy-autocomplete.min.css"
  42. ],
  43. "scripts" => [
  44. "static/js/jquery.easy-autocomplete.min.js",
  45. "static/js/groups.js"
  46. ],
  47. ],
  48. "authlog" => [
  49. "title" => "Security Log",
  50. "navbar" => true,
  51. "icon" => "fas fa-list",
  52. "styles" => [
  53. "static/css/datatables.min.css",
  54. "static/css/tables.css"
  55. ],
  56. "scripts" => [
  57. "static/js/datatables.min.js",
  58. "static/js/authlog.js"
  59. ],
  60. ],
  61. "clearlog" => [
  62. "title" => "clear log",
  63. "navbar" => false
  64. ],
  65. "managers" => [
  66. "title" => "Managers",
  67. "navbar" => true,
  68. "icon" => "fas fa-id-card",
  69. "styles" => [
  70. "static/css/easy-autocomplete.min.css"
  71. ],
  72. "scripts" => [
  73. "static/js/jquery.easy-autocomplete.min.js",
  74. "static/js/managers.js"
  75. ]
  76. ],
  77. "permissions" => [
  78. "title" => "Permissions",
  79. "navbar" => true,
  80. "icon" => "fas fa-key",
  81. "styles" => [
  82. "static/css/easy-autocomplete.min.css"
  83. ],
  84. "scripts" => [
  85. "static/js/jquery.easy-autocomplete.min.js",
  86. "static/js/permissions.js"
  87. ],
  88. ],
  89. "export" => [
  90. "title" => "report export",
  91. "navbar" => true,
  92. "icon" => "fas fa-download",
  93. "scripts" => [
  94. "static/js/export.js"
  95. ]
  96. ],
  97. "apikeys" => [
  98. "title" => "API Keys",
  99. "navbar" => true,
  100. "icon" => "fas fa-server",
  101. "styles" => [
  102. "static/css/datatables.min.css",
  103. "static/css/tables.css"
  104. ],
  105. "scripts" => [
  106. "static/js/datatables.min.js",
  107. "static/js/apikeys.js"
  108. ],
  109. ],
  110. "addapikey" => [
  111. "title" => "Add Key",
  112. "navbar" => false
  113. ],
  114. "404" => [
  115. "title" => "404 error"
  116. ]
  117. ]);