mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
去除对 admin view 的依赖
This commit is contained in:
parent
54bdb10d82
commit
ba998bdb4b
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="think-box-shadow" id="ContentBox">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="think-box-shadow">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name='../../admin/view/table'}
|
||||
{extend name='table'}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="MessageTable">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name='../../admin/view/table'}
|
||||
{extend name='table'}
|
||||
|
||||
{block name='button'}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<form action="{:sysuri()}?type={$get.type|default=''}" method="post" data-auto="true" class="layui-form layui-card">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<div class="think-box-notify margin-bottom-15">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<form action="{:sysuri()}" class="layui-form layui-card" data-auto="true" method="post">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name='../../admin/view/table'}
|
||||
{extend name='table'}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/table"}
|
||||
{extend name="table"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("sync") and $type eq 'index'}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div id="TruckForm">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="think-box-shadow" id="TruckForm">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/table"}
|
||||
{extend name="table"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<style>
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<div class="think-box-notify margin-bottom-15">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/table"}
|
||||
{extend name="table"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
32
app/data/view/full.html
Normal file
32
app/data/view/full.html
Normal file
@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<title>{block name="title"}{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}{/block}</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=0.4">
|
||||
<link rel="stylesheet" href="__ROOT__/static/plugs/layui/css/layui.css?at={:date('md')}">
|
||||
<link rel="stylesheet" href="__ROOT__/static/theme/css/iconfont.css?at={:date('md')}">
|
||||
<link rel="stylesheet" href="__ROOT__/static/theme/css/console.css?at={:date('md')}">
|
||||
<link rel="stylesheet" href="__ROOT__/static/extra/style.css?at={:date('md')}">
|
||||
{block name="style"}{/block}
|
||||
<script src="__ROOT__/static/plugs/jquery/pace.min.js"></script>
|
||||
<script src="{:url('admin/api.plugs/script',[],false,false)}"></script>
|
||||
</head>
|
||||
<body class="layui-layout-body">
|
||||
{block name='body'}
|
||||
<div class="layui-layout layui-layout-admin layui-layout-left-hide">
|
||||
<div class="layui-body think-bg-white margin-0 padding-0" style="top:0">{block name='content'}{/block}</div>
|
||||
</div>
|
||||
{/block}
|
||||
<script src="__ROOT__/static/plugs/layui/layui.js"></script>
|
||||
<script src="__ROOT__/static/plugs/require/require.js"></script>
|
||||
<script src="__ROOT__/static/admin.js"></script>
|
||||
<script src="__ROOT__/static/extra/script.js"></script>
|
||||
{block name='script'}{/block}
|
||||
</body>
|
||||
</html>
|
18
app/data/view/main.html
Normal file
18
app/data/view/main.html
Normal file
@ -0,0 +1,18 @@
|
||||
<div class="layui-card">
|
||||
{block name='style'}{/block}
|
||||
{block name='header'}
|
||||
{notempty name='title'}
|
||||
<div class="layui-card-header">
|
||||
<span class="layui-icon font-s10 color-desc margin-right-5"></span>{$title|default=''}
|
||||
<div class="pull-right">{block name='button'}{/block}</div>
|
||||
</div>
|
||||
{/notempty}
|
||||
{/block}
|
||||
<div class="layui-card-line"></div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-card-html">
|
||||
{block name='content'}{/block}
|
||||
</div>
|
||||
</div>
|
||||
{block name='script'}{/block}
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<form action="{:sysuri()}" class="layui-card layui-form" data-auto="true" method="post">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name='../../admin/view/table'}
|
||||
{extend name='table'}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/table"}
|
||||
{extend name="table"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
{include file='shop/goods/formstyle'}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("add")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/full"}
|
||||
{extend name="full"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="iframe-pagination">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("clean")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth('config')}-->
|
||||
|
18
app/data/view/table.html
Normal file
18
app/data/view/table.html
Normal file
@ -0,0 +1,18 @@
|
||||
<div class="layui-card">
|
||||
{block name='style'}{/block}
|
||||
{block name='header'}
|
||||
{notempty name='title'}
|
||||
<div class="layui-card-header">
|
||||
<span class="layui-icon font-s10 color-desc margin-right-5"></span>{$title|default=''}
|
||||
<div class="pull-right">{block name='button'}{/block}</div>
|
||||
</div>
|
||||
{/notempty}
|
||||
{/block}
|
||||
<div class="layui-card-line"></div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-card-table">
|
||||
{block name='content'}{/block}
|
||||
</div>
|
||||
</div>
|
||||
{block name='script'}{/block}
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<div class="think-box-shadow portal-block-container notselect">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("sync")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/full"}
|
||||
{extend name="full"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="iframe-pagination">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="think-box-shadow">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("remove")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="content"}
|
||||
<div class="layui-badge nowrap think-bg-red padding-5 padding-left-10 font-s15 layui-anim layui-anim-upbit">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth("remove")}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name='content'}
|
||||
<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth('config')}-->
|
||||
|
@ -1,4 +1,4 @@
|
||||
{extend name="../../admin/view/main"}
|
||||
{extend name="main"}
|
||||
|
||||
{block name="button"}
|
||||
<!--{if auth('config')}-->
|
||||
|
Loading…
x
Reference in New Issue
Block a user