Français
bim-GDPR

Templates

bim-GDPR comes with several templates that you can test here.

BottomBannerTemplate

Test the template

Features

Features Status Comment
User can access the view at any moment Yes There is a button on the bottom right of the window.
User can access the content even if he does not explecitly valid the view form Yes There is an overlay suggesting the user has to valid the form before accessing the content
Groups are available Yes

How to use

Install

Install the template as you normally do with bim-gdpr

    import { BottomBannerTemplate } from "bim-gdpr/templates/bottom_banner/bottom_banner"

    const bottom_banner = new BottomBannerTemplate()
    bGDPR
        .setTemplate(bottom_banner)
        .init()

Reinit css

You can reinit the css using the setCssLinks method.

    import { BottomBannerTemplate } from "bim-gdpr/templates/bottom_banner/bottom_banner"

    const bottom_banner = new BottomBannerTemplate()
    bottom_banner.setCssLinks(['./your_own.css'])

    // Reinit default css.
    bGDPR
        .setTemplate(bottom_banner)
        .init()

ColumnChoiceTemplate

Test the template

Features

Features Status Comment
User can access the view at any moment Yes There is an implicite button on the bottom right of the window
User can access the content even if he does not explecitly valid the view form Yes
Groups are available Yes

How to use

Install

Install the template as you normally do with bim-gdpr

    import { ColumnChoiceTemplate } from "bim-gdpr/templates/column_choice/column_choice"

    const column_choice = new ColumnChoiceTemplate()
    bGDPR
        .setTemplate(column_choice)
        .init()

Reinit css

You can reinit the css using the setCssLinks method.

    import { ColumnChoiceTemplate } from "bim-gdpr/templates/column_choice/column_choice"

    const column_choice = new ColumnChoiceTemplate()
    column_choice.setCssLinks(['./your_own.css'])

    bGDPR
        .setTemplate(column_choice)
        .init()

DefaultTemplate

Test the template

Features

Features Status Comment
User can access the view at any moment Yes There is a button on the bottom right of the window.
User can access the content even if he does not explecitly valid the view form No There is an overlay suggesting the user has to valid the form before accessing the content
Groups are available Yes

How to use

Install

Install the template as you normally do with bim-gdpr

    import { DefaultTemplate } from "bim-gdpr/templates/default/Default"

    const default_template = new DefaultTemplate()
    bGDPR
        .setTemplate(default_template)
        .init()

Reinit css

You can reinit the css using the setCssLinks method.

    import { DefaultTemplate } from "bim-gdpr/templates/default/Default"

    const default_template = new DefaultTemplate()
    default_template.setCssLinks(['./your_own.css'])

    // Reinit default css.
    bGDPR
        .setTemplate(default_template)
        .init()

QuickTemplate

Test the template

Features

Features Status Comment
User can access the view at any moment Yes
User can access the content even if he does not explecitly valid the view form Yes
Groups are available Yes

How to use

Install

Install the template as you normally do with bim-gdpr

    import { QuickTemplate } from "bim-gdpr/templates/quick_template/quick_template"

    const quick_template = new QuickTemplate()
    bGDPR
        .setTemplate(quick_template)
        .init()

Reinit css

You can reinit the css using the setCssLinks method.

    import { QuickTemplate } from "bim-gdpr/templates/quick_template/quick_template"

    const quick_template = new QuickTemplate()
    quick_template.setCssLinks(['./your_own.css'])

    bGDPR
        .setTemplate(quick_template)
        .init()