Sha256: a4259b2adaee4394be99acf84ff0f6806996ca246710c336d62acd9403e1bc32

Contents?: true

Size: 555 Bytes

Versions: 19

Compression:

Stored size: 555 Bytes

Contents

function start_gridster(){
    var baseWidth = $(".gridster").width()/12 - 30;
    var gridster = $(".gridster>ul").gridster({
        widget_margins: [15, 10],
        widget_base_dimensions: [baseWidth, 360],
        max_size_x: 12,
        min_cols: 12,
        max_cols: 12,
        autogenerate_stylesheet: false
    }).data('gridster');
    refreshCharts();
    $(".gridster>ul>li[data-hide='true']").each(function(i, widget) {
        $(widget).hide();
        gridster.remove_widget(widget);
        $(".gridster>ul").append($(widget));
    });
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
foreman_theme_satellite-14.3.1 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.5 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.4 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-14.3.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-14.2.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.3 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-14.1.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.2 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.1 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-14.0.1 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-14.0.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.3.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.5 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.4 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.3 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.2 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.1 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.2.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js
foreman_theme_satellite-13.1.0 app/assets/javascripts/foreman_theme_satellite/theme_dashboard.js