This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Separate captcha image tag as temple utils, add default image `captcha_dummy.png` and click action to get real captcha image. 2. Remove `layout/{footer,header}.php`, separate `layout/head.php` in new status. 3. Add new layout for visitor `auth/base.php` and fix all templates in folder `views/auth`
- Loading branch information
Showing
16 changed files
with
274 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
layui.use(['layer', 'form','element'], function(){ | ||
;layui.use(['layer', 'form','element'], function(){ | ||
|
||
|
||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: Rhilip | ||
* Date: 2019/3/9 | ||
* Time: 9:50 | ||
* | ||
* @var League\Plates\Template\Template $this | ||
*/ | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<?php $this->insert('layout/head'); ?> | ||
|
||
<title><?= app()->config->get('base.site_name') ?> :: Authorization Point -- Powered by RidPT</title> | ||
|
||
<link rel="stylesheet" href="/lib/layui/src/css/layui.css"> <?php /** https://www.layui.com/doc/ */ ?> | ||
|
||
<!-- Custom stlylesheet --> | ||
<link rel="stylesheet" href="/static/css/main.css?<?= time() // FIXME For debug ?>"/> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="/lib/html5shiv/dist/html5shiv.min.js"></script> | ||
<script src="/lib/respond/dest/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="auth-container"> | ||
<div class="layui-row auth-nav" id="auth-nav" align="center"> | ||
<ul class="layui-nav"> | ||
<li class="layui-nav-item<?= /** @noinspection PhpUndefinedMethodInspection */ $this->uri('/auth/login', ' layui-this'); ?>"><!--suppress HtmlUnknownTarget --><a href="/auth/login">Authenticate</a></li> | ||
<li class="layui-nav-item<?= /** @noinspection PhpUndefinedMethodInspection */ $this->uri('/auth/register', ' layui-this'); ?>"><!--suppress HtmlUnknownTarget --><a href="/auth/register">Recruit</a></li> | ||
</ul> | ||
</div> | ||
<div class="layui-row auth-body" id="auth-body"> | ||
<div class="layui-col-xs4 layui-col-sm7 layui-col-md8"> | ||
<div class="auth-main-panel" id="auth-main-panel"> | ||
<div class="auth-panel"> | ||
<?= $this->section('panel') ?> <!-- Panel Content --> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<footer class="auth-footer" id="auth-footer"> | ||
<!-- The water meter is not here! --> | ||
<p class="auth-footer-text"> | ||
CSS3, Javascript and Cookie support are required.<br> | ||
See more Browsers we support on <a href="https://browsehappy.com/" target="_blank">Browse Happy</a>. | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
<script src="/lib/layui/src/layui.js"></script> | ||
<script src="/static/js/main.js?<?= time() // FIXME For debug ?>"></script> | ||
</body><!-- This templates was made by Colorlib (https://colorlib.com) --> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.