Preparing to add AJAX

This commit is contained in:
Michał Gdula 2022-08-02 14:13:35 +01:00
parent 4c064eeaed
commit a52f2c3da7
13 changed files with 77 additions and 55 deletions

View file

@ -150,6 +150,9 @@ function flyout($header, $content, $action) {
// Exit button + Div End
echo "<button class='btn alert-default space-top flyout-close'>Close</button>
</div>";
// Must be included with flyout.php
echo "<script src='scripts/flyout.js'></script>";
}
@ -166,7 +169,7 @@ function flyout($header, $content, $action) {
returns notification html including classes
===== Editors note ==================================
===== Programmers note ==============================
I made this so I didn't have to remake the html
portion of the notification, it was annoying.
This also allows for expanding the system later on!