Skip to content

Instantly share code, notes, and snippets.

@jvfiel
Created August 2, 2017 07:09
Show Gist options
  • Save jvfiel/ec0732707d2845fbda28da0950e2f59b to your computer and use it in GitHub Desktop.
Save jvfiel/ec0732707d2845fbda28da0950e2f59b to your computer and use it in GitHub Desktop.
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"module_name": "Clinic",
"color": "#A6E4FF",
"reverse": 1,
"icon": "octicon octicon-repo-forked",
"type": "module",
"hidden": 0
},
{
"module_name": "Library",
"color": "#FFFF33",
"reverse": 1,
"icon": "octicon octicon-book",
"type": "module",
"hidden": 0
},
{
"module_name": "Grading",
"color": "#3498db",
#"reverse": 1,
"icon": "octicon octicon-repo",
"type": "module",
"hidden": 0
},
{
"module_name": "Attendance",
"color": "#DAF7A6",
"reverse": 1,
"icon": "octicon octicon-watch",
"type": "module",
"hidden": 0
},
{
"module_name": "Registration",
"color": "#77216F",
#"reverse": 1,
"icon": "octicon octicon-organization",
"type": "module",
"hidden": 0
},
{
"module_name": "Disciplinary Notes",
"color": "#FFFF33",
#"reverse": 1,
"icon": "octicon octicon-pencil",
"type": "module",
"hidden": 0
},
{
"module_name": "Disciplinary Notes",
"color": "#1ABC9B",
"reverse": 1,
"icon": "octicon octicon-pencil",
"type": "module",
"hidden": 0
},
{
"module_name": "ID Management",
"color": "#E95420",
"reverse": 1,
"icon": "octicon octicon-link",
"type": "module",
"hidden": 0
},
{
"module_name": "SMS Blast",
"color": "#ABEBC6",
"icon": "octicon octicon-mail",
"label": _("SMS Blast"),
"reverse": 1,
"link": "List/SMS Blast",
"_doctype": "SMS Blast",
"type": "list"
},
{
"module_name": "Attendance Summary",
"color": "#f26b11",
"icon": "octicon octicon-calendar",
"label": _("Attendance Summary"),
"link": "query-report/Attendance Summary",
"_doctype": "Attendance Count",
"type": "link"
},
{
"module_name": "Generate SF5",
"color": "#3498DB",
"icon": "octicon octicon-file-text",
"label": _("SF5"),
"link": "List/Generate SF5",
"_doctype": "Generate SF5",
"type": "list"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment