初始化
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
if (!isset($sysConfig)) {
|
||||
$cfgModel = new app\models\SysConfig();
|
||||
$sysConfig = $cfgModel->getConfig();
|
||||
}
|
||||
include APP_PATH . 'app/views/layouts/station_header.php';
|
||||
?>
|
||||
|
||||
<div class="content">
|
||||
<div class="card" style="max-width:600px; margin:60px auto;">
|
||||
<div class="card-body" style="text-align:center; padding:60px 20px;">
|
||||
<i class="fa fa-lock" style="font-size:80px; color:var(--danger);"></i>
|
||||
<h2 style="margin-top:20px; color:var(--danger);">抱歉,您没有访问该工位的权限</h2>
|
||||
<p style="color:var(--text-light); font-size:16px; margin-top:12px;">
|
||||
工位类型:<code><?php echo htmlspecialchars($stationType ?? '未知'); ?></code>
|
||||
</p>
|
||||
<?php if (!empty($message)): ?>
|
||||
<p style="color:var(--text-light); font-size:16px;"><?php echo htmlspecialchars($message); ?></p>
|
||||
<?php else: ?>
|
||||
<p style="color:var(--text-light);">请联系管理员为您开通对应工位的访问权限。</p>
|
||||
<?php endif; ?>
|
||||
<br>
|
||||
<a href="<?php echo BASE_URL; ?>/Front/index" class="btn btn-primary btn-lg">
|
||||
<i class="fa fa-home"></i> 返回工位首页
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include APP_PATH . 'app/views/layouts/station_footer.php'; ?>
|
||||
Reference in New Issue
Block a user