Skip to content

Commit

Permalink
1. 新增修改管理员密码功能(前端部分基本完成,待做后端部分)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinn-lancelot committed Sep 10, 2018
1 parent cf665ce commit 4eba759
Show file tree
Hide file tree
Showing 6 changed files with 502 additions and 20 deletions.
15 changes: 7 additions & 8 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
padding: 0 3vw;
font-size: 4vw;
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: 4vw;
line-height: 4vw;
font-size: 3vw;
Expand All @@ -48,7 +48,7 @@
padding: 0 calc(640px * 0.03);
font-size: calc(640px * 0.04);
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: calc(640px * 0.04);
line-height: calc(640px * 0.04);
font-size: calc(640px * 0.03);
Expand Down Expand Up @@ -95,10 +95,11 @@
color: #36a82e;
}

.logout-btn {
.modify-password-btn, .logout-btn {
color: #ddd;
text-decoration: underline;
cursor: pointer;
user-select: none;
}

.box {
Expand Down Expand Up @@ -157,6 +158,9 @@
<div class="container">
<div class="user-box">
<p class="user user-size"><?php echo $user; ?></p>
<a href="./modifyPassword.php">
<p class="modify-password-btn modify-password-size">修改密码</p>
</a>
<p class="logout-btn logout-size">退出登录</p>
</div>
<div class="box">
Expand All @@ -172,11 +176,6 @@
<p>添加接口调用安全域名</p>
</div>
</a>
<a href="">
<div class="btn btn-size">
<p>添加管理员账号</p>
</div>
</a>
</div>
</div>
</div>
Expand Down
10 changes: 7 additions & 3 deletions manageDomainName.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
right: 2.5vw;
cursor: pointer;
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: 4vw;
line-height: 4vw;
font-size: 3vw;
Expand Down Expand Up @@ -84,7 +84,7 @@
right: calc(640px * 0.025);
cursor: pointer;
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: calc(640px * 0.04);
line-height: calc(640px * 0.04);
font-size: calc(640px * 0.03);
Expand Down Expand Up @@ -161,10 +161,11 @@
color: #36a82e;
}

.logout-btn {
.modify-password-btn, .logout-btn {
color: #ddd;
text-decoration: underline;
cursor: pointer;
user-select: none;
}

.box {
Expand Down Expand Up @@ -193,6 +194,9 @@
<div class="user-box">
<a href="./safeDomainName.php"><div class="back" title="返回"></div></a>
<p class="user user-size"><?php echo $user; ?></p>
<a href="./modifyPassword.php">
<p class="modify-password-btn modify-password-size">修改密码</p>
</a>
<p class="logout-btn logout-size">退出登录</p>
</div>
<div class="box">
Expand Down
10 changes: 7 additions & 3 deletions manageVerify.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
right: 2.5vw;
cursor: pointer;
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: 4vw;
line-height: 4vw;
font-size: 3vw;
Expand Down Expand Up @@ -81,7 +81,7 @@
right: calc(640px * 0.025);
cursor: pointer;
}
.user-size, .logout-size {
.user-size, .modify-password-size, .logout-size {
height: calc(640px * 0.04);
line-height: calc(640px * 0.04);
font-size: calc(640px * 0.03);
Expand Down Expand Up @@ -158,10 +158,11 @@
color: #36a82e;
}

.logout-btn {
.modify-password-btn, .logout-btn {
color: #ddd;
text-decoration: underline;
cursor: pointer;
user-select: none;
}

.box {
Expand Down Expand Up @@ -190,6 +191,9 @@
<div class="user-box">
<a href="./verify.php"><div class="back" title="返回"></div></a>
<p class="user user-size"><?php echo $user; ?></p>
<a href="./modifyPassword.php">
<p class="modify-password-btn modify-password-size">修改密码</p>
</a>
<p class="logout-btn logout-size">退出登录</p>
</div>
<div class="box">
Expand Down
Loading

0 comments on commit 4eba759

Please sign in to comment.