Sha256: 35da07c90c5e4edc1937f6bffb1cc54f1b26ad0e6980cfb2d93e45833a6079b3
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
- blazer_title @dashboard.name .topbar .container .row{:style => "padding-top: 13px;"} .col-sm-9 = render partial: "blazer/nav" %h3{:style => "line-height: 34px; display: inline; margin-left: 5px;"} = @dashboard.name .col-sm-3.text-right = link_to "Edit", edit_dashboard_path(@dashboard, variable_params), class: "btn btn-info" %div{:style => "margin-bottom: 60px;"} - if @data_sources.any? { |ds| ds.cache_mode != "off" } %p.text-muted{:style => "float: right;"} Some queries may be cached \#{link_to "Refresh", refresh_dashboard_path(@dashboard, variable_params), method: :post} - if @bind_vars.any? = render partial: "blazer/variables", locals: {action: dashboard_path(@dashboard)} - else %div{:style => "padding-bottom: 15px;"} - @queries.each_with_index do |query, i| .chart-container %h4= link_to query.friendly_name, query_path(query, variable_params), target: "_blank" .chart{:id => "chart-#{i}"} %p.text-muted Loading... :javascript #{blazer_js_var "data", {statement: query.statement, query_id: query.id, data_source: query.data_source, only_chart: true}} runQuery(data, function (data) { $("#chart-#{i}").html(data) $("#chart-#{i} table").stupidtable() }, function (message) { $("#chart-#{i}").addClass("query-error").html(message) });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sql-jarvis-2.1.2 | app/views/blazer/dashboards/show.html.haml |
sql-jarvis-2.1.1 | app/views/blazer/dashboards/show.html.haml |
sql-jarvis-2.1 | app/views/blazer/dashboards/show.html.haml |