109 lines
3.0 KiB
HTML
109 lines
3.0 KiB
HTML
{template "install/header.html"}
|
|
|
|
<style>
|
|
.install-result-wrap {
|
|
text-align: center;
|
|
}
|
|
|
|
.install-result-icon {
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.install-result-icon i {
|
|
display: inline-block;
|
|
font-size: 88px;
|
|
line-height: 1;
|
|
color: #26a65b;
|
|
text-shadow: 0 8px 24px rgba(38, 166, 91, 0.18);
|
|
}
|
|
|
|
.install-result-main {
|
|
color: #26a65b;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.install-result-title {
|
|
margin: 0 0 18px;
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.install-result-item {
|
|
margin: 0 0 10px;
|
|
font-size: 16px;
|
|
color: #3a4a5b;
|
|
}
|
|
|
|
.install-result-item strong {
|
|
display: inline-block;
|
|
min-width: 68px;
|
|
color: #26a65b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.install-result-action {
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.install-result-action .btn {
|
|
min-width: 160px;
|
|
height: 42px;
|
|
padding-top:5px;
|
|
color: #26a65b;
|
|
line-height: 28px;
|
|
border-radius: 21px;
|
|
font-size: 15px;
|
|
box-shadow: 0 10px 20px rgba(38, 166, 91, 0.18);
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
<div class="portlet light">
|
|
<div class="portlet-title">
|
|
<div class="caption">
|
|
<i class="fa fa-laptop font-green"></i>
|
|
<span class="caption-subject font-green">{dr_lang('安装结果')}</span>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body " style="padding:0 50px;">
|
|
|
|
|
|
{if $error}
|
|
<div class="scroller" style="height:300px" data-rail-visible="1">
|
|
{nl2br($error)}
|
|
</div>
|
|
{else}
|
|
<div class="row install-result-wrap">
|
|
<div class="col-md-12 install-result-icon">
|
|
<i class="fa fa-check-circle"></i>
|
|
</div>
|
|
<div class="col-md-12 install-result-main">
|
|
<p class="install-result-title">{dr_lang('安装完成')}</p>
|
|
{if $data.username}<p class="install-result-item"><strong>{dr_lang('账号')}</strong>{$data.username}</p>{/if}
|
|
{if $data.password}<p class="install-result-item"><strong>{dr_lang('密码')}</strong>{$data.password}</p>{/if}
|
|
<p class="install-result-action"><a href="{$admin}.php?c=login" onclick="dr_next_install()" class="btn btn-success">{dr_lang('登录项目后台')}</a></p>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
function dr_next_install() {
|
|
var loading = layer.load(2, {
|
|
shade: [0.3,'#fff'], //0.1透明度的白色背景
|
|
time: 100000000
|
|
});
|
|
}
|
|
</script>
|
|
{/if}
|
|
|
|
</div>
|
|
<div class="portlet-title" style="min-height: 18px;">
|
|
</div>
|
|
<div class="portlet-body text-center">
|
|
{if $error}
|
|
<a href="{$pre_url}" class="btn btn-success"> {dr_lang('返回上一步')} </a>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
{template "install/footer.html"} |