后端模块更新
前端模板路径设置
This commit is contained in:
50
public/template/default/front/form.html
Normal file
50
public/template/default/front/form.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{$info['title']}</title>
|
||||
<style type="text/css">
|
||||
body{background: #e6e7e8; color: #555555; margin: 0; padding: 0; font-size: 12px;}
|
||||
.form-box{width: 1020px; margin: auto; box-shadow: 0px 8px 8px #a1a1a1;min-height: 1000px; background: #ffffff; position: relative;}
|
||||
.logo{padding: 20px;}
|
||||
.banner{position: relative;}
|
||||
|
||||
.form-body{display: flex;}
|
||||
.form-body .content{padding: 10px; font-size: 14px;}
|
||||
.form-body .item{width: 50%;}
|
||||
|
||||
.form{padding-bottom: 20px;}
|
||||
.form .title, .relation .title{font-size: 18px; line-height: 45px;}
|
||||
.form .c, .relation .c{background: #f1f1f1; padding: 10px;}
|
||||
|
||||
.footer{background: #e6e7e8; position: absolute; left: 0; right: 0; bottom: 0; text-align: center; line-height: 30px; padding: 10px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="form-box">
|
||||
<div class="logo"><img src="https://na-ab25.marketo.com/rs/informaticacorp/images/logo.png" alt=""></div>
|
||||
|
||||
<div class="banner"><img src="https://now.informatica.com/rs/867-MAO-634/images/lp01-SpringLaunch20.jpg"></div>
|
||||
|
||||
<div class="form-body">
|
||||
<div class="content item">
|
||||
{$info['content']|raw}
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="form">
|
||||
<div class="title">立即注册</div>
|
||||
<div class="c"></div>
|
||||
</div>
|
||||
<div class="relation">
|
||||
<div class="title">教师</div>
|
||||
<div class="c"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
© 2020 Informatica LLC. All Rights Reserved.www.informatica.comContact Us|Terms of Use|Privacy Policy
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
40
public/template/default/front/index_index.html
Normal file
40
public/template/default/front/index_index.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SentCMS网站管理系统</title>
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans-serif; font-weight: 100; height: 100vh; margin: 0;}
|
||||
.full-height {height: 100vh;}
|
||||
.flex-center {align-items: center;display: flex;justify-content: center;}
|
||||
.position-ref {position: relative;}
|
||||
.top-right {position: absolute;right: 10px;top: 18px;}
|
||||
.content {text-align: center;}
|
||||
.title {font-size: 84px;}
|
||||
.links > a {color: #636b6f;padding: 0 25px; font-size: 12px;font-weight: 600;letter-spacing: .1rem;text-decoration: none;text-transform: uppercase;}
|
||||
.m-b-md {margin-bottom: 30px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
SentCMS网站管理系统
|
||||
</div>
|
||||
|
||||
<div class="links">
|
||||
<a href="https://www.kancloud.cn/tensent/sentcms3/169624" target="_blank">文档</a>
|
||||
<a href="https://www.tensent.cn" target="_blank">资讯</a>
|
||||
<a href="https://gitee.com/sentcms/sentcms" target="_blank">Gitee</a>
|
||||
<a href="{:url('admin.index/index')}" target="_blank">后台管理</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
39
public/template/default/front/miss.html
Normal file
39
public/template/default/front/miss.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SentCMS网站管理系统</title>
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans-serif; font-weight: 100; height: 100vh; margin: 0;}
|
||||
.full-height {height: 100vh;}
|
||||
.flex-center {align-items: center;display: flex;justify-content: center;}
|
||||
.position-ref {position: relative;}
|
||||
.top-right {position: absolute;right: 10px;top: 18px;}
|
||||
.content {text-align: center;}
|
||||
.title {font-size: 84px;}
|
||||
.links > a {color: #636b6f;padding: 0 25px; font-size: 12px;font-weight: 600;letter-spacing: .1rem;text-decoration: none;text-transform: uppercase;}
|
||||
.m-b-md {margin-bottom: 30px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
|
||||
<div class="content">
|
||||
<div class="title m-b-md">
|
||||
404 Not Found!
|
||||
</div>
|
||||
|
||||
<div class="links">
|
||||
<a href="https://www.kancloud.cn/tensent/sentcms3/169624" target="_blank">文档</a>
|
||||
<a href="https://www.tensent.cn" target="_blank">资讯</a>
|
||||
<a href="https://gitee.com/sentcms/sentcms" target="_blank">Gitee</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
11
public/template/default/info.php
Normal file
11
public/template/default/info.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
return [
|
||||
'name' => '官方默认模板',
|
||||
'version' => '1.0',
|
||||
'authors' => [
|
||||
'name' => 'molong',
|
||||
'email' => 'molong@tensent.cn'
|
||||
],
|
||||
'type' => 'pc',
|
||||
'preview' => 'preview.png'
|
||||
];
|
||||
Reference in New Issue
Block a user