Sha256: 5e589d3177d18dc67771d2a9b28397c157f9d2374b9fb8954a8fe35615396384

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
%html
  %head
    %title Fanforce
    %meta{'http-equiv'=>'Content-Type', content:'text/html; charset=iso-8859-1'}/
    %meta{'http-equiv'=>'Content-Language', content: 'en-us'}/
    = stylesheet '/engage.css'
  %body.layout-engage
    .lyt-root
      .lyt-header
        #logo
      = yield
      .lyt-root-footer
    .lyt-footer
      %span#distributed-by
      %a{href: "http://#{Fanforce::BASE_DOMAIN}"} Powered by Fanforce.

  = javascript "http://#{Fanforce::I_DOMAIN}/#{params[:fanforce_slug]}-fanforce.js#{'?force_compile=1&env=development' if ENV['RACK_ENV']=='development'}"
  = yield_content :after_fanforce_js
  :coffeescript
    if FF.account.website_url
      $('#distributed-by').html('Distributed by <a href="' + FF.account.website_url + '">' + FF.account.name + '</a>.&nbsp;')
      $('#logo').html('<a href="' + FF.account.website_url + '"><img class="logo" src="' + FF.account.logo_url + '"></a>') if FF.account.logo_url?
    else
      $('#distributed-by').html('Distributed by ' + FF.account.name + '.&nbsp;')
      $('#logo').html('<img class="logo" src="' + FF.account.logo_url + '">') if FF.account.logo_url

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fanforce-plugin-factory-0.19.0 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.18.0 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.17.2 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.17.1 lib/fanforce/plugin_factory/layouts/engage.haml