diff --git a/app.php b/app.php index a7b5dd1..8b348c1 100644 --- a/app.php +++ b/app.php @@ -71,7 +71,7 @@ if (!is_empty($_GET['page'])) { } ?> - + \n" . "" . $name . "_" . date("Y-m-d_Hi") . "\n" . <<" + . "

A fatal application error has occurred.

" + . "(This isn't your fault.)" + . "

Details:

" + . "

". htmlspecialchars($error) . "

"); } date_default_timezone_set(TIMEZONE); diff --git a/static/css/app.css b/static/css/app.css index 63f21b8..dd88a43 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -9,6 +9,41 @@ font-size: 110%; } +.navbar-brand img { + height: 35px; + padding-bottom: 12px; + padding-left: 5px; +} + +.pad-75px { + height: 75px; +} + +.mgn-btm-10px { + margin-bottom: 10px; +} + +.mgn-top-8px { + margin-top: 8px; +} + +.black-text { + color: black !important; +} + +.center-text { + text-align: center; +} + +#peoplelist-panel { + max-height: 700px; + overflow-y: scroll; +} + +.inblock { + display: inline-block; +} + .footer { margin-top: 10em; text-align: center; diff --git a/static/js/export.js b/static/js/export.js new file mode 100644 index 0000000..45ead4a --- /dev/null +++ b/static/js/export.js @@ -0,0 +1,5 @@ +$("#genrptbtn").click(function () { + setTimeout(function () { + window.location.reload(); + }, 1000) +}); \ No newline at end of file diff --git a/static/js/managers.js b/static/js/managers.js index 63d3bde..94bd3d2 100644 --- a/static/js/managers.js +++ b/static/js/managers.js @@ -95,10 +95,14 @@ function addPerson(p) { }); return false; } - $('#peoplelist').append("
" + p + "
"); + $('#peoplelist').append("
" + p + "
"); $("#people-box").val(""); } function removePerson(p) { $("#peoplelist div[data-user=" + p + "]").remove(); -} \ No newline at end of file +} + +$('#peoplelist').on("click", ".rmperson", function () { + removePerson($(this).parent().data("user")); +}); \ No newline at end of file diff --git a/static/js/users.js b/static/js/users.js index 522e4ce..d477953 100644 --- a/static/js/users.js +++ b/static/js/users.js @@ -55,4 +55,8 @@ var usertable = $('#usertable').DataTable({ } }); -$('#usertable_filter').append("
"); \ No newline at end of file +$('#usertable_filter').append("
"); + +$('#show_deleted_checkbox').click(function () { + usertable.ajax.reload(); +}); \ No newline at end of file