GithubHelp home page GithubHelp logo

langseth / rt-extension-jsgantt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bestpractical/rt-extension-jsgantt

0.0 1.0 0.0 60 KB

Home Page: http://search.cpan.org/dist/rt-extension-jsgantt

rt-extension-jsgantt's Introduction

RT-Extension-JSGantt version 0.18

How to install:

1. perl Makefile.PL
2. make
3. make install ( you may need root permission )
4. config items in etc/RT_SiteConfig.pm
    # add RT::Extension::JSGantt to @Plugins: e.g.
        Set(@Plugins,'RT::Extension::JSGantt');
    # customize JSGantt as you wish:

    Set(
        %JSGanttOptions,
        DefaultFormat => 'day', # or week or month or quarter
        ShowOwner     => 1,
        ShowProgress  => 1,
        ShowDuration  => 1,

        # define your own color scheme:
        # ColorScheme => ['ff0000', 'ffff00', 'ff00ff', '00ff00', '00ffff', '0000ff'],

        # we color owners consistently by default, you can disable it via:
        # ColorSchemeByOwner => 0,

        # you can specify colors to use, unspecified owners will be
        # assigned to some color automatically:
        # ColorSchemeByOwner => { root => 'ff0000', foo => '00ff00' },

        # if can't find both start and end dates, use this color
        NullDatesColor => 333,

        # to caculate day length
        WorkingHoursPerDay => 8,

        # used to set start/end if one exists but the other does not
        DefaultDays => 7,
    );

5. patch /Ticket/Elements/ShowSummary if you are using rt < 3.9
    $ patch /path/to/Ticket/Elements/ShowSummary < /path/to/rt/local/plugins/RT-Extension-JSGantt/etc/jsgantt-showsummary.diff
6. restart RT


How to update jsgantt.js and jsgantt.css:

To make it work better with RT, we changed original jsgantt.js and jsgantt.css,
which can be found in jsgantt.diff.

If you want to update jsgantt.js and jsgantt.css to a new version, please 
review the diff to see what have been changed and maybe do the same change too.

rt-extension-jsgantt's People

Contributors

pplu avatar sunnavy avatar tsibley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.