QwikClock is an employee time tracking app.
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 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. "scripts" => [
  12. "static/js/home.js"
  13. ]
  14. ],
  15. "404" => [
  16. "title" => "404 error"
  17. ],
  18. "punches" => [
  19. "title" => "punches",
  20. "navbar" => true,
  21. "icon" => "fas fa-clock",
  22. "styles" => [
  23. "static/css/datatables.min.css",
  24. "static/css/tables.css"
  25. ],
  26. "scripts" => [
  27. "static/js/datatables.min.js",
  28. "static/js/punches.js"
  29. ]
  30. ],
  31. "jobs" => [
  32. "title" => "jobs",
  33. "navbar" => true,
  34. "icon" => "fas fa-briefcase",
  35. "styles" => [
  36. "static/css/datatables.min.css",
  37. "static/css/tables.css"
  38. ],
  39. "scripts" => [
  40. "static/js/datatables.min.js",
  41. "static/js/jobs.js"
  42. ]
  43. ],
  44. "editjobs" => [
  45. "title" => "jobs",
  46. "navbar" => false,
  47. "icon" => "fas fa-briefcase",
  48. "styles" => [
  49. "static/css/datatables.min.css",
  50. "static/css/tables.css"
  51. ],
  52. "scripts" => [
  53. "static/js/datatables.min.js",
  54. "static/js/editjobs.js"
  55. ]
  56. ],
  57. "editjob" => [
  58. "title" => "edit job",
  59. "navbar" => false,
  60. "scripts" => [
  61. "static/js/editjob.js"
  62. ]
  63. ],
  64. "editjobhistory" => [
  65. "title" => "edit job",
  66. "navbar" => false,
  67. "styles" => [
  68. "static/css/tempusdominus-bootstrap-4.min.css",
  69. "static/css/easy-autocomplete.min.css"
  70. ],
  71. "scripts" => [
  72. "static/js/moment.min.js",
  73. "static/js/tempusdominus-bootstrap-4.min.js",
  74. "static/js/jquery.easy-autocomplete.min.js",
  75. "static/js/editjobhistory.js"
  76. ]
  77. ],
  78. "shifts" => [
  79. "title" => "shifts",
  80. "navbar" => true,
  81. "icon" => "fas fa-calendar",
  82. "styles" => [
  83. "static/css/datatables.min.css",
  84. "static/css/tables.css"
  85. ],
  86. "scripts" => [
  87. "static/js/datatables.min.js",
  88. "static/js/shifts.js"
  89. ]
  90. ],
  91. "editshift" => [
  92. "title" => "new shift",
  93. "navbar" => false,
  94. "styles" => [
  95. "static/css/tempusdominus-bootstrap-4.min.css"
  96. ],
  97. "scripts" => [
  98. "static/js/moment.min.js",
  99. "static/js/tempusdominus-bootstrap-4.min.js",
  100. "static/js/editshift.js"
  101. ]
  102. ],
  103. "editpunch" => [
  104. "title" => "edit punch",
  105. "navbar" => false,
  106. "styles" => [
  107. "static/css/tempusdominus-bootstrap-4.min.css",
  108. "static/css/easy-autocomplete.min.css"
  109. ],
  110. "scripts" => [
  111. "static/js/moment.min.js",
  112. "static/js/tempusdominus-bootstrap-4.min.js",
  113. "static/js/jquery.easy-autocomplete.min.js",
  114. "static/js/editpunch.js"
  115. ]
  116. ],
  117. "export" => [
  118. "title" => "reports",
  119. "navbar" => true,
  120. "icon" => "fas fa-download",
  121. "styles" => [
  122. "static/css/tempusdominus-bootstrap-4.min.css",
  123. "static/css/easy-autocomplete.min.css"
  124. ],
  125. "scripts" => [
  126. "static/js/moment.min.js",
  127. "static/js/tempusdominus-bootstrap-4.min.js",
  128. "static/js/jquery.easy-autocomplete.min.js",
  129. "static/js/export.js"
  130. ]
  131. ],
  132. "assignshift" => [
  133. "title" => "assign shift",
  134. "navbar" => false,
  135. "styles" => [
  136. "static/css/easy-autocomplete.min.css"
  137. ],
  138. "scripts" => [
  139. "static/js/jquery.easy-autocomplete.min.js",
  140. "static/js/jquery.color-2.1.2.min.js",
  141. "static/js/assignshift.js"
  142. ]
  143. ],
  144. ]);