assets/js/index-page.js
//Shows a 404 Div. Changes the innerHTML for the #content div to make it display a 404 not found message
Shows a 404 Div. Changes the innerHTML for the #content div to make it display a 404 not found message
Shows a 404 Div . Changes the innerHTML for the #content div to make it display a 404 not found message
function show404() {
    $("#content").css({
        'text-align': 'center'
    });
    $("#content").html("<h1>We were unable to locate that dashboard.</h1>");
    var homeBtn = "<button type='button' class='btn btn-default' onclick='goToHome()'>Return Home</button>";
    $("#content").append(homeBtn);
}
function show404 ( ) { $ ( "#content" ) . css ( { 'text-align' : 'center' } ) ; $ ( "#content" ) . html ( "<h1>We were unable to locate that dashboard.</h1>" ) ; var homeBtn = "<button type='button' class='btn btn-default' onclick='goToHome()'>Return Home</button>" ; $ ( "#content" ) . append ( homeBtn ) ; }
Shows a 404 Div.
Shows a 404 Div .