12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php $data['manage/database.page_update']=Dever::load('manage/database.page_update') ?>
- <?php $data['manage/database.info']=Dever::load('manage/database.info') ?>
- <?php $data['manage/database.update']=Dever::load('manage/database.update') ?>
- <?php $data['/database.info']=Dever::load('/database.info') ?>
- <?php $data['manage/database.valid']=Dever::load('manage/database.valid') ?>
- <?php $data['manage/database.save']=Dever::load('manage/database.save') ?>
- <?php $data['manage/database.update_button']=Dever::load('manage/database.update_button') ?>
- <?php $data['/database.layui_card']=Dever::load('/database.layui_card') ?>
- <?php $data['/database.card']=Dever::load('/database.card') ?>
- <!DOCTYPE html>
- <!--power by dever--><html>
- <head>
- <?php require Dever::config("base")->data . 'compile/content/manage/layadmin/inc/head.cmp.php' ?>
- <style>
- .layui-input
- {
- width: 50%;
- }
- </style>
- </head>
- <body class="theme-<?php echo Dever::load("/auth.config#template") ?>">
- <div class="topbar">
- <div class="banner dever-layout" style="display:none;">
- <a target="_blank"><img src="#"></a>
- <span>项目名称</span>
- </div>
- </div>
- <div id="content_1" style="<?php echo $data['manage/database.page_update']['s1'] ?>"><?php echo $data['manage/database.page_update']['content'] ?></div>
- <div id="content_2" style="<?php echo $data['manage/database.page_update']['s2'] ?>">
- <div class="layui-fluid">
- <div style="display:none;"><span id="list-name"><?php echo $data['manage/database.info']['update_header'] ?></span> > <span id="list-project"><?php echo $data['manage/database.info']['project_name'] ?></span></div>
- <form method="post" target="f1" class="form1" role="form" autocomplete="off" action="<?php echo $data['manage/database.info']['action'] ?>">
- <input type="hidden" name="function" id="function" value="msg"/>
- <input type="hidden" name="url" id="url" value="<?php echo $data['manage/database.info']['list'] ?>" />
- <input type="hidden" name="project" id="project" value="<?php echo $data['manage/database.info']['project'] ?>" />
- <input type="hidden" name="table" id="table" value="<?php echo $data['manage/database.info']['table'] ?>" />
- <input type="hidden" name="update_where_id" id="update_where_id" value="<?php echo $data['manage/database.info']['id'] ?>"/>
- <input type="hidden" name="copy_num" id="copy_num" value="0"/>
- <iframe id="f1" name="f1" style="display:none;"></iframe>
- <div class="layui-row layui-col-space15">
- <div class="<?php echo $data['/database.card'] ?>">
- <div class="layui-card" style="<?php if(!(Dever::load('/database.layui_card'))): ?>display:none;<?php endif; ?>">
- <div class="layui-card-header" style="display:none;">响应式组合</div>
- <div class="layui-card-body" id="content"><?php if(isset($data['manage/database.update']) && is_array($data['manage/database.update'])): ?><?php $t=count($data['manage/database.update'])-1 ?><?php $i=0 ?><?php foreach($data['manage/database.update'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['manage/database.update'] ?><?php endif; ?></div>
- <div class="layui-card-body">
- <div class="layui-form-item">
- <div id="update_button" submit="<?php echo Dever::submit() ?>"><?php echo $data['manage/database.update_button'] ?></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="valid"><?php echo $data['manage/database.valid'] ?></div>
- <div id="struct" style="display:none;" save="<?php echo $data['manage/database.save'] ?>"><?php echo $data['/database.info']['struct'] ?></div>
- <script>
- $(document).ready(function()
- {
- init();
- });
- </script>
- </form>
- </div>
- </div>
-
- <?php require Dever::config("base")->data . 'compile/content/manage/layadmin/inc/script.cmp.php' ?>
- <script>
- layui.config({
- base: '<?php echo Dever::config("host")->script ?>lib/layui/admin/' //静态资源所在路径
- }).extend({
- index: 'lib/index' //主入口模块
- }).use(['index', 'contlist', 'table', 'form'], function(){
- var table = layui.table;
- var form = layui.form;
- });
- </script>
- </body>
- </html>
|