123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?php
- include_once('tpl/header.php');
- ?>
- <div class="layui-container" style = "margin-top:40px;">
- <div class="layui-row">
- <div class="layui-col-lg10 layui-col-md-offset1">
- <!--表单-->
- <div><h1>站点列表</h1></div>
- <!--站点列表-->
- <div id="listsite">
- <table class="layui-table">
- <colgroup>
- <col width="30%">
- <col width="25%">
- <col width="15%">
- <col width="15%">
- <col width="15%">
- </colgroup>
- <thead>
- <tr>
- <th>域名</th>
- <th>证书</th>
- <th>强制HTTPS</th>
- <th>最后更新</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody id = "website">
-
- </tbody>
- </table>
- </div>
- <!--站点END-->
- <!--证书列表-->
- <div><h1>证书列表</h1></div>
- <!--证书列表-->
- <div id="ssllist">
- <table class="layui-table">
- <colgroup>
- <col width="50%">
- <col width="15%">
- <col width="20%">
- <col width="15%">
- </colgroup>
- <thead>
- <tr>
- <th>域名</th>
- <th>最后更新</th>
- <th>备注</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody id = "listssl">
-
- </tbody>
- </table>
- </div>
- <!--证书END-->
- <!--证书列表END-->
- </div>
- </div>
- </div>
- <?php
- include_once('tpl/footer.php');
- ?>
- <script>
- layui.use('layer', function(){
- var layer = layui.layer;
- });
- $(document).ready(function(){
- $.get("./functions/method.php?type=list_site",function(data,status){
- $("#website").append(data);
- });
- $.get("./functions/method.php?type=list_ssl",function(data,status){
- $("#listssl").append(data);
- });
- });
- function delsite(canshu) {
- layer.open({
- title:'温馨提示',
- content:'请在站点管理中删除!',
- time:2000
- });
- }
- function delssl(canshu) {
- layer.open({
- title:'温馨提示',
- content:'请在SSL证书列表中删除!',
- time:2000
- });
- }
- </script>
|