Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*!
  2. * Ext JS Library 3.3.1
  3. * Copyright(c) 2006-2010 Sencha Inc.
  4. * licensing@sencha.com
  5. * http://www.sencha.com/license
  6. */
  7. Ext.onReady(function() {
  8. var toolbar = new Ext.Toolbar({
  9. renderTo: 'docbody',
  10. plugins : [
  11. new Ext.ux.ToolbarReorderer({
  12. defaultReorderable: true
  13. })
  14. ],
  15. items : [
  16. {
  17. xtype:'splitbutton',
  18. text: 'Menu Button',
  19. iconCls: 'add16',
  20. menu: [{text: 'Menu Item 1'}],
  21. reorderable: false
  22. },
  23. {
  24. xtype:'splitbutton',
  25. text: 'Cut',
  26. iconCls: 'add16',
  27. menu: [{text: 'Cut Menu Item'}]
  28. },
  29. {
  30. text: 'Copy',
  31. iconCls: 'add16'
  32. },
  33. {
  34. text: 'Paste',
  35. iconCls: 'add16',
  36. menu: [{text: 'Paste Menu Item'}],
  37. reorderable: true
  38. },
  39. {
  40. text: 'Format',
  41. iconCls: 'add16',
  42. reorderable: true
  43. }
  44. ]
  45. });
  46. new Ext.Panel({
  47. renderTo: 'docbody',
  48. tbar : toolbar,
  49. border : true,
  50. width : 600
  51. });
  52. });