Sha256: dddea0a80c406681433d7da48dc88a4323d5e46af060695068189d7fa3e2440f
Contents?: true
Size: 1.78 KB
Versions: 1
Compression:
Stored size: 1.78 KB
Contents
Lanes::Screen.define_group 'maint' do | group | group.title = "Maintenance" group.description = "Maintain records" group.icon = "icon-wrench" end Lanes::Screen.define_group 'customer' do | group | group.title = "Customer" group.description = "Custoemr records" group.icon = "icon-wrench" end Lanes::Screen.define "customer-maint" do | screen | screen.title = "Customer Maintenance" screen.icon = "icon-users" screen.group_id = "maint" screen.model_class = "Customer" screen.view_class = "Skr.Screens.CustomerMaint" screen.js = 'skr/screens/customer-maint.js' screen.css = 'skr/screens/customer-maint.css' end Lanes::Screen.define "sku-maint" do | screen | screen.title = "SKU Maintenance" screen.icon = "icon-gift" screen.group_id = "maint" screen.model_class = "Sku" screen.view_class = "Skr.Screens.SkuMaint" screen.js = "skr/screens/sku-maint.js" screen.css = "skr/screens/sku-maint.css" end Lanes::Screen.define "vendor-maint" do | screen | screen.title = "Vendor Maintenance" screen.icon = "icon-truck" screen.group_id = "maint" screen.model_class = "Vendor" screen.view_class = "Skr.Screens.VendorMaint" screen.js = "skr/screens/vendor-maint.js" screen.css = "skr/screens/vendor-maint.css" end Lanes::Screen.define "sales-order" do | screen | screen.title = "Sales Order" screen.description = "" screen.icon = "" screen.group_id = "customer" screen.model_class = "SalesOrder" screen.view_class = "Skr.Screens.SalesOrder" screen.js = "skr/screens/sales-order.js" screen.css = "skr/screens/sales-order.css" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.1.8 | config/screens.rb |