Skip to content

Instantly share code, notes, and snippets.

@krisleech
Created May 10, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisleech/5c6d32b067ef4a20deaccb021003224a to your computer and use it in GitHub Desktop.
Save krisleech/5c6d32b067ef4a20deaccb021003224a to your computer and use it in GitHub Desktop.
SmartAdmin
%div#incomplete-task-widget.jarviswidget.jarviswidget-color-blueDark{ data: { "widget-fullscreenbutton" => "true" }, role: 'widget' }
%header{ role: 'heading' }
%h2 Todo
%div.widget-toolbar{ role: 'menu' }
%div.label.label-info
= @incomplete_tasks.size
-# %div.widget-toolbar{ role: 'menu' }
-# %a.btn.btn-primary My Tasks
%div{ role: 'content' }
%div.widget-body.no-padding
%table.table.table-hover.incomplete
%thead
%tr
%th
%th Task
%th Author
%th Assigned to
%th Assigned on
%th Due on
%th
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment