|
@@ -1,10 +1,12 @@
|
|
|
@inject IWebHostEnvironment HostEnvironment
|
|
|
@using System.IO
|
|
|
@using Masuit.Tools
|
|
|
+@using Masuit.Tools.Win32
|
|
|
@using Microsoft.AspNetCore.Hosting
|
|
|
@using Microsoft.Net.Http.Headers
|
|
|
|
|
|
@{
|
|
|
+ string[] colors = { "success", "info", "primary", "warning", "danger" };
|
|
|
Layout = null;
|
|
|
}
|
|
|
<!DOCTYPE html>
|
|
@@ -12,14 +14,6 @@
|
|
|
<head>
|
|
|
<title>404-页面找不到啦!</title>
|
|
|
<style type="text/css">
|
|
|
- #main-scrollbar {
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- }
|
|
|
-
|
|
|
.link, .texts {
|
|
|
margin: 0 auto 15px;
|
|
|
color: #505050;
|
|
@@ -84,40 +78,48 @@
|
|
|
<script src="~/Assets/catchcat/catch-the-cat.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
- <main>
|
|
|
- <div class="container">
|
|
|
- <header id="header" class="page-header text-center">
|
|
|
- <h1><a href="/">Oops!</a></h1>
|
|
|
- </header>
|
|
|
- <div id="container">
|
|
|
- @{
|
|
|
- Random r = new Random();
|
|
|
- string imgPath = $"/Assets/images/404/404{r.StrictNext(Directory.GetFiles(HostEnvironment.WebRootPath + "/Assets/images/404").Length) + 1}.jpg";
|
|
|
- }
|
|
|
- <img class="img img-responsive img-thumbnail" width="100%" src="@imgPath" alt="@ViewBag.Keywords" />
|
|
|
- <h3 class="margintop20">
|
|
|
- <em>
|
|
|
+ <div class="container">
|
|
|
+ <header id="header" class="page-header text-center">
|
|
|
+ <h1><a href="/">Oops!</a></h1>
|
|
|
+ </header>
|
|
|
+ <div id="container">
|
|
|
+ @{
|
|
|
+ Random r = new Random();
|
|
|
+ string imgPath = $"/Assets/images/404/404{r.StrictNext(Directory.GetFiles(HostEnvironment.WebRootPath + "/Assets/images/404").Length) + 1}.jpg";
|
|
|
+ }
|
|
|
+ <img class="img img-responsive img-thumbnail" width="100%" src="@imgPath" alt="@ViewBag.Keywords" />
|
|
|
+ <h3 class="margintop20">
|
|
|
+ <em>
|
|
|
<span class="STYLE1">404 Error </span>
|
|
|
</em>:所查找的页面不存在,可能已被删除或您输错了网址!
|
|
|
- </h3>
|
|
|
- <a class="btn btn-info btn-lg" href="/"><i class="icon-reply">返回首页</i></a>
|
|
|
- <dl class="texts">
|
|
|
- <dt class="h2">正在联系火星总部查找您所需要的页面.请返回等待信息......</dt>
|
|
|
- <dd>
|
|
|
- <ul>
|
|
|
- <li class="h2">不要返回吗?</li>
|
|
|
- <li class="h3">确定不要返回吗?</li>
|
|
|
- <li class="h4">真的真的确定不要返回吗?</li>
|
|
|
- <li class="h5">好吧.还是随便你要不要真的确定返回吧</li>
|
|
|
- <li class="h6">要是真的不愿意返回就玩个游戏吧,机会很难得哦——</li>
|
|
|
- <li>将猫困在一个深色圆点围成的圈子里面就算成功了!</li>
|
|
|
- </ul>
|
|
|
- </dd>
|
|
|
- <div id="games"></div>
|
|
|
- </dl>
|
|
|
- </div>
|
|
|
+ </h3>
|
|
|
+ <a class="btn btn-info btn-lg" href="/"><i class="icon-reply">返回首页</i></a>
|
|
|
+ <dl class="texts">
|
|
|
+ <dt class="h2">正在联系火星总部查找您所需要的页面.请返回等待信息......</dt>
|
|
|
+ <dd>
|
|
|
+ <ul>
|
|
|
+ <li class="h2">不要返回吗?</li>
|
|
|
+ <li class="h3">确定不要返回吗?</li>
|
|
|
+ <li class="h4">真的真的确定不要返回吗?</li>
|
|
|
+ <li class="h5">好吧.还是随便你要不要真的确定返回吧</li>
|
|
|
+ <li class="h6">要是真的不愿意返回就玩个游戏吧,机会很难得哦——</li>
|
|
|
+ <li>将猫困在一个深色圆点围成的圈子里面就算成功了!</li>
|
|
|
+ </ul>
|
|
|
+ </dd>
|
|
|
+ <div id="games"></div>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layer animated fadeIn">
|
|
|
+ <div class="loadEffect">
|
|
|
+ @for (int i = 0; i < 7; i++)
|
|
|
+ {
|
|
|
+ <div>
|
|
|
+ <span class="bg-@colors[new Random().StrictNext() % 5]"></span>
|
|
|
+ </div>
|
|
|
+ }
|
|
|
</div>
|
|
|
- </main>
|
|
|
+ </div>
|
|
|
</body>
|
|
|
</html>
|
|
|
<script>
|