Changeset 631


Ignore:
Timestamp:
07/31/09 12:45:57 (15 years ago)
Author:
ramonb
Message:

job_monarch/templates/header.tpl,

  • fixed path typo

job_monarch/js/monarch.js:

  • many tabbed graphs fixes

job_monarch/lib/extjs-30/tab-scroller-menu.css,
job_monarch/lib/extjs-30/ProgressBarPager.js,
job_monarch/lib/extjs-30/tab-scroller-menu.gif,
job_monarch/lib/extjs-30/TabScrollerMenu.js:

  • import of some new ExtJS plugins
Location:
trunk/web/addons/job_monarch
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/js/monarch.js

    r630 r631  
    950950function createGraphPanel( view )
    951951{
     952        var scrollerMenu = new Ext.ux.TabScrollerMenu(
     953        {
     954                maxText  : 15,
     955                pageSize : 5
     956        });
     957
     958
    952959        var graphPanel =
    953960
     
    955962                {
    956963                        id:             'tabPanel',
    957                         region:         'center',
     964                        //region:               'center',
    958965                        //bodyStyle:    'background: transparent',
    959966                        autoShow:       true,
    960967                        //autoHeight:   true,
    961                         autoWidth:      true,
    962                         //autoScroll:   true,
    963                         //resizeTabs:   true,
     968                        //autoWidth:    true,
     969                        enableTabScroll:true,
     970                        resizeTabs:     true,
     971                        border:         false,
    964972                        bodyStyle:      'overflow:auto; background: transparent; heigth: auto',
    965                         //bodyStyle:    'overflow:auto; background: transparent',
    966                         //bodyBorder:   false,
    967973                        minTabWidth:    60,
    968                         //tabWidth:     135,
    969                         enableTabScroll:true,
    970                         //resizeTabs:   false,
     974                        plugins:        [ scrollerMenu ],
     975
    971976                        // RB TODO: range combobox; hour, day, week, etc
    972977
     
    10231028                        animCollapse:   true,
    10241029                        maximizable:    true,
     1030                        layout:         'fit',
    10251031                        //autoScroll:   true,
    10261032                        //defaults:     {autoScroll:true},
    10271033                        title:          'Node graph details',
    1028                         tbar:           panel,
     1034                        //tbar:         panel,
     1035                        items:          panel,
    10291036               
    10301037                        listeners:
  • trunk/web/addons/job_monarch/templates/header.tpl

    r629 r631  
    1313<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
    1414<link rel="stylesheet" type="text/css" href="./css/styles.css" />
     15<link rel="stylesheet" type="text/css" href="./lib/extjs/tab-scroller-menu.css" />
    1516
    1617<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
     
    2324<script type="text/javascript" src="./lib/extjs/StatusBar.js"></script>
    2425<script type="text/javascript" src="./lib/extjs/ProgressBarPager.js"></script>
     26<script type="text/javascript" src="./lib/extjs/TabScrollerMenu.js"></script>
    2527<script type="text/javascript" src="./js/monarch.js"></script>
    2628<script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.