2022-07-29 12:53:36 +00:00
|
|
|
<div class="flyout-dim">
|
|
|
|
</div>
|
|
|
|
<div class="flyout flex-down default-window between">
|
|
|
|
<?php
|
2022-07-29 15:41:05 +00:00
|
|
|
// Header for the flyout, must be included
|
|
|
|
if (isset($flyout_header) && !empty($flyout_header)) {
|
|
|
|
echo "<h2 class='space-bottom'>".$flyout_header."</h2>";
|
|
|
|
} else {
|
|
|
|
echo "<h2 class='space-bottom'>Missing Header</h2>";
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flyout content, must be included!!!!
|
2022-07-29 12:53:36 +00:00
|
|
|
if (isset($flyout_content) && !empty($flyout_content)) {
|
2022-07-29 15:41:05 +00:00
|
|
|
echo "<p class='space-bottom'>".$flyout_content."</p>";
|
2022-07-29 12:53:36 +00:00
|
|
|
} else {
|
2022-07-29 15:41:05 +00:00
|
|
|
echo "<p class='space-bottom'>This is just being tested as a better alternative to some things, sowwy!</p>";
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flyout button, not required so must need more information when added
|
|
|
|
if (isset($flyout_interaction) && !empty($flyout_interaction)) {
|
|
|
|
echo $flyout_interaction;
|
2022-07-29 12:53:36 +00:00
|
|
|
}
|
|
|
|
?>
|
2022-07-29 15:41:05 +00:00
|
|
|
<a class="btn alert-default space-top flyout-close">Cancel</a>
|
2022-07-29 12:53:36 +00:00
|
|
|
</div>
|
|
|
|
<script src="scripts/flyout.js"></script>
|