Sha256: 7504dc277b063a0ea7138212ff6f1ab1b178d8ff8ebacf6f5080246647681646

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

<%% content_for :title do %>
  My super sweet dashboard
<%% end %>

<div class="gridster">
  <ul>
    <li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
      <div data-id="welcome" data-view="Text" data-title="Hello" data-text="This is your shiny new dashboard." data-moreinfo="Protip: You can drag the widgets around!"></div>
    </li>

    <li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
      <div data-id="synergy" data-view="Meter" data-title="Synergy" data-min="0" data-max="100"></div>
    </li>

    <li data-row="1" data-col="1" data-sizex="1" data-sizey="2">
      <div data-id="buzzwords" data-view="List" data-unordered="true" data-title="Buzzwords" data-moreinfo="# of times said around the office"></div>
    </li>

    <li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
      <div data-id="valuation" data-view="Number" data-title="Current Valuation" data-moreinfo="In billions" data-prefix="$"></div>
    </li>

    <li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
      <div data-id="convergence" data-view="Graph" data-title="Convergence" style="background-color:#ff9618"></div>
    </li>
  </ul>
  <center><div style="font-size: 12px">Try this: curl -X PUT 'http://<%%= request.host %>:<%%= request.port %>/dashing/widgets/welcome' --data "widget%5Btext%5D=Dashing+is+awesomecurl"</div></center>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dashing-rails-2.2.0 lib/generators/templates/dashboards/sample.html.erb
dashing-rails-2.1.1 lib/generators/templates/dashboards/sample.html.erb
dashing-rails-2.1.0 lib/generators/templates/dashboards/sample.html.erb
dashing-rails-2.0.2 lib/generators/templates/dashboards/sample.html.erb
dashing-rails-2.0.1 lib/generators/templates/dashboards/sample.html.erb
dashing-rails-2.0.0 lib/generators/templates/dashboards/sample.html.erb