* Code for task #7625.

This commit is contained in:
Yagami
2020-08-18 14:36:39 +08:00
parent e2378b2dde
commit bfd9f8e5d1
38 changed files with 1841 additions and 100 deletions

View File

@@ -49,7 +49,7 @@ foreach($programs as $program)
?>
</div>
<div class="col-footer">
<?php echo html::a(helper::createLink('program', 'create'), '<i class="icon icon-plus"></i>' . $lang->program->create, '', 'class="not-list-item text-primary"'); ?>
<?php echo html::a(helper::createLink('program', 'createGuide'), '<i class="icon icon-plus"></i>' . $lang->program->create, '', 'class="not-list-item text-primary" data-toggle=modal'); ?>
<div class='pull-right'>
<?php echo html::a(helper::createLink('program', 'index', 'status=all'), '<i class="icon icon-cards-view muted"></i> ' . $lang->project->all, '', 'class="not-list-item"'); ?>
<span class='text-muted muted'> &nbsp; | &nbsp; </span>

View File

@@ -40,7 +40,7 @@
<div id='mainContent' class='main-row'>
<?php if(empty($projectList)):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->program->noProgram;?></span> <?php common::printLink('program', 'create', '', "<i class='icon icon-plus'></i> " . $lang->program->create, '', "class='btn btn-info'");?></p>
<p><span class="text-muted"><?php echo $lang->program->noProgram;?></span> <?php common::printLink('program', 'createguide', '', "<i class='icon icon-plus'></i> " . $lang->program->create, '', "class='btn btn-info'");?></p>
</div>
<?php else:?>
<div class='main-col'>