Files
OMS/app/desktop/view/cachemgr/index.html
2026-01-04 19:08:31 +08:00

44 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="tableform">
<h3><{t}>缓存管理<{/t}></h3>
<{if $enable == 'true'}>
<h4><{t}>缓存状态<{/t}></h4>
<div class="division">
<{if $status}>
<ul class="list">
<{foreach from=$status item=item key=key name="item"}>
<li>
<label><{$key}></label><{$item}>
</li>
<{/foreach}>
</ul>
<{else}>
<div class="notice"><{t}>无法查看缓存状态<{/t}></div>
<{/if}>
</div>
<h4><{t}>缓存操作<{/t}></h4>
<div class="division">
<{button type="button" href="index.php?app=desktop&ctl=cachemgr&act=optimize" label=$___desktop="优化缓存"|t:'desktop'}>
<{button type="button" href="index.php?app=desktop&ctl=cachemgr&act=clean" label=$___desktop="清空缓存"|t:'desktop'}>
</div>
<{else}>
<div class="division">
<p class="notice"> <{t}>系统没有启用缓存<{/t}> </p>
</div>
<{/if}>
</div>