25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

222 satır
5.6 KiB

  1. from . import __version__ as app_version
  2. app_name = "datavalue_theme_14"
  3. app_title = "Datavalue Theme 14"
  4. app_publisher = "Abdo Hamoud"
  5. app_description = "Data Value Xhiveframework 14 Theme"
  6. app_email = "abdo.host@gmail.com"
  7. app_license = "MIT"
  8. # Includes in <head>
  9. # ------------------
  10. website_context = {
  11. "favicon": "/assets/datavalue_theme_14/images/logo-icon.png",
  12. "splash_image": "/assets/datavalue_theme_14/images/logo-icon.png"
  13. }
  14. app_include_css = [
  15. "assets/datavalue_theme_14/plugins/animate.css/animate.min.css",
  16. "assets/datavalue_theme_14/plugins/fontawesome/all.min.css",
  17. "assets/datavalue_theme_14/plugins/tooltip/tooltip-theme-twipsy.css",
  18. "assets/datavalue_theme_14/plugins/flat-icons/flaticon.css",
  19. "datavalue_theme.bundle.css"
  20. ]
  21. app_include_js = [
  22. "assets/datavalue_theme_14/plugins/bootstrap4c-chosen/chosen.min.js",
  23. "assets/datavalue_theme_14/plugins/nicescroll/nicescroll.js",
  24. "assets/datavalue_theme_14/plugins/tooltip/tooltip.js",
  25. "assets/datavalue_theme_14/plugins/jquery-fullscreen/jquery.fullscreen.min.js",
  26. "datavalue_theme.bundle.js"
  27. ]
  28. email_brand_image = "assets/datavalue_theme_14/images/logo-icon.png"
  29. # include js, css files in header of web template
  30. web_include_css = [
  31. "assets/datavalue_theme_14/plugins/fontawesome/all.min.css",
  32. "assets/datavalue_theme_14/css/login.css",
  33. "assets/datavalue_theme_14/css/dv-login.css?ver=1"
  34. ]
  35. web_include_js = [
  36. "/assets/datavalue_theme_14/js/vue/theme-settings.js?ver=1"
  37. ]
  38. # include js, css files in header of desk.html
  39. # app_include_css = "/assets/datavalue_theme_14/css/datavalue_theme_14.css"
  40. # app_include_js = "/assets/datavalue_theme_14/js/datavalue_theme_14.js"
  41. # include js, css files in header of web template
  42. # web_include_css = "/assets/datavalue_theme_14/css/datavalue_theme_14.css"
  43. # web_include_js = "/assets/datavalue_theme_14/js/datavalue_theme_14.js"
  44. # include custom scss in every website theme (without file extension ".scss")
  45. # website_theme_scss = "datavalue_theme_14/public/scss/website"
  46. # include js, css files in header of web form
  47. # webform_include_js = {"doctype": "public/js/doctype.js"}
  48. # webform_include_css = {"doctype": "public/css/doctype.css"}
  49. # include js in page
  50. # page_js = {"page" : "public/js/file.js"}
  51. # include js in doctype views
  52. # doctype_js = {"doctype" : "public/js/doctype.js"}
  53. # doctype_list_js = {"doctype" : "public/js/doctype_list.js"}
  54. # doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}
  55. # doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"}
  56. # Home Pages
  57. # ----------
  58. # application home page (will override Website Settings)
  59. # home_page = "login"
  60. # website user home page (by Role)
  61. # role_home_page = {
  62. # "Role": "home_page"
  63. # }
  64. # Generators
  65. # ----------
  66. # automatically create page for each record of this doctype
  67. # website_generators = ["Web Page"]
  68. # Jinja
  69. # ----------
  70. # add methods and filters to jinja environment
  71. # jinja = {
  72. # "methods": "datavalue_theme_14.utils.jinja_methods",
  73. # "filters": "datavalue_theme_14.utils.jinja_filters"
  74. # }
  75. # Installation
  76. # ------------
  77. # before_install = "datavalue_theme_14.install.before_install"
  78. # after_install = "datavalue_theme_14.install.after_install"
  79. # Uninstallation
  80. # ------------
  81. # before_uninstall = "datavalue_theme_14.uninstall.before_uninstall"
  82. # after_uninstall = "datavalue_theme_14.uninstall.after_uninstall"
  83. # Desk Notifications
  84. # ------------------
  85. # See xhiveframework.core.notifications.get_notification_config
  86. # notification_config = "datavalue_theme_14.notifications.get_notification_config"
  87. # Permissions
  88. # -----------
  89. # Permissions evaluated in scripted ways
  90. # permission_query_conditions = {
  91. # "Event": "xhiveframework.desk.doctype.event.event.get_permission_query_conditions",
  92. # }
  93. #
  94. # has_permission = {
  95. # "Event": "xhiveframework.desk.doctype.event.event.has_permission",
  96. # }
  97. # DocType Class
  98. # ---------------
  99. # Override standard doctype classes
  100. # override_doctype_class = {
  101. # "ToDo": "custom_app.overrides.CustomToDo"
  102. # }
  103. # Document Events
  104. # ---------------
  105. # Hook on document methods and events
  106. # doc_events = {
  107. # "*": {
  108. # "on_update": "method",
  109. # "on_cancel": "method",
  110. # "on_trash": "method"
  111. # }
  112. # }
  113. # Scheduled Tasks
  114. # ---------------
  115. # scheduler_events = {
  116. # "all": [
  117. # "datavalue_theme_14.tasks.all"
  118. # ],
  119. # "daily": [
  120. # "datavalue_theme_14.tasks.daily"
  121. # ],
  122. # "hourly": [
  123. # "datavalue_theme_14.tasks.hourly"
  124. # ],
  125. # "weekly": [
  126. # "datavalue_theme_14.tasks.weekly"
  127. # ],
  128. # "monthly": [
  129. # "datavalue_theme_14.tasks.monthly"
  130. # ],
  131. # }
  132. # Testing
  133. # -------
  134. # before_tests = "datavalue_theme_14.install.before_tests"
  135. # Overriding Methods
  136. # ------------------------------
  137. #
  138. # override_whitelisted_methods = {
  139. # "xhiveframework.desk.doctype.event.event.get_events": "datavalue_theme_14.event.get_events"
  140. # }
  141. #
  142. # each overriding function accepts a `data` argument;
  143. # generated from the base implementation of the doctype dashboard,
  144. # along with any modifications made in other Xhiveframework apps
  145. # override_doctype_dashboards = {
  146. # "Task": "datavalue_theme_14.task.get_dashboard_data"
  147. # }
  148. # exempt linked doctypes from being automatically cancelled
  149. #
  150. # auto_cancel_exempted_doctypes = ["Auto Repeat"]
  151. # User Data Protection
  152. # --------------------
  153. # user_data_fields = [
  154. # {
  155. # "doctype": "{doctype_1}",
  156. # "filter_by": "{filter_by}",
  157. # "redact_fields": ["{field_1}", "{field_2}"],
  158. # "partial": 1,
  159. # },
  160. # {
  161. # "doctype": "{doctype_2}",
  162. # "filter_by": "{filter_by}",
  163. # "partial": 1,
  164. # },
  165. # {
  166. # "doctype": "{doctype_3}",
  167. # "strict": False,
  168. # },
  169. # {
  170. # "doctype": "{doctype_4}"
  171. # }
  172. # ]
  173. # Authentication and authorization
  174. # --------------------------------
  175. # auth_hooks = [
  176. # "datavalue_theme_14.auth.validate"
  177. # ]