* ajusted ui of install.
This commit is contained in:
1
module/install/js/common.js
Normal file
1
module/install/js/common.js
Normal file
@@ -0,0 +1 @@
|
||||
$(function(){$.ajustModalPosition('fit', $('.modal-dialog'))});
|
||||
@@ -133,6 +133,5 @@ $lang->install->login = '登录禅道管理系统';
|
||||
$lang->install->register = '禅道社区注册';
|
||||
|
||||
$lang->install->joinZentao = <<<EOT
|
||||
<p>您已经成功安装禅道管理系统%s,<strong class='text-danger'>请及时删除install.php</strong>。</p>
|
||||
<p>友情提示:为了您及时获得禅道的最新动态,请在禅道社区(<a href='http://www.zentao.net' class='alert-link' target='_blank'>www.zentao.net</a>)进行登记。</p>
|
||||
<p>您已经成功安装禅道管理系统%s,<strong class='text-danger'>请及时删除install.php</strong>。</p><p>友情提示:为了您及时获得禅道的最新动态,请在禅道社区(<a href='http://www.zentao.net' class='alert-link' target='_blank'>www.zentao.net</a>)进行登记。</p>
|
||||
EOT;
|
||||
|
||||
@@ -37,7 +37,7 @@ EOT;
|
||||
<strong><?php echo $lang->install->error;?></strong>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<div class='alert alert-danger'>
|
||||
<div class='alert alert-danger alert-pure with-icon'>
|
||||
<i class='icon-info-sign'></i>
|
||||
<div class='content'><?php echo $error;?></div>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<strong><?php echo $lang->install->error;?></strong>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<div class='alert alert-danger'>
|
||||
<div class='alert alert-danger alert-pure with-icon'>
|
||||
<i class='icon-info-sign'></i>
|
||||
<div class='content'><?php echo $error;?></div>
|
||||
</div>
|
||||
@@ -30,7 +30,7 @@
|
||||
<strong><?php echo $lang->install->success;?></strong>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<div class='alert alert-success'>
|
||||
<div class='alert alert-success alert-pure with-icon'>
|
||||
<i class='icon-ok-sign'></i>
|
||||
<div class='content'><?php echo $afterSuccess;?></div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<strong><?php echo $lang->install->success;?></strong>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<div class='alert alert-success'>
|
||||
<div class='alert with-icon alert-pure'>
|
||||
<i class='icon-ok-sign'></i>
|
||||
<div class='content'><?php echo nl2br(sprintf($lang->install->joinZentao, $config->version, $this->createLink('admin', 'register'), $this->createLink('admin', 'bind'), inlink('step6')));?></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user