<?php

/*

type: layout

name: Fluid

description: Full width background

*/
?>

<style>
    .parallax {
        background-image: url("<?php print $parallax; ?>");
        opacity: <?php print $alpha; ?>;
    }
</style>

<div class="row module-parallax">
    <div class="col-xs-12 col-md-12">
        <div class="parallax"></div>
    </div>
    <div class="col-xs-12 col-md-12">
        <div class="info-box-fluid">
            <div class="middle-content">
                <div class="row">
                    <div class="col-xs-12 col-md-3">
                        <img src="<?php print $infoImage; ?>"
                             alt=""/>
                    </div>
                    <div class="col-xs-12 col-md-9">
                        <div class="edit" field="parallax_text" rel="<?php print $params['id']; ?>">
                            <p><?php print $infoBox; ?></p>

                            <module type="btn" id="parallax-btn-<?php print $params['id']; ?>" template="bootstrap" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php if (is_admin()): ?>
    <?php print lnotif(_e('Click here to edit the Parallax', true)); ?>
<?php endif; ?>
