mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-28 14:23:11 +00:00
In the process of suffering
This commit is contained in:
parent
7eae10b4bf
commit
f670e000b8
4 changed files with 66 additions and 30 deletions
|
@ -2,13 +2,25 @@
|
|||
</div>
|
||||
<div class="flyout flex-down default-window between">
|
||||
<?php
|
||||
if (isset($flyout_content) && !empty($flyout_content)) {
|
||||
echo $flyout_content;
|
||||
// Header for the flyout, must be included
|
||||
if (isset($flyout_header) && !empty($flyout_header)) {
|
||||
echo "<h2 class='space-bottom'>".$flyout_header."</h2>";
|
||||
} else {
|
||||
$flyout_content = "<h2 class='space-bottom-large'>Dialog</h2> <p>This is a very cool flyout that does nothing but be annoying right now! Sowwy for taking up your screenspace with this box!</p class='space-bottom-large'> <p>This is just being tested as a better alternative to some things, sowwy!</p> <a class='btn alert-low'>Accept the world is cruel</a>";
|
||||
echo $flyout_content;
|
||||
echo "<h2 class='space-bottom'>Missing Header</h2>";
|
||||
}
|
||||
|
||||
// Flyout content, must be included!!!!
|
||||
if (isset($flyout_content) && !empty($flyout_content)) {
|
||||
echo "<p class='space-bottom'>".$flyout_content."</p>";
|
||||
} else {
|
||||
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;
|
||||
}
|
||||
?>
|
||||
<a class="btn alert-default space-top-small flyout-close">Cancel</a>
|
||||
<a class="btn alert-default space-top flyout-close">Cancel</a>
|
||||
</div>
|
||||
<script src="scripts/flyout.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue