mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 10:55:34 +08:00
42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
<!--
|
|
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.
|
|
-->
|
|
|
|
<h1 class="head-title" style="border:none"><{t}>控制面板<{/t}></h2>
|
|
<div class="admin-panel" id="adminpanel">
|
|
<{foreach from=$groups name=groups item=group}>
|
|
<{if $group.items}>
|
|
<div class="group flt <{if $env.foreach.groups.last}>last<{/if}>">
|
|
|
|
<div class="flt">
|
|
<img src="<{$group.icon}>" width=64 />
|
|
</div>
|
|
<div class="item">
|
|
<h4><{$group.title|t:'desktop'}></h4>
|
|
<ul>
|
|
<{foreach from=$group.items item=item}>
|
|
<li class="span-auto"><a href="index.php?<{$item.menu_path}>"><{$item.menu_title|t:'desktop'}></a></li>
|
|
<{/foreach}>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
<{/if}>
|
|
<{/foreach}>
|
|
</div>
|
|
<script>
|
|
new Equalizer($$('#adminpanel .item li a')).equalize('width');//等宽
|
|
new Equalizer($$('#adminpanel .group')).equalize('height');//等宽
|
|
</script> |