[% site_config.title = c.loc('Panel Branding') -%]
[% c.loc('Back') %]
[% back_created = 1 -%]
[% FOREACH m IN messages -%]
[% m.text %]
[% END -%] [% IF reseller.first.status != "active" -%]
[% c.loc('Reseller is [_1]', reseller.first.status) %]
[% END -%] [% messages = [] -%]
[% UNLESS c.user.read_only -%] Edit Branding [% IF branding.logo -%] Delete Logo [% END -%]
[% END -%] [% IF branding.defined -%] [% IF branding.logo.defined -%]

Custom Logo

[% c.loc("You can use the logo by adding the following CSS to the Custom CSS below:") %]

#header .brand {
    background: url([% c.uri_for_action('/reseller/get_branding_logo', c.req.captures) %]) no-repeat 0 0;
    background-size: 280px 32px;
}

[% ELSE -%] No logo uploaded. [% END -%]

Custom CSS

[% branding.css %]
                

[% ELSE -%] No branding specified, using standard branding. [% END -%] [% IF branding_edit_flag == 1 -%] [% IF form.has_for_js; form.render_repeatable_js; END; PROCESS "helpers/modal.tt"; modal_header(m.edit_flag = branding_edit_flag, m.name = "Reseller Branding"); branding_form.render; modal_footer(); modal_script(m.close_target = close_target); -%] [% END -%] [% # vim: set tabstop=4 syntax=html expandtab: -%]