test_lgq/niucloud/app/install/view/index/step-2.html

68 lines
2.5 KiB
HTML
Raw Normal View History

2024-01-24 17:36:08 +08:00
{extend name="base"/}
{block name="resources"}
{/block}
{block name="main"}
<div class="pright layui-form">
<div class="pr-agreement">
<h3>系统环境检测<span class="desc">系统环境要求必须满足下列所有条件,否则系统或系统部份功能将无法使用。</span></h3>
<div class="testing-item">
<table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
<tr>
<th width="30%" align="center"><strong>需开启的变量或函数</strong></th>
<th width="35%"><strong>要求</strong></th>
<th width="35%"><strong>实际状态及建议</strong></th>
</tr>
<tr>
<td>php版本</td>
<td style="color:#409eff;">php8.0.0及以上 </td>
<td><font color={if $verison}#409eff{else/}red{/if}>{$phpv}</font> </td>
</tr>
{foreach $system_variables as $variables_key => $variables_item}
<tr>
<td>{$variables_item.name}</td>
<td>{$variables_item.need}</td>
<td><img clsss="check-icon" src="{if $variables_item.status}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/></td>
</tr>
{/foreach}
</table>
</div>
<h3>目录权限检测<span class="desc">系统要求必须满足下列所有的目录权限全部可读写的需求才能使用,其它应用目录可安装后在管理后台检测。</span></h3>
<div class="testing-item">
<table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
<tr>
<th width="30%" align="center"><strong>目录名</strong></th>
<th width="35%"><strong>读取权限</strong></th>
<th width="35%"><strong>写入权限</strong></th>
</tr>
{foreach $dirs_list as $dirs_key => $dirs_item}
<tr>
<td>{$dirs_item.path_name}</td>
<td>
<img clsss="check-icon" src="{if $dirs_item.is_readable}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
</td>
<td>
<img clsss="check-icon" src="{if $dirs_item.is_write}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
</td>
</tr>
{/foreach}
</table>
</div>
</div>
<div class="btn-box">
<input type="button" class="btn-back" value="后退" onclick="window.location.href = '{$root_url}/install.php/index/index?step=1';" />
<input type="button" class="btn-next" value="继续" {if !$continue} style="background-color:#777;color:#FFF;" disabled="disabled"{/if} onclick="window.location.href = '{$root_url}/install.php/index/index?step=3';" />
</div>
</div>
<div class="testing">
</div>
{/block}
{block name="script"}
<script>
ControlContent(1);
</script>
{/block}