Ejemplo n.º 1
0
        echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"leftBugList\",confirmUnlinkBug)", '<i class="icon-unlink"></i>', '', "class='btn-icon' title='{$lang->release->unlinkBug}'");
    }
    ?>
                </td>
              </tr>
              <?php 
}
?>
              <tfoot>
                <tr>
                  <td colspan='7'>
                    <div class='table-actions clearfix'>
                      <div class='text'>
                        <?php 
if ($countLeftBugs and $canBatchUnlink) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';
}
?>
                        <?php 
echo sprintf($lang->release->createdBugs, $countLeftBugs);
?>
                      </div>
                    </div>
                  </td>
                </tr>
              </tfoot>
            </table>
            </form>
          </div>
        </div>
      </div>
}
?>
        </table>
      </div>
    </div>
    <div class='col-md-6'>
      <div class='panel panel-sm contentDiv'>
        <div class='panel-heading'><?php 
echo html::icon($lang->icons['bug']) . ' ' . $lang->release->linkBugs;
?>
</div>
        <table class='table table-borderless table-condensed table-hover table-fixed'>
          <thead>
            <tr>
              <th class='w-id text-left'><?php 
echo html::selectAll('bug', 'checkbox') . $lang->idAB;
?>
</th>
              <th><?php 
echo $lang->bug->title;
?>
</th>
              <th class='w-100px'><?php 
echo $lang->bug->status;
?>
</th>
            </tr>
          </thead>
          <?php 
foreach ($bugs as $bug) {
    ?>
Ejemplo n.º 3
0
</div>

<table class='cont-lt1'>
  <tr valign='top'>
    <td class='side'>
      <div class='box-title'><?php 
echo $lang->story->report->select;
?>
</div>
      <div class='box-content'>
        <form method='post'>
        <?php 
echo html::checkBox('charts', $lang->story->report->charts, $checkedCharts);
?>
        <?php 
echo html::selectAll();
?>
        <?php 
echo html::selectReverse();
?>
        <br /><br />
        <?php 
echo html::submitButton($lang->story->report->create);
?>
      </div>
    </td>
    <td class='divider'></td>
    <td>
      <table class='table-1'>
        <caption><?php 
echo $lang->story->report->common;
Ejemplo n.º 4
0
</td>
      <td><?php 
    echo html::select("pri[{$bug->id}]", $lang->task->priList, 3);
    ?>
</td>
      <td><?php 
    echo html::select("assignedTo[{$bug->id}]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo));
    ?>
</td>
      <td><?php 
    echo html::input("estimate[{$bug->id}]", '', 'size=4');
    ?>
</td>
    </tr>
    <?php 
}
?>
    </tbody>
    <tr><td colspan='9'><div class='f-right'><?php 
$pager->show();
?>
</div></td></tr>
  </table>
  <div><?php 
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->import) . html::backButton();
?>
</div>
</form>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 5
0
</div>
        <?php 
    if ($i % 8 == 0) {
        echo "<div class='c-both'></div>";
    }
    $i++;
    ?>
        <?php 
}
?>
      </td>
    </tr>
    <tr>
      <th class='rowhead'><?php 
echo $lang->group->outside;
echo html::selectAll('other', 'checkbox');
?>
 </th>
      <td id='other' class='f-14px pv-10px'><?php 
$i = 1;
?>
        <?php 
foreach ($otherUsers as $account => $realname) {
    ?>
        <div class='w-p10 f-left'><?php 
    echo '<span>' . html::checkbox('members', array($account => $realname), '') . '</span>';
    ?>
</div>
        <?php 
    if ($i % 8 == 0) {
        echo "<div class='c-both'></div>";
Ejemplo n.º 6
0
</td>
        <td><?php 
    echo $lang->bug->statusList[$bug->status];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
      <tr>
        <td colspan='6' class='text-left'>
          <?php 
if (count($allBugs)) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedBugsForm') . html::selectReverse('unlinkedBugsForm') . '</div>' . html::submitButton($lang->productplan->linkBug) . '</div>';
}
?>
        </td>
      </tr>
      </tfoot>
    </table>
  </form>
  <hr class='mg-0'>
  <form method='post' target='hiddenwin' action="<?php 
echo inLink('batchUnlinkBug');
?>
" id='linkedBugsForm'>
    <table class='table table-condensed table-hover table-striped tablesorter table-fixed'> 
      <caption class='text-left text-important'><?php 
echo html::icon('unlink');
Ejemplo n.º 7
0
    ?>
'><?php 
    echo $lang->bug->statusList[$bug->status];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
      <tr>
        <td colspan='6' class='text-left'>
          <?php 
if (count($allBugs)) {
    echo "<div class='table-actions clearfix'>";
    echo "<div class='btn-group'>" . html::selectAll($formID) . html::selectReverse($formID) . '</div>';
    echo html::submitButton($lang->release->linkBug) . html::a(inlink('view', "releaseID={$release->id}&type={$type}"), $lang->goback, '', "class='btn'") . '</div>';
}
?>
        </td>
      </tr>
      </tfoot>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm('#<?php 
echo $type == 'bug' ? 'bugs' : 'leftBugs';
?>
 .linkBox #querybox')})</script>
Ejemplo n.º 8
0
        if ($i % 4 == 0) {
            echo "<div class='c-both'></div>";
        }
        $i++;
        ?>
        <?php 
    }
    ?>
      </td>
    </tr>
    <?php 
}
?>
    <tr>
      <th class='rowhead'><?php 
echo $lang->selectAll . html::selectAll('', 'checkbox');
?>
</th>
      <td>
        <?php 
echo html::submitButton($lang->save, "onclick='setNoChecked()'");
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a hidden var, to make sure $_POST is not empty.
echo html::hidden('noChecked');
// Save the value of no checked.
?>
      </td>
    </tr>
  </table>
</form>
Ejemplo n.º 9
0
    ?>
</td>
      <td><?php 
    common::printIcon('productplan', 'unlinkStory', "story={$story->id}", '', 'list', '', 'hiddenwin');
    ?>
</td>
    </tr>
    <?php 
}
?>
    <?php 
if (count($planStories) and $canBatchUnlink) {
    ?>
    <tfoot>
    <tr>
      <td colspan='9' class='a-left'>
      <?php 
    echo html::selectAll('linkedStoriesForm') . html::selectReverse('linkedStoriesForm');
    echo html::submitButton($lang->productplan->batchUnlinkStory);
    ?>
      </td>
    </tr>
    </tfoot>
    <?php 
}
?>
    </tbody>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 10
0
</td>
        <td><?php 
    echo $lang->story->stageList[$story->stage];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
        <tr>
          <td colspan='9' class='text-left'>
            <?php 
if (count($allStories)) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>' . html::submitButton($lang->story->linkStory) . '</div>';
}
?>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
  <hr class='mg-0'>
  <form method='post' target='hiddenwin' action="<?php 
echo inLink('batchUnlinkStory');
?>
" id='linkedStoriesForm'>
    <table class='table table-condensed table-hover table-striped tablesorter table-fixed'> 
      <caption class='text-left text-important'><?php 
echo html::icon('link');
}
?>
          </tbody>
          <tfoot>
            <tr>
              <?php 
$columns = $this->cookie->windowWidth > $this->config->wideSize ? 14 : 12;
?>
              <td colspan='<?php 
echo $columns;
?>
'>
                <div class='f-left'>
                <?php 
if (common::hasPriv('task', 'batchEdit') and count($tasks)) {
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->task->batchEdit);
}
printf($lang->project->taskSummary, count($tasks), $statusWait, $statusDoing, $totalEstimate, $totalConsumed, $totalLeft, round($estimate_sum * $pcwh), round($consumed_sum) * $pcwh);
?>
                </div>
                <?php 
$pager->show();
?>
              </td>
            </tr>
          </tfoot>
        </table>
      </form>
    </td>
  </tr>
</table>
Ejemplo n.º 12
0
      <td class=<?php 
    echo $task->status;
    ?>
 ><?php 
    echo $lang->task->statusList[$task->status];
    ?>
</td>
      <td class='a-left nobr'>
        <?php 
    if ($task->storyID) {
        if (common::hasPriv('story', 'view')) {
            echo html::a($this->createLink('story', 'view', "storyid={$task->storyID}"), $task->storyTitle);
        } else {
            echo $task->storyTitle;
        }
    }
    ?>
      </td>
    </tr>
    <?php 
}
?>
    </tbody>
  </table>
  <div><?php 
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->project->importTask);
?>
</div>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 13
0
</td>
                        </tr>
                      <?php 
}
?>
                      </table>
                    </div>
                  </td>
                </tr>
              </table>
            </td>

            <td class='w-p50'>
              <table class='mainTable'>
                <caption style='padding-left:3px'><?php 
echo html::selectAll('bug', 'checkbox') . ' ' . $lang->build->linkBugs;
?>
</caption>
                <tr style='border-bottom:none'>
                  <td style='border-bottom:none; padding:0px'>
                    <div class='contentDiv'>
                      <table class='table-1 fixed bd-none' id='bug'>
                        <?php 
foreach ($bugs as $bug) {
    ?>
                        <?php 
    $bugLink = $this->createLink('bug', 'view', "bugID={$bug->id}", '', true);
    ?>
                        <tr class='a-center'>
                          <td class='w-id a-left'>
                            <input type='checkbox' name='bugs[]' value="<?php 
Ejemplo n.º 14
0
</td>
      <td><?php 
    echo $story->estimate;
    ?>
</td>
    </tr>
    <?php 
    $storyCount++;
    ?>
    <?php 
}
?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='7' class='a-left'>
          <?php 
if ($storyCount) {
    echo html::selectAll() . html::selectReverse() . html::submitButton();
}
if (!$storyCount) {
    echo $lang->project->whyNoStories;
}
?>
        </td>
      </tr>
    </tfoot>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 15
0
      <th class='text-right'><?php 
echo $lang->group->projectList;
?>
</th>
      <td><?php 
echo html::select("actions[projects][]", $projects, isset($group->acl['projects']) ? join(',', $group->acl['projects']) : '', "class='chosen' multiple");
?>
</td>
      <td><?php 
echo $lang->group->noticeVisit;
?>
</td>
    </tr>
    <tr>
      <th><span class='hidden'><?php 
echo html::selectAll('', 'checkbox');
?>
</span></th>
      <td colspan='2'>
        <?php 
echo html::submitButton($lang->save);
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a hidden var, to make sure $_POST is not empty.
?>
      </td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 16
0
'><?php 
    echo $lang->story->statusList[$story->status];
    ?>
</td>
        <td><?php 
    echo $lang->story->stageList[$story->stage];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
        <tr>
          <td colspan='8' class='text-left'>
            <?php 
if (count($allStories)) {
    echo "<div class='table-actions clearfix'>";
    echo "<div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>';
    echo html::submitButton($lang->story->linkStory) . html::a(inlink('view', "releaseID={$release->id}&type=story"), $lang->goback, '', "class='btn'") . '</div>';
}
?>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm('#stories .linkBox #querybox')})</script>
    common::printIcon('task', 'activate', "taskID={$task->id}", $task, 'list');
    ?>
      </td>
    </tr>
    <?php 
}
?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='11'>
        <?php 
if ($canBatchClose) {
    ?>
        <div class='f-left'><?php 
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->close);
    ?>
</div> 
        <?php 
}
?>
        <?php 
$pager->show();
?>
        </td>
      </tr>
    </tfoot>
  </table> 
<?php 
if ($canBatchClose) {
    echo '</form>';
Ejemplo n.º 18
0
<div class='row-table row-table-side-left'>
  <div class='col-side'>
    <div class='panel panel-sm'>
      <div class='panel-heading'>
        <strong><?php 
echo $lang->bug->report->select;
?>
</strong>
      </div>
      <div class='panel-body' style='padding-top:0'>
        <form method='post'>
          <?php 
echo html::checkBox('charts', $lang->bug->report->charts, $checkedCharts, '', 'block');
?>
          <?php 
echo html::selectAll('', "button", false, 'btn-sm');
?>
          <?php 
echo html::submitButton($lang->bug->report->create, '', "btn-primary btn-sm");
?>
        </form>
      </div>
    </div>
  </div>
  <div class='col-main'>
    <div class='panel panel-sm'>
      <div class='panel-heading'>
        <strong><?php 
echo $lang->bug->report->common;
?>
</strong>
Ejemplo n.º 19
0
        echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", "<i class='icon-remove'></i>", '', "title='{$lang->build->unlinkBug}' class='btn-icon'");
    }
    ?>
        </td>
      </tr>
      <?php 
}
?>
      <?php 
if (count($buildBugs) and $canBatchUnlink) {
    ?>
      <tfoot>
      <tr>
        <td colspan='8' class='text-left'>
        <?php 
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>';
    echo html::submitButton($lang->productplan->batchUnlink) . '</div>';
    ?>
        </td>
      </tr>
      </tfoot>
      <?php 
}
?>
      </tbody>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm()})</script>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 20
0
    if (strtotime(date('Y-m-d H:i:s')) - strtotime($user->locked) < $this->config->user->lockMinutes * 60) {
        common::printIcon('user', 'unlock', "userID={$user->account}", '', 'list', '', "hiddenwin");
    }
    ?>
          </td>
        </tr>
        <?php 
}
?>
        </tbody>
        <tfoot>
        <tr>
          <td colspan='12'>
          <?php 
if ($canBatchEdit or $canManageContacts) {
    echo html::selectAll() . html::selectReverse();
}
if ($canBatchEdit) {
    echo html::submitButton($lang->edit, 'onclick=batchEdit()');
}
if ($canManageContacts) {
    echo html::submitButton($lang->user->contacts->manage, 'onclick=manageContacts()');
}
$pager->show();
?>
          </td>
        </tr>
        </tfoot>
      </table>
    </td>
  </tr>
Ejemplo n.º 21
0
    common::printIcon('bug', 'edit', $params, '', 'list');
    ?>
    </td>
  </tr>
  <?php 
}
?>
  </tbody>
  <tfoot>
    <tr><td colspan='9'>
    <?php 
if ($bugs and $canBatchEdit) {
    ?>
    <div class='f-left'>
    <?php 
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->edit);
    ?>
    </div>
    <?php 
}
?>
    <?php 
$pager->show();
?>
    </td></tr>
  </tfoot>
</table>
</form>
<script language='javascript'>$("#<?php 
echo $type;
?>