This commit is contained in:
lanzongjun
2022-09-16 13:28:50 +08:00
parent 62fec75de1
commit d80acf6a78
11 changed files with 119 additions and 64 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ $lang->custom->code = $lang->code;
$lang->custom->setCode = 'Enable or Disable Code';
if($config->systemMode == 'new') $lang->custom->execution = 'Execution';
if($config->systemMode == 'classic' || !$config->systemMode) $lang->custom->execution = 'Execution';
if($config->systemMode == 'lean' || !$config->systemMode) $lang->custom->execution = 'Execution';
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
@@ -237,7 +237,7 @@ $lang->custom->weekendList[2] = '2-Day Off';
$lang->custom->weekendList[1] = '1-Day Off';
global $config;
if($config->systemMode == 'classic')
if($config->systemMode == 'lean')
{
$lang->custom->sprintConceptList[0] = 'Product - Project';
$lang->custom->sprintConceptList[1] = 'Product - Iteration';
+2 -2
View File
@@ -58,7 +58,7 @@ $lang->custom->code = $lang->code;
$lang->custom->setCode = 'Enable or Disable Code';
if($config->systemMode == 'new') $lang->custom->execution = 'Execution';
if($config->systemMode == 'classic' || !$config->systemMode) $lang->custom->execution = $lang->executionCommon;
if($config->systemMode == 'lean' || !$config->systemMode) $lang->custom->execution = $lang->executionCommon;
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
@@ -237,7 +237,7 @@ $lang->custom->weekendList[2] = '2-Day Off';
$lang->custom->weekendList[1] = '1-Day Off';
global $config;
if($config->systemMode == 'classic')
if($config->systemMode == 'lean')
{
$lang->custom->sprintConceptList[0] = 'Product - Project';
$lang->custom->sprintConceptList[1] = 'Product - Iteration';
+2 -2
View File
@@ -58,7 +58,7 @@ $lang->custom->code = $lang->code;
$lang->custom->setCode = 'Activer ou Désactiver le Code';
if($config->systemMode == 'new') $lang->custom->execution = 'Execution';
if($config->systemMode == 'classic' || !$config->systemMode) $lang->custom->execution = 'Execution';
if($config->systemMode == 'lean' || !$config->systemMode) $lang->custom->execution = 'Execution';
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
@@ -237,7 +237,7 @@ $lang->custom->weekendList[2] = '2-Jour';
$lang->custom->weekendList[1] = '1-Jour';
global $config;
if($config->systemMode == 'classic')
if($config->systemMode == 'lean')
{
$lang->custom->sprintConceptList[0] = 'Product - Project';
$lang->custom->sprintConceptList[1] = 'Product - Iteration';
+2 -2
View File
@@ -58,7 +58,7 @@ $lang->custom->code = $lang->code;
$lang->custom->setCode = '是否启用代号';
if($config->systemMode == 'new') $lang->custom->execution = '执行';
if($config->systemMode == 'classic' || !$config->systemMode) $lang->custom->execution = $lang->executionCommon;
if($config->systemMode == 'lean' || !$config->systemMode) $lang->custom->execution = $lang->executionCommon;
$lang->custom->unitList['efficiency'] = '工时/';
$lang->custom->unitList['manhour'] = '人时/';
@@ -237,7 +237,7 @@ $lang->custom->weekendList[2] = '双休';
$lang->custom->weekendList[1] = '单休';
global $config;
if($config->systemMode == 'classic')
if($config->systemMode == 'lean')
{
$lang->custom->sprintConceptList[0] = '产品 - 项目';
$lang->custom->sprintConceptList[1] = '产品 - 迭代';
+10 -8
View File
@@ -1,8 +1,10 @@
.block-content {width: 100%;}
.block-content .block-details {width: 45%; display: inline-table; margin-top: 20px;}
.block-content .block-right {margin-left: 5%;}
.block-content .block-details .block-title {font-size: 14px;}
.block-content .block-details i {color: rgb(22, 169, 248); font-size: 20px;}
.introduction-link a {margin: 30px;}
#selectedModeTips, .select-mode {margin-top: 20px;}
.select-mode .radio-inline {margin-right: 30px;}
#mainContent tr td .icon-close {font-weight: bold; color: #ea644a;}
#mainContent tr td .icon-check {font-weight: bold; color: #329d38;}
#mainContent tr th {background-color: rgb(241, 241, 241);}
#mainContent tr td {background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(238, 238, 238); border-right: 1px solid rgb(238, 238, 238);}
#useLean {background-color: #ddd!important; padding: 6px 85px;}
#useNew {background-color: #ddd!important; padding: 6px 85px;}
#mainContent .datatable {cursor: default;}
+9 -18
View File
@@ -1,23 +1,14 @@
/**
* Show guide video.
*
* @access public
* @return void
*/
function showVideo()
{
$('video').removeClass('hidden');
}
$(function()
{
$('#modeclassic').click(function()
$("#useLean").click(function()
{
$('#selectedModeTips').show();
});
$('#mode').val('lean');
$('form').submit();
})
$('#modenew').click(function()
$("#useNew").click(function()
{
$('#selectedModeTips').hide();
});
})
$('#mode').val('new');
$('form').submit();
})
});
+84 -22
View File
@@ -28,28 +28,90 @@
</div>
</div>
<?php else:?>
<div class='panel' style='padding:50px 300px'>
<form method='post'>
<h1 class='text-center'><?php echo $title;?></h1>
<div class='panel-body'>
<?php echo $lang->install->introductionContent;?>
<video class='hidden' src="<?php echo $lang->install->guideVideo;?>" width="100%" controls ="controls"></video>
<div class='text-center'>
<h2><?php echo $lang->install->howToUse;?></h2>
<?php $systemMode = isset($lang->upgrade->to15Mode['classic']) ? 'classic' : 'new';?>
<?php if($config->visions == ',lite,'):?>
<?php unset($lang->install->modeList['classic']);?>
<?php $systemMode = 'new';?>
<?php endif;?>
<div class='select-mode'><?php echo html::radio('mode', $lang->install->modeList, $systemMode);?></div>
<div id='selectedModeTips' class='text-info'><?php echo $lang->upgrade->selectedModeTips[$systemMode];?></div>
</div>
</div>
<hr/>
<div class='panel-footer text-center'>
<?php echo html::submitButton($lang->install->next);?>
</div>
</form>
<div class='panel' style='padding:50px 280px'>
<form method='post'>
<h1 class='text-center'><?php echo $title;?></h1>
<div class='main-row' id='mainContent'>
<div class='main-col main-table'>
<table class="table datatable">
<thead>
<tr>
<th colspan='2'><?php echo $this->lang->upgrade->mode;?></th>
<th colspan='2' class="text-center"><?php echo $this->lang->upgrade->to18Mode['lean'];?></th>
<th colspan='2' class="text-center"><?php echo $this->lang->upgrade->to18Mode['new'];?></th>
</tr>
</thead>
<tbody>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->mode;?></td>
<td colspan='2'><?php echo $this->lang->upgrade->leanUsage;?></td>
<td colspan='2'><?php echo $this->lang->upgrade->newUsage;?></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->program;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->productRR;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->productUR;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->productLine;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->projectScrum;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->projectWaterfull;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->projectKanban;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->execution;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->assetlib;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-close"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->oa;?></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
<td colspan='2' class="text-center"><i class="icon icon-2x icon-check"></i></td>
</tr>
<tr>
<td colspan='2' style="font-weight:bold;"><?php echo $this->lang->upgrade->selectUsage;?></td>
<td colspan='2' class="text-center"><button class="btn" type="button" id='useLean'><?php echo $this->lang->upgrade->useLean;?></button></td>
<td colspan='2' class="text-center"><button class="btn" type="button" id='useLean'><?php echo $this->lang->upgrade->useNew;?></button></td>
</tr>
<tr>
<td colspan='2'><?php echo $this->lang->upgrade->remark;?></td>
<td colspan='4' class="text-center"><?php echo $this->lang->upgrade->remarkDesc;?></td>
</tr>
</tbody>
<?php echo html::hidden('mode','')?>
</table>
</div>
</div>
</form>
</div>
<?php endif;?>
</div>
+2 -2
View File
@@ -95,7 +95,7 @@ $lang->my->form->lblAccount = 'Account Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'lean') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'new') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
$lang->my->programLinkList = array();
@@ -124,7 +124,7 @@ if($config->systemMode == 'new')
$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
}
if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
$lang->my->guideChangeTheme = <<<EOT
<p class='theme-title'><span style='color: #0c60e1'>"Young Blue"</span> theme is available now!</p>
+2 -2
View File
@@ -95,7 +95,7 @@ $lang->my->form->lblAccount = 'Account Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'lean') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'new') $lang->my->executionLink = 'Execution Default Page';
$lang->my->programLinkList = array();
@@ -124,7 +124,7 @@ if($config->systemMode == 'new')
$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
}
if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = "By default, enter the list of the most recently {$lang->executionCommon} task, and you can view the task information under the current {$lang->executionCommon}";
if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = "By default, enter the list of the most recently {$lang->executionCommon} task, and you can view the task information under the current {$lang->executionCommon}";
$lang->my->guideChangeTheme = <<<EOT
<p class='theme-title'><span style='color: #0c60e1'>"Young Blue"</span> theme is available now!</p>
+2 -2
View File
@@ -95,7 +95,7 @@ $lang->my->form->lblAccount = 'Account Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'lean') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
if($config->systemMode == 'new') $lang->my->executionLink = $lang->executionCommon . ' Default Page';
$lang->my->programLinkList = array();
@@ -124,7 +124,7 @@ if($config->systemMode == 'new')
$lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
$lang->my->executionLinkList['execution-executionkanban'] = 'By default, you can enter the execution Kanban to view the execution status of projects in progress';
}
if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = 'By default, enter the list of the most recently executed task, and you can view the task information under the current iteration';
$lang->my->guideChangeTheme = <<<EOT
<p class='theme-title'><span style='color: #0c60e1'>"Young Blue"</span> theme is available now!</p>
+2 -2
View File
@@ -95,7 +95,7 @@ $lang->my->form->lblAccount = '帐号信息';
$lang->my->programLink = '项目集默认着陆页';
$lang->my->productLink = '产品默认着陆页';
$lang->my->projectLink = '项目默认着陆页';
if($config->systemMode == 'classic') $lang->my->executionLink = $lang->executionCommon . '默认着陆页';
if($config->systemMode == 'lean') $lang->my->executionLink = $lang->executionCommon . '默认着陆页';
if($config->systemMode == 'new') $lang->my->executionLink = '执行默认着陆页';
$lang->my->programLinkList = array();
@@ -124,7 +124,7 @@ if($config->systemMode == 'new')
$lang->my->executionLinkList['execution-task'] = '默认进入最近一个执行的任务列表,可以查看当前迭代下的任务信息';
$lang->my->executionLinkList['execution-executionkanban'] = '默认进入执行看板,可以查看进行中项目的执行情况';
}
if($config->systemMode == 'classic') $lang->my->executionLinkList['execution-task'] = "默认进入最近一个{$lang->executionCommon}的任务列表,可以查看当前{$lang->executionCommon}下的任务信息";
if($config->systemMode == 'lean') $lang->my->executionLinkList['execution-task'] = "默认进入最近一个{$lang->executionCommon}的任务列表,可以查看当前{$lang->executionCommon}下的任务信息";
$lang->my->guideChangeTheme = <<<EOT
<p class='theme-title'>全新<span style='color: #0c60e1'>“青春蓝”</span>主题上线了!</p>