57 lines
2.2 KiB
PHP
57 lines
2.2 KiB
PHP
<?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
|
|
<?php if(common::checkNotCN()):?>
|
|
<style>#conditions .col-xs { width: 126px; }</style>
|
|
<?php endif;?>
|
|
<div id='mainContent' class='main-row'>
|
|
<div class='side-col col-lg' id='sidebar'>
|
|
<?php include './blockreportlist.html.php';?>
|
|
</div>
|
|
<div class='main-col'>
|
|
<?php if(empty($stages)):?>
|
|
<div class="cell">
|
|
<div class="table-empty-tip">
|
|
<p><span class="text-muted"><?php echo $lang->error->noData;?></span></p>
|
|
</div>
|
|
</div>
|
|
<?php else:?>
|
|
<div class='cell'>
|
|
<div class='panel'>
|
|
<div class="panel-heading">
|
|
<div class="panel-title">
|
|
<div class="table-row" id='conditions'>
|
|
<div class="col-xs"><?php echo $title;?></div>
|
|
</div>
|
|
</div>
|
|
<nav class="panel-actions btn-toolbar"></nav>
|
|
</div>
|
|
<div data-ride='table'>
|
|
<table class='table table-condensed table-striped table-bordered table-fixed no-margin' id='programList'>
|
|
<thead>
|
|
<tr>
|
|
<th class='w-200px'><?php echo $lang->project->name;?></th>
|
|
<th class='w-120px'><?php echo $lang->project->PM;?></th>
|
|
<th class="w-100px"><?php echo $lang->project->begin;?></th>
|
|
<th class="w-100px"><?php echo $lang->project->end;?></th>
|
|
<th class="w-70px"><?php echo $lang->project->taskCount;?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($stages as $stage):?>
|
|
<tr class="text-center">
|
|
<td class='text-left' title="<?php echo $stage->name;?>"><?php echo $stage->name;?></td>
|
|
<td class='text-left'><?php echo "<p>" . zget($users, $stage->PM) . '</p>';?></td>
|
|
<td><?php echo $stage->begin;?></td>
|
|
<td><?php echo $stage->end;?></td>
|
|
<td><?php echo $stage->tasks;?></td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endif;?>
|
|
</div>
|
|
</div>
|
|
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|