* Code for program index.

This commit is contained in:
Yagami
2020-08-19 14:51:57 +08:00
parent a86cb31895
commit 06e0452d78
8 changed files with 151 additions and 45 deletions

View File

@@ -2,7 +2,7 @@
<div class='row cell' id='cards'>
<?php foreach ($projectList as $projectID => $project):?>
<div class='col' data-id='<?php echo $projectID?>'>
<div class='panel' data-url='<?php echo $this->createLink('program', 'transfer', "projectID=$project->id");?>'>
<div class='panel' data-url='<?php echo $this->createLink('program', 'index', "projectID=$project->id");?>'>
<div class='panel-heading'>
<strong class='project-name' title='<?php echo $project->name;?>'><?php echo $project->name;?></strong>
<?php if($project->template === 'cmmi'): ?>

View File

@@ -28,7 +28,7 @@
</td>
<td class='text-left'><?php echo $project->code;?></td>
<td class='text-left pgm-title' title='<?php echo $project->name?>'>
<?php echo html::a('javascript:void(0)', $project->name, '', "data-id=$project->id class=transfer");?>
<?php echo html::a(inlink('index', "programID=$project->id"), $project->name);?>
</td>
<td class='c-status'><span class="status-project status-<?php echo $project->status?>"><?php echo zget($lang->project->statusList, $project->status, '');?></span></td>
<td class='text-center'><?php echo $project->begin;?></td>

View File

@@ -0,0 +1,2 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/footer.html.php';?>