Skip to content
Snippets Groups Projects
Select Git revision
  • 828e7ae9e0b9fd56a8a076df575934eb578897a9
  • main default protected
2 results

deadlines_grid.js

  • user avatar
    Benjamin Ledel authored
    828e7ae9
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    deadlines_grid.js 987 B
    import { GridWidget } from "@polaris/dashboard-sdk";
    import {TextElement} from "../../../../src/js/elements/textelement";
    
    const data = [
        {
            type: "textElement",
            name: "Block 1",
            options: {
                showLegend: false,
            },
            data: {
                text: "00.00.00 - noch ... Tage"
            }
        },
        {
            type: "textElement",
            name: "Block 2",
            options: {
                showLegend: false,
            },
            data: {
                text: "00.00.00 - noch ... Tage"
            }
        },
        {
            type: "textElement",
            name: "Block 3",
            options: {
                showLegend: false,
            },
            data: {
                text: "00.00.00 - noch ... Tage"
            }
        },
    ]
    
    
    export const deadlinesGridDef = { "deadlines-grid-widget" :
            new GridWidget(
                "Kursvergleich",
                "Vergleich mit anderen Studierenden",
                data,
                {
                    direction: "column"
                })
    }