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-1.7.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.7.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.6.3 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.6.2 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.6.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.6.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.5.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.4.4 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.4.3 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.4.2 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.4.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.4.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.3.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.2.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.1.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-1.0.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.40.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.40.0 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.39.1 lib/fanforce/app_factory/views/dashboard.haml
fanforce-app-factory-0.39.0 lib/fanforce/app_factory/views/dashboard.haml