Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative PivotUI2 function #1046

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Nov 9, 2018

  1. Added alternative PivotUI2

    PivotUI generates HTML using a table which has a fixed layout.  The alternative UI generates a set of <div> tags.  The presentation of these tags can be defined using only CSS. The updated ./dist/pivot.css includes CSS that create a facsimile of the table presentation.  The facsimile is not exactly the same but it can be with a little more effort.
    bseddon authored Nov 9, 2018
    Configuration menu
    Copy the full SHA
    7520422 View commit details
    Browse the repository at this point in the history
  2. Adds styles to provide a default presentation for PivotUI2

    The styles create a presentation that is a facsimile of the PivotUI table based layout.  The facsimile is similar to the table layout but not identical - but it could be with a bit more effort,  It is provided to illustrate how the generated <div> tags can be manipulated.
    bseddon authored Nov 9, 2018
    Configuration menu
    Copy the full SHA
    0e1638f View commit details
    Browse the repository at this point in the history
  3. Update gulp-git reference version number

    Version 0.5.5 references a version of require-dir that uses invalid node because some properties were deprecated in node 8.x.  gulp-git version 2.8.0 references require-dir 1.0.0 which doesn't use the invalid property.
    bseddon authored Nov 9, 2018
    Configuration menu
    Copy the full SHA
    b1de9d7 View commit details
    Browse the repository at this point in the history
  4. Slightly improved layout

    bseddon authored Nov 9, 2018
    Configuration menu
    Copy the full SHA
    f7fe3db View commit details
    Browse the repository at this point in the history
  5. The 'natives' package is required

    It is required to prevent a gulp crash with the message:
    
    '''gulp[16200]: src\node_contextify.cc:628: Assertion `args[1]->IsString()' failed.```
    bseddon authored Nov 9, 2018
    Configuration menu
    Copy the full SHA
    bda356a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2018

  1. Updated pivot.coffee

    Now there is one UI function.  The layout HTML generated can be <table> based or <div> based depending upon the value of a new option called 'tag'.  This option can have the value of 'table' (the default) or 'div'.
    bseddon authored Nov 12, 2018
    Configuration menu
    Copy the full SHA
    052b926 View commit details
    Browse the repository at this point in the history
  2. Update pivot.coffee

    Further modified to use inline if then ... else ... statements which has the effect of slimming the changes made.
    bseddon authored Nov 12, 2018
    Configuration menu
    Copy the full SHA
    6e6e382 View commit details
    Browse the repository at this point in the history
  3. Update pivot.coffee

    Added support for a responsive layout but adding the 'responsive' tag which takes values true or false.  This option only had an effect when the 'tag' option is set to 'div'
    bseddon authored Nov 12, 2018
    Configuration menu
    Copy the full SHA
    be84cce View commit details
    Browse the repository at this point in the history
  4. Update pivot.css

    Updated the CSS for the <div> layout to more closely resemble the table layout.  Also added directives to illustrate how the <div> layout can be responsive.  The directive change the layout to a stacked presentation when the display device is a handheld one such as a mobile phone or if the page width is 800px or less.
    bseddon authored Nov 12, 2018
    Configuration menu
    Copy the full SHA
    e05654b View commit details
    Browse the repository at this point in the history