Sha256: c33e24e37d2c01c6c2f277cf7127e3dddc2c48f3cd49a4059d2aa642500adc46

Contents?: true

Size: 1.25 KB

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
fanforce-plugin-factory-0.20.2 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.20.1 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.20.0 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.19.3 lib/fanforce/plugin_factory/layouts/engage.haml
fanforce-plugin-factory-0.19.1 lib/fanforce/plugin_factory/layouts/engage.haml