Initial Commit

The initial public commit of MVGL website code.
This commit is contained in:
Jimmy B. 2024-01-14 13:51:43 -06:00
commit b39ecf1638
2043 changed files with 215154 additions and 0 deletions

View file

@ -0,0 +1,55 @@
@if(Route::currentRouteName() == 'games.list.index')
@if (session('create_success') || session('delete_success'))
<script type="text/javascript">
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toastr-top-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "5000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "hide"
};
@if (session('create_success'))
toastr.success("{!! session('create_success') !!} was added to your list!", "Success!");
@elseif (session('delete_success'))
toastr.success("{!! session('delete_success') !!} was removed from your list.", "Success!");
@endif
</script>
@endif
@endif
@if(Route::currentRouteName() == 'games.list.edit')
@if (session('edit_success'))
<script type="text/javascript">
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toastr-top-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "5000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "hide"
};
toastr.success("Your entry was successfully updated! Do you want to go to <a class='text-dark text-decoration-underline' href='/list'>your list</a>?", "Success!");
</script>
@endif
@endif