added 404 page and redirect if logged out
This commit is contained in:
		
							
								
								
									
										124
									
								
								resources/wwwroot/404Error.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								resources/wwwroot/404Error.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,124 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="utf-8">
 | 
			
		||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
    <title>AdminLTE 3 | 404 Page not found</title>
 | 
			
		||||
    <!-- Tell the browser to be responsive to screen width -->
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
 | 
			
		||||
    <!-- Font Awesome -->
 | 
			
		||||
    <link rel="stylesheet" href="lib/AdminLTE/plugins/fontawesome-free/css/all.min.css">
 | 
			
		||||
    <!-- Ionicons -->
 | 
			
		||||
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
 | 
			
		||||
    <!-- Theme style -->
 | 
			
		||||
    <link rel="stylesheet" href="lib/AdminLTE/dist/css/adminlte.min.css">
 | 
			
		||||
    <!-- Google Font: Source Sans Pro -->
 | 
			
		||||
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
 | 
			
		||||
</head>
 | 
			
		||||
<body class="hold-transition sidebar-mini">
 | 
			
		||||
<div class="wrapper">
 | 
			
		||||
 | 
			
		||||
    <!-- Main Sidebar Container -->
 | 
			
		||||
    <aside class="main-sidebar sidebar-dark-primary elevation-4">
 | 
			
		||||
        <!-- Brand Logo -->
 | 
			
		||||
        <a href="dashboard.html" class="brand-link">
 | 
			
		||||
            <img src="lib/AdminLTE/dist/img/AdminLTELogo.png"
 | 
			
		||||
                 alt="AdminLTE Logo"
 | 
			
		||||
                 class="brand-image img-circle elevation-3"
 | 
			
		||||
                 style="opacity: .8">
 | 
			
		||||
            <span class="brand-text font-weight-light">WasteInformation</span>
 | 
			
		||||
        </a>
 | 
			
		||||
 | 
			
		||||
        <!-- Sidebar -->
 | 
			
		||||
        <div class="sidebar">
 | 
			
		||||
 | 
			
		||||
            <!-- Sidebar Menu -->
 | 
			
		||||
            <nav class="mt-2">
 | 
			
		||||
                <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
 | 
			
		||||
                    <!-- Add icons to the links using the .nav-icon class
 | 
			
		||||
                         with font-awesome or any other icon font library -->
 | 
			
		||||
                </ul>
 | 
			
		||||
            </nav>
 | 
			
		||||
            <!-- /.sidebar-menu -->
 | 
			
		||||
        </div>
 | 
			
		||||
        <!-- /.sidebar -->
 | 
			
		||||
    </aside>
 | 
			
		||||
 | 
			
		||||
    <!-- Content Wrapper. Contains page content -->
 | 
			
		||||
    <div class="content-wrapper">
 | 
			
		||||
        <!-- Content Header (Page header) -->
 | 
			
		||||
        <section class="content-header">
 | 
			
		||||
            <div class="container-fluid">
 | 
			
		||||
                <div class="row mb-2">
 | 
			
		||||
                    <div class="col-sm-6">
 | 
			
		||||
                        <h1>404 Error Page</h1>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="col-sm-6">
 | 
			
		||||
                        <ol class="breadcrumb float-sm-right">
 | 
			
		||||
                            <li class="breadcrumb-item"><a href="#">Home</a></li>
 | 
			
		||||
                            <li class="breadcrumb-item active">404 Error Page</li>
 | 
			
		||||
                        </ol>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div><!-- /.container-fluid -->
 | 
			
		||||
        </section>
 | 
			
		||||
 | 
			
		||||
        <!-- Main content -->
 | 
			
		||||
        <section class="content">
 | 
			
		||||
            <div class="error-page">
 | 
			
		||||
                <h2 class="headline text-warning"> 404</h2>
 | 
			
		||||
 | 
			
		||||
                <div class="error-content">
 | 
			
		||||
                    <h3><i class="fas fa-exclamation-triangle text-warning"></i> Oops! Page not found.</h3>
 | 
			
		||||
 | 
			
		||||
                    <p>
 | 
			
		||||
                        We could not find the page you were looking for.
 | 
			
		||||
                        Meanwhile, you may <a href="lib/AdminLTE/index.html">return to dashboard</a> or try using the search form.
 | 
			
		||||
                    </p>
 | 
			
		||||
 | 
			
		||||
                    <form class="search-form">
 | 
			
		||||
                        <div class="input-group">
 | 
			
		||||
                            <input type="text" name="search" class="form-control" placeholder="Search">
 | 
			
		||||
 | 
			
		||||
                            <div class="input-group-append">
 | 
			
		||||
                                <button type="submit" name="submit" class="btn btn-warning"><i class="fas fa-search"></i>
 | 
			
		||||
                                </button>
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </div>
 | 
			
		||||
                        <!-- /.input-group -->
 | 
			
		||||
                    </form>
 | 
			
		||||
                </div>
 | 
			
		||||
                <!-- /.error-content -->
 | 
			
		||||
            </div>
 | 
			
		||||
            <!-- /.error-page -->
 | 
			
		||||
        </section>
 | 
			
		||||
        <!-- /.content -->
 | 
			
		||||
    </div>
 | 
			
		||||
    <!-- /.content-wrapper -->
 | 
			
		||||
    <footer class="main-footer">
 | 
			
		||||
        <div class="float-right d-none d-sm-block">
 | 
			
		||||
            <b>Version</b> 3.0.0
 | 
			
		||||
        </div>
 | 
			
		||||
        <strong>Copyright © 2014-2019 <a href="http://adminlte.io">AdminLTE.io</a>.</strong> All rights
 | 
			
		||||
        reserved.
 | 
			
		||||
    </footer>
 | 
			
		||||
 | 
			
		||||
    <!-- Control Sidebar -->
 | 
			
		||||
    <aside class="control-sidebar control-sidebar-dark">
 | 
			
		||||
        <!-- Control sidebar content goes here -->
 | 
			
		||||
    </aside>
 | 
			
		||||
    <!-- /.control-sidebar -->
 | 
			
		||||
</div>
 | 
			
		||||
<!-- ./wrapper -->
 | 
			
		||||
 | 
			
		||||
<!-- jQuery -->
 | 
			
		||||
<script src="lib/AdminLTE/plugins/jquery/jquery.min.js"></script>
 | 
			
		||||
<!-- Bootstrap 4 -->
 | 
			
		||||
<script src="lib/AdminLTE/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
 | 
			
		||||
<!-- AdminLTE App -->
 | 
			
		||||
<script src="lib/AdminLTE/dist/js/adminlte.min.js"></script>
 | 
			
		||||
<!-- AdminLTE for demo purposes -->
 | 
			
		||||
<script src="lib/AdminLTE/dist/js/demo.js"></script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user