2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/docs/client/desk.md
2018-01-15 17:25:31 +05:30

467 B

Desk

Desk includes the default routing and menu system for the single page application

Menus

You can add a new menu to the desk via

frappe.desk.add_sidebar_item('New ToDo', '#new/todo');

Views

Default route handling for various views

List Documents

All list views are rendered at /list/:doctype

Edit Documents

Documents can be edited via /edit/:doctype/:name

New Documents

New Documents can be created via /new/:doctype