Ejemplo n.º 1
0
?>
        </div>

<div class="reWrap">
<div class="head"><h3>提交测试报告</h3></div>
<div class="body">
<div id="test_report_form">
<input type="hidden" forme="val" name="id" value="<?php 
echo $this->ticket->id;
?>
" />
测试结果:
<select forme="val" name="test_status" class="selectstyle">
<?php 
$test_status_list = Config_App::get_test_status_list();
echo Lib_Global::format_select_options($test_status_list, $this->ticket->test_status);
?>
</select>

</div>

<div class="lineright"></div>

<script type="text/javascript" src="./fckeditor/fckeditor.js"></script>
<textarea id="ticket_test_report_content" width="200"></textarea>

<div class="lineright"></div>
<button class="btn_h_25" onclick="commit_ticket_test_report()">提交测试报告</button>
</div>
</div>
Ejemplo n.º 2
0
<tr>
    <th style="width:150px;">操作</th>
    <th style="width:150px;">名字</th>
    <th style="width:150px;">SVN账号</th>
    <th style="width:150px;">管理权</th>
</tr>
<?php 
$O_Sys = O_Sys::readone(O_Sys::SYS_ROLES);
$alt = false;
foreach ($O_Sys->list as $O_Role) {
    if ($O_Role->is_super_admin()) {
        continue;
    }
    ?>
<tr class="row<?php 
    $alt = Lib_Global::get_row_alt($alt);
    ?>
">
    <td>
<span onclick="ajax('ctl=Manage&act=show_edit_role&id=<?php 
    echo $O_Role->id;
    ?>
');" class="a icon icon-edit">编辑</span>
&nbsp;&nbsp;
<span onclick="cfm(function () {ajax('ctl=Manage&act=delete_role&id=<?php 
    echo $O_Role->id;
    ?>
');}, '确定要执行删除操作?');" class="a icon icon-del">删除</span>
    </td>
    <td>
<span onclick="ajax('ctl=Manage&act=show_edit_role&id=<?php 
Ejemplo n.º 3
0
<?php 
echo Lib_Global::format_select_options($SYS_DEPARTMENT->list, 0);
?>
</select>
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_department', 'ctl=Commit&act=change_more');">
    修改部门
</button>

&nbsp;&nbsp;
<input id="change_more_version" name="version" type="text" class="inputstyle input_100" />
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_version', 'ctl=Commit&act=change_more');">
    设置版本
</button>
</p>

<p>
<select id="change_more_priority" name="priority"  class="selectstyle">
<?php 
echo Lib_Global::format_select_options(Config_App::get_priority_list(), 0);
?>
</select>
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_priority', 'ctl=Commit&act=change_more');">
    修改优先级
</button>
</p>
    </div>

</div></div>
Ejemplo n.º 4
0
&nbsp;&nbsp;
部门:
<select forme="val" name="department" class="selectstyle">
<?php 
$SYS_DEPARTMENT = O_Sys::readone(O_Sys::SYS_DEPARTMENT);
echo Lib_Global::format_select_options($SYS_DEPARTMENT->list, 0);
?>
</select>

&nbsp;&nbsp;
指派负责人:
<select forme="val" name="acter_id" class="selectstyle">
<?php 
$admins = Config_Admin::get_select_option_list();
echo Lib_Global::format_select_options($admins, 0);
?>
</select>
</p>

<?php 
include ROOT_DIR . 'fckeditor/fckeditor.php';
$oFCKeditor = new FCKeditor('ticket_content');
$oFCKeditor->BasePath = './fckeditor/';
$oFCKeditor->Height = '500px';
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Create();
?>
        </div>

    <div class="lineright"></div>