Sha256: e18727a76aa3e534e7e45b441d11b82522958f3f99c845b97f0438767dfa7dd1

Contents?: true

Size: 1.34 KB

Versions: 73

Compression:

Stored size: 1.34 KB

Contents

.container-fluid
  .row-fluid
    .span6
      %h3 About this App
      .description(data-bind='text: Dashboard.description()') Loading...
    .span6
      %h3 Quick Menu...
      %ul.plugins(data-bind='template: {name: "plugin", foreach: Dashboard.plugins}')

%script#plugin(type='text/jquery')
  {{if type == 'data_connector'}}
  %li
    .command Pull in...
    %button{'data-bind'=>'click: addSource'}
      .icon{style: 'background-image:url(${public_urls.icon_32})'}
      .text ${name}
      -#.stats{'data-bind'=>'text: data_source_count + (data_source_count == 1 ? " source" : " sources")'}

  {{else type == 'behavior'}}
  %li
    .command I want my fanforce to...
    %button{'data-bind'=>'click: addInitiative'}
      .icon{style: 'background-image:url(${public_urls.icon_32})'}
      .text ${name}
    -#  .stats{'data-bind'=>'text: data_source_count() + (data_source_count() == 1 ? " initiative" : " initiatives")'}

  {{else type == 'broadcaster'}}
  %li
    .command Broadcast using...
    %button{'data-bind'=>'click: newBroadcast'}
      .icon{style: 'background-image:url(${public_urls.icon_32})'}
      .text ${name}
    -#  .stats{'data-bind'=>'text: data_source_count() + (data_source_count() == 1 ? " message" : " messages")'}
  {{/if}}

- content_for :after_core_js do
  :coffeescript
    @Dashboard = new DashboardController(#{FanforceApp._id.to_json})

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
fanforce-app-factory-0.25.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.24.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.24.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.23.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.23.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.22.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.22.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.21.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.20.2 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.20.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.20.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.19.4 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.19.3 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.19.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.19.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.18.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.17.2 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.17.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.17.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.16.1 lib/fanforce/app_factory/views/dashboard.haml