-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html.haml
61 lines (61 loc) · 1.84 KB
/
index.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%html
%head
%title "Deal Dashboard"
=javascript_include_tag '/fluxx_engine/dist/fluxx.engine.full.js'
=stylesheet_link_tag '/fluxx_engine/theme/default/css/style.css'
:javascript
$.extend(true, {
fluxx: {
config: {
icon_path: '/fluxx_engine/theme/default/images/icons',
realtime_updates: {
enabled: true,
options: {
url: '/realtime_updates'
}
},
dock: {
quicklinks: [
[
{
label: 'New Org',
url: '#{new_organization_path}',
className: 'new-detail',
type: 'green small'
},
{
label: 'New User',
url: '#{new_user_path}',
className: 'new-detail',
type: 'green small'
},
{
label: 'New Deal',
url: '#{new_deal_path}',
className: 'new-detail',
type: 'green small'
}
],
[
{
label: 'PLUS',
url: '#',
className: 'noop',
type: 'plus small',
popup: [
'#{link_to 'Org', organizations_path, :class => 'new-listing'}',
'#{link_to 'User', users_path, :class => 'new-listing'}',
'#{link_to 'Deal', deals_path, :class => 'new-listing'}'
]
}
]
]
}
}
}
});
jQuery(function($){
$('body').fluxxStage();
});
%body#fluxx
Loading Dashboard