Browse Source

增加自定义登录页面

master
yashen 7 years ago
parent
commit
2659580023
6 changed files with 47 additions and 0 deletions
  1. +5
    -0
      WebFolder/Config/Plugins/B3_YunKen.Plugin
  2. BIN
      WebFolder/Config/custom/pages/bodybg.jpg
  3. BIN
      WebFolder/Config/custom/pages/centerbg.jpg
  4. +7
    -0
      WebFolder/Config/custom/pages/login
  5. +27
    -0
      WebFolder/Config/custom/pages/login.css
  6. +8
    -0
      WebFolder/Config/custom/pages/login.js

+ 5
- 0
WebFolder/Config/Plugins/B3_YunKen.Plugin View File

@ -9,6 +9,11 @@
<File name="B3_YunKen.Web.dll" type="web"/>
</Assemblies>
<ContentFiles>
<File name="config/custom/pages/login"/>
<File name="config/custom/pages/bodybg.jpg"/>
<File name="config/custom/pages/centerbg.jpg"/>
<File name="config/custom/pages/login.css"/>
<File name="config/custom/pages/login.js"/>
</ContentFiles>
<DbResources>


BIN
WebFolder/Config/custom/pages/bodybg.jpg View File

Before After
Width: 890  |  Height: 593  |  Size: 74 KiB

BIN
WebFolder/Config/custom/pages/centerbg.jpg View File

Before After
Width: 960  |  Height: 600  |  Size: 12 KiB

+ 7
- 0
WebFolder/Config/custom/pages/login View File

@ -0,0 +1,7 @@
bodyBackground=background:url(../config/custom/pages/bodybg.jpg);background-size:cover;
centerWidth=900
centerHeight=517
centerBackground=url(../config/custom/pages/centerbg.jpg)
loginPos=left:100px;top:200px;
customCss=../config/custom/pages/login.css
customJs=../config/custom/pages/login.js

+ 27
- 0
WebFolder/Config/custom/pages/login.css View File

@ -0,0 +1,27 @@
table.loginTable{
color:white;
}
table.loginTable input{
width:100%;
padding: 15px;
border:1px solid #7d7d7d;
outline:none;
font-size:14px;
margin-bottom:20px;
border-radius:25px;
}
table.loginTable input[type=submit]{
background:#e91e63;
padding:13px 0;
font-size:16px;
color:#fff;
cursor:pointer;
outline:none;
width:100%;
border:none;
margin-top:25px;
border-radius:25px;
}

+ 8
- 0
WebFolder/Config/custom/pages/login.js View File

@ -0,0 +1,8 @@
function bwpscanposition(scanDiv){
scanDiv.position({
of:$("form"),
my:"right center",
at:"right-100 center",
collision:"none none"
});
}

Loading…
Cancel
Save