Created
March 25, 2015 10:43
-
-
Save mattrayner/bf59c2d3fe6550399e66 to your computer and use it in GitHub Desktop.
A sample working haml layout for dashing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- content_for :title do | |
My super sweet dashboard | |
.gridster | |
%ul | |
%li{"data-col" => "1", "data-row" => "1", "data-sizex" => "1", "data-sizey" => "1"} | |
%div{"data-id" => "status", "data-moreinfo" => "Protip: You can drag the widgets around!", "data-text" => "", "data-title" => "Uniprix-Printemps", "data-view" => "Text"} | |
%li{"data-col" => "1", "data-row" => "1", "data-sizex" => "1", "data-sizey" => "1"} | |
%div{"data-id" => "participant_count", "data-title" => "Participants", "data-view" => "Number"} | |
%li{"data-col" => "1", "data-row" => "1", "data-sizex" => "1", "data-sizey" => "1"} | |
%div{"data-id" => "prize_sum", "data-max" => "20000", "data-min" => "0", "data-title" => "Total des prix", "data-view" => "Meter"} | |
%li{"data-col" => "1", "data-row" => "1", "data-sizex" => "1", "data-sizey" => "1"} | |
%div{"data-id" => "status", "data-view" => "Text", "data-title" => "Status"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment