后台增加welcome页面

This commit is contained in:
Argo-Lenovo 2016-11-06 01:24:05 +08:00
parent dc96c34735
commit e7ce6449be
6 changed files with 18 additions and 1 deletions

View File

@ -113,6 +113,7 @@
<Content Include="Content\css\font-awesome.min.css" />
<Content Include="Content\css\jquery.nestable.css" />
<Content Include="Content\css\tasks.css" />
<Content Include="Content\images\bg.jpg" />
<Content Include="Content\js\jquery.nestable.js" />
<Content Include="Content\css\site-responsive.css" />
<Content Include="Content\fonts\fontawesome-webfont.svg" />
@ -177,6 +178,7 @@
<Content Include="Content\css\fa.responsive.css" />
<None Include="Scripts\_references.js" />
<Content Include="Content\js\framework.js" />
<Content Include="Scripts\well.js" />
<Content Include="Views\Shared\Readme.txt" />
<Content Include="Web.config" />
<Content Include="Views\Shared\_Layout.cshtml" />

View File

@ -10,6 +10,10 @@
-moz-font-smoothing: antialiased;
}
.well-bg {
color: #fff;
}
.wrapper {
display: inline-block;
padding: 15px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -0,0 +1,8 @@
$(function () {
$('#main-content').css('backgroundImage', 'url("../../content/images/bg.jpg")');
function resposive() {
$('.well-bg').height($(window).height() - 270);
}
$(window).on('load', resposive);
$(window).on('resize', resposive);
});

View File

@ -8,4 +8,7 @@
@section navigator {
@Html.Partial("Navigator", Model)
}
<div style="height: 1000px;"><h4>欢迎使用后台管理</h4></div>
@section Javascript {
<script src="~/scripts/well.js"></script>
}
<div class="well-bg"><h4>欢迎使用后台管理</h4></div>