This commit is contained in:
2025-09-13 01:22:15 +08:00
parent 155e05fd6d
commit 1a4b8551a0
674 changed files with 146276 additions and 0 deletions

View File

@ -0,0 +1,45 @@
<?= $this->doctype() ?>
<html lang="en">
<head>
<meta charset="utf-8">
<?php
echo $this->headTitle('Laminas API Tools');
echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0');
echo $this->headLink(['rel' => 'icon', 'type' => 'image/png', 'href' => $this->basePath('/img/favicon.png')])
->prependStylesheet($this->basePath('/api-tools/css/main.min.css'))
->prependStylesheet($this->basePath('/api-tools/css/bootstrap.min.css'));
echo $this->headScript()
->appendFile('https://cdn.bootcdn.net/ajax/libs/vue/3.2.33/vue.global.js')
->appendFile('https://cdn.bootcdn.net/ajax/libs/qs/6.13.0/qs.js')
->appendFile('https://cdn.bootcdn.net/ajax/libs/echarts/5.5.0/echarts.common.min.js');
?>
</head>
<body>
<div class="container">
<ol class="breadcrumb">
<li><a href="/dashboard">回首页</a></li>
</ol>
<?= $this->content ?>
</div>
<footer>
<hr>
<div class="container center-block"><div class="row">
<div class="col-sm-4">
&copy; <?= date('Y') ?> <a href="https://getlaminas.org/">AAAAAAAA</a> a Series of LF Projects, LLC.
</div>
<div class="col-sm-4"><p class="center-block">
Laminas API Tools version <strong><?= \ApiTools\VERSION ?></strong>
</p></div>
<div class="col-sm-4"><p class="pull-right">
For more information <a href="https://api-tools.getlaminas.org">api-tools.getlaminas.org</a>
</p></div>
</div></div>
</footer>
<?= $this->inlineScript() ?>
</body>
</html>

View File

@ -0,0 +1,41 @@
<?= $this->doctype() ?>
<html lang="en">
<head>
<meta charset="utf-8">
<?php
echo $this->headTitle('Laminas API Tools');
echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0');
echo $this->headLink(['rel' => 'icon', 'type' => 'image/png', 'href' => $this->basePath('/img/favicon.png')])
->prependStylesheet($this->basePath('/api-tools/css/main.min.css'))
->prependStylesheet($this->basePath('/api-tools/css/bootstrap.min.css'));
echo $this->headScript()
->prependFile($this->basePath('/api-tools/js/bootstrap.min.js'))
->prependFile($this->basePath('/api-tools/js/jquery.min.js'));
?>
</head>
<body>
<div class="container">
<?= $this->content ?>
</div>
<footer>
<hr>
<div class="container center-block"><div class="row">
<div class="col-sm-4">
&copy; <?= date('Y') ?> <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
</div>
<div class="col-sm-4"><p class="center-block">
Laminas API Tools version <strong><?= \ApiTools\VERSION ?></strong>
</p></div>
<div class="col-sm-4"><p class="pull-right">
For more information <a href="https://api-tools.getlaminas.org">api-tools.getlaminas.org</a>
</p></div>
</div></div>
</footer>
<?= $this->inlineScript() ?>
</body>
</html>

View File

@ -0,0 +1,52 @@
<?= $this->doctype() ?>
<html lang="en">
<head>
<meta charset="utf-8">
<?php
echo $this->headTitle($title);
echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0');
?>
<link rel="stylesheet" type="text/css" href="/css/weui.min.css">
</head>
<body>
<div class="container" style="height: 100vh">
<?= $this->content ?>
</div>
<!-- <div class="weui-footer weui-footer_fixed-bottom">-->
<!-- <p class="weui-footer__text">技术支持 北京安捷讯科技有限公司</p>-->
<!-- <p class="weui-footer__text">Copyright © 2008-2022</p>-->
<!-- <a href="//beian.miit.gov.cn/" class="page_copyright">-->
<!-- 京ICP备20021033号-4-->
<!-- </a>-->
<!-- </div>-->
<?= $this->inlineScript() ?>
</body>
<script>
let isTopTips = false;
function topTips(message, level = 'error') {
if (isTopTips === true) {
return
}
// #06ae56
// #fa5151
let bgColor = level === 'error' ? '#fa5151' : '#06ae56'
const tipsHtml = '<div role="alert" class="weui-toptips weui-toptips_warn" id="topTips" style="display: none; opacity: 0;transition: opacity 0.5s linear 0s;background-color: ' + bgColor + '">' + message + '</div>';
document.querySelector('.container').insertAdjacentHTML('afterend', tipsHtml)
let ele = document.getElementById('topTips');
isTopTips = true;
ele.style.display = 'block';
ele.style.opacity = '1';
ele.textContent = message;
setTimeout(() => {
console.log('hide')
ele.style.opacity = '0';
ele.remove()
isTopTips = false;
}, 2000)
}
</script>
</html>