filesite
3 months ago
7 changed files with 171 additions and 3 deletions
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
{ |
||||
"password_auth": { |
||||
"enable": true, |
||||
"alldirs": "helloWorld", |
||||
"nonebutdirs": { |
||||
"test": "hello", |
||||
"邻家小妹": "world" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
<?php |
||||
//密码授权 |
||||
|
||||
?><!-- 顶部导航栏模块 --> |
||||
<nav class="navbar navbar-default navbar-fixed-top navbarJS"> |
||||
<div class="container-fluid"> |
||||
<!-- Brand and toggle get grouped for better mobile display navbar-inverse--> |
||||
<div class="navbar-header"> |
||||
<a class="navbar-brand" href="/"> |
||||
<span class="verMiddle"><?php echo $pageTitle; ?></span> |
||||
</a> |
||||
</div> |
||||
</div><!-- /.container-fluid --> |
||||
</nav> |
||||
|
||||
<!-- 页面内容 --> |
||||
<div class="container"> |
||||
<form class="simple-form" action="" method="POST"> |
||||
<div class="alert alert-warning"> |
||||
<h3>当前页面需密码授权</h3> |
||||
<p class="mt-1">如果你不知道密码,请联系管理员索要。</p> |
||||
</div> |
||||
<div class="form-group"> |
||||
<input name="password" placeholder="请填写密码" type="password" class="form-control"> |
||||
</div> |
||||
<div class=""> |
||||
<button class="btn btn-primary" type="submit"> |
||||
继续访问 |
||||
</button> |
||||
</div> |
||||
</form> |
||||
</div> |
Loading…
Reference in new issue