您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

63 行
1.3 KiB

  1. from __future__ import unicode_literals
  2. from frappe import _
  3. def get_data():
  4. return [
  5. {
  6. "label": _("Payments"),
  7. "icon": "fa fa-star",
  8. "items": [
  9. {
  10. "type": "doctype",
  11. "name": "Stripe Settings",
  12. "description": _("Stripe payment gateway settings"),
  13. },
  14. {
  15. "type": "doctype",
  16. "name": "PayPal Settings",
  17. "description": _("PayPal payment gateway settings"),
  18. },
  19. {
  20. "type": "doctype",
  21. "name": "Razorpay Settings",
  22. "description": _("Razorpay Payment gateway settings"),
  23. },
  24. ]
  25. },
  26. {
  27. "label": _("Backup"),
  28. "items": [
  29. {
  30. "type": "doctype",
  31. "name": "Dropbox Settings",
  32. "description": _("Dropbox backup settings"),
  33. },
  34. ]
  35. },
  36. {
  37. "label": _("Authentication"),
  38. "items": [
  39. {
  40. "type": "doctype",
  41. "name": "Social Login Keys",
  42. "description": _("Enter keys to enable login via Facebook, Google, GitHub."),
  43. },
  44. {
  45. "type": "doctype",
  46. "name": "LDAP Settings",
  47. "description": _("Ldap settings"),
  48. },
  49. {
  50. "type": "doctype",
  51. "name": "OAuth Client",
  52. "description": _("Register OAuth Client App"),
  53. },
  54. {
  55. "type": "doctype",
  56. "name": "OAuth Provider Settings",
  57. "description": _("Settings for OAuth Provider"),
  58. },
  59. ]
  60. }
  61. ]