Skip to content

Instantly share code, notes, and snippets.

@pthaden
pthaden / dashboard.html
Created December 8, 2016 23:19
JET v2.2.0 viewModel and view rewritten from DragNDrop cookbook to work with Yeoman NavDrawer template
<div style="float:left;">
<fieldset style="border:1px #b0b0b0 solid; min-width:240px; min-height:450px;">
<legend style="border:1px #b0b0b0 solid; margin-left: 1em; padding:0.2em 0.8em">Drag Sources</legend>
<div>
<div id="dragdiv1" draggable="true" style="background:#f3a0bf; float:left; width:50px; height:30px; border:1px solid rgb(176,76,176); cursor:pointer; margin:15px 11px 10px; text-align:center; vertical-align:middle;line-height:30px;">Tools</div>
<div id="dragdiv2" draggable="true" style="background:#f3a0bf; float:left; width:50px; height:30px; border:1px solid rgb(176,76,176); cursor:pointer; margin:15px 11px 10px; text-align:center; vertical-align:middle;line-height:30px;">Apps</div>
<div id="dragdiv3" draggable="true" style="background:#f3a0bf; float:left; width:50px; height:30px; border:1px solid rgb(176,76,176); cursor:pointer; margin:15px 11px 10px; text-align:center; vertical-align:middle;line-height:30px;">Logs</div>
</div>
[
{
"name": "Paul Thaden",
"screen_name": "pthaden",
"profile_background_image_url": "https://pbs.twimg.com/profile_images/1255007050/Avatar_bigger.png",
"text": "Swapping in Github-hosted external data for JET Cookbook recipes: http://likeahouseafire.com/2016/08/24/swapping-in-data-jet-cookbook/",
"created_at": "2016-08-25 5:27pm",
"source": "https://twitter.com/pthaden/status/768922761624326144"
},
{
{
"Departments" : [ {
"DepartmentId" : 10,
"DepartmentName" : "PDT Administration",
"ManagerId" : null,
"LocationId" : null
}, {
"DepartmentId" : 20,
"DepartmentName" : "PDT Marketing",
"ManagerId" : null,