修改项目配置js

增加项目配置相关子界面
This commit is contained in:
sw 2015-04-11 16:17:36 +08:00
parent 4adfec5640
commit 7ad3c2d578
9 changed files with 485 additions and 459 deletions

View File

@ -5,14 +5,14 @@
<div class=" pro_setting">
<div id="pro_st_tb_" class="pro_st_tb_">
<ul>
<li id="pro_st_tb_1" class="pro_st_hovertab" onclick="x:HoverLi(1);">信息</li>
<li id="pro_st_tb_2" class="pro_st_normaltab" onclick="i:HoverLi(2);">模块</li>
<li id="pro_st_tb_3" class="pro_st_normaltab" onclick="g:HoverLi(3);">成员</li>
<li id="pro_st_tb_4" class="pro_st_normaltab" onclick="g:HoverLi(4);">版本</li>
<li id="pro_st_tb_5" class="pro_st_normaltab" onclick="g:HoverLi(5);">问题类别</li>
<li id="pro_st_tb_6" class="pro_st_normaltab" onclick="g:HoverLi(6);">版本库</li>
<li id="pro_st_tb_7" class="pro_st_normaltab" onclick="g:HoverLi(7);">活动(时间跟踪)</li>
<li id="pro_st_tb_8" class="pro_st_normaltab" onclick="g:HoverLi(8);">代码评审</li>
<li id="pro_st_tb_1" class="pro_st_hovertab" onclick="project_setting(1);">信息</li>
<li id="pro_st_tb_2" class="pro_st_normaltab" onclick="project_setting(2);">模块</li>
<li id="pro_st_tb_3" class="pro_st_normaltab" onclick="project_setting(3);">成员</li>
<li id="pro_st_tb_4" class="pro_st_normaltab" onclick="project_setting(4);">版本</li>
<li id="pro_st_tb_5" class="pro_st_normaltab" onclick="project_setting(5);">问题类别</li>
<li id="pro_st_tb_6" class="pro_st_normaltab" onclick="project_setting(6);">版本库</li>
<li id="pro_st_tb_7" class="pro_st_normaltab" onclick="project_setting(7);">活动(时间跟踪)</li>
<li id="pro_st_tb_8" class="pro_st_normaltab" onclick="project_setting(8);">代码评审</li>
</ul>
</div><!--tb_ end-->
@ -20,471 +20,69 @@
<div class="pro_st_ctt">
<div class="pro_st_dis" id="pro_st_tbc_01">
<ul class="newpro_box ">
<form>
<li class="ml110">
<a href="javascript:void(0)" class="upimg fl"><img src="images/project/img_upsampn.png" width="60" height="60" alt="上传图片" /></a>
<input type="file" class="upbtn"/>
<div class="cl"></div>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class=" w543" >
</li>
<div class="cl"></div>
<li >
<label class="label02" >&nbsp;&nbsp;描述&nbsp;&nbsp;</label>
<textarea name="" placeholder="最多3000个汉字(或6000个英文字符)" class=" w543" ></textarea>
<div class="cl"></div>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;组织&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">--请选择组织--</option>
<option value="">广州超算中心</option>
</select>
</li>
<div class="cl"></div>
<li >
<label class="label02">公开&nbsp;&nbsp;</label>
<input type="checkbox" name="" checked="" >
<div class="cl"></div>
</li>
<li >
<label class="label02">隐藏代码库&nbsp;&nbsp;</label>
<input type="checkbox" name="" checked="" >
<div class="cl"></div>
</li>
</form>
</ul>
<a href="javascript:void(0)" class="blue_btn ml110" >保存</a>
<div class="cl"></div>
<%= render :partial=>"projects/settings/new_edit" %>
</div><!--tbc_01 end-->
<div class="pro_st_undis" id="pro_st_tbc_02">
<div class="box pl15">
<h3 class="c_blue mb10">请选择此项目可以使用的模块:</h3>
<ul>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 问题跟踪</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 时间跟踪</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 新闻</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 文档</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 资源库</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> Wiki</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 版本库</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 讨论区</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 日历</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 甘特图</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> DTS测试工具</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 代码审查</label></li>
</ul>
</div><!--box end-->
<p class="mb10 c_grey"><a href="javascript:void(0)" class=" c_purple">全选</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="javascript:void(0)" class=" c_purple" >清除</a></p>
<p><a href="javascript:void(0)" class="blue_btn" >保存</a></p>
<%= render :partial=>"projects/settings/new_modules" %>
</div><!--tbc_02 end-->
<div class="pro_st_undis" id="pro_st_tbc_03">
<div class="members_left">
<ul style=" border-bottom:none;">
<li><span class="w90 f_b" >用户</span><span class="w210 f_b">角色</span><span></span></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager, Developer</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager, Developer, Reporter</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
</ul>
</div><!-- 左边-->
<div class="members_right">
<div class="members_jion">
<p class="c_blue mb10 fb">+申请加入</p>
<ul class="mb10">
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
</ul>
<ul class="mb10">
<li>角色:</li>
<li><input type="checkbox" /><label>Manager</label></li>
<li><input type="checkbox" /><label>Developer</label></li>
<li><input type="checkbox" /><label>Reporter</label></li>
</ul>
<div class="cl"></div>
<a href="javascript:void(0)" class="blue_btn fl" >批准</a><a href="javascript:void(0)" class="grey_btn fl ml10" >拒绝</a>
</div><!--members_jion end-->
<div class="cl"></div>
<div class="members_add">
<p class="c_blue fb mt10 mb5">添加成员</p>
<div class="member_search">
<input class="member_search_input fl" type="text" name="" value="输入用户名称搜索好友"><a class="invi_search_btn fl c_white" >搜索</a>
<div class="cl"></div>
<ul class="mb5">
<li><input type="checkbox" name="" checked=""> <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >suntaoalibb</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
<li><input type="checkbox" name="" checked=""> <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >suntaoalibb</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
</ul>
<div class="cl"></div>
<ul class="wlist mr40" >
<li><a href="javascript:void(0)">下一页</a></li>
<li><a href="javascript:void(0)">...</a></li>
<li><a href="javascript:void(0)">2</a></li>
<li class="wlist_select" ><a href="javascript:void(0)">1</a></li>
<li><a href="javascript:void(0)">上一页</a></li>
</ul>
<div class="cl"></div>
<ul class="rolebox mb10 mt10">
<li class="fb">角色: </li>
<li ><input class="fl" type="checkbox" name="" checked=""> <label >TeachingAsistant</label> </li>
<li ><input type="checkbox" name="" > <label >Teacher</label> </li>
<li ><input type="checkbox" name="" > <label >Student</label> </li>
</ul>
<div class="cl"></div>
<a href="javascript:void(0)" class=" blue_btn">新增成员</a>
</div>
</div>
</div><!-- 右边 end-->
<%= render :partial=>"projects/settings/new_members" %>
</div><!--tbc_03 end-->
<div class="pro_st_undis" id="pro_st_tbc_04">
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class="w150">版本</td>
<td class="w1150"> 日期</td>
<td class="w210">描述 </td>
<td class="w1150">状态</td>
<td class="w190">共享</td>
<td class="w190">Wiki 页面</td>
<td class="w1150"></td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1" class="c_blue02">暑期版(Summer Beta) V0.8</a>
</td>
<td class="c_grey">2013-08-30</td>
<td class="description"></td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">正式版(First Release) V1.0</a>
</td>
<td class="c_grey">2013-11-01</td>
<td class="description">正式对外提供服务的版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1"class="c_blue02">商业版(Second Release) V2.0</a>
</td>
<td class="c_grey">2013-08-30</td>
<td class="description">增加在线支付、实名认证等功能,界面更加美化,用户交互更加友好!</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">JACK SUMMER V0.8</a>
</td>
<td class="c_grey">2014-08-25</td>
<td class="description">试用人员的开发版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1" class="c_blue02">LongJun Contest - V1.0</a>
</td>
<td class="c_grey"></td>
<td class="description">contest网站的开发分支</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">SZZH V1.1 (Supported by BJSZZH)</a>
</td>
<td class="c_grey"></td>
<td class="description">神舟公司外包开发版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
</tbody>
</table>
<a href="/projects/2/versions/close_completed" class="c_orange fr">关闭已完成的版本</a>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="pro_st_show_ban();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="pro_st_show_ban();">新建版本</a>
<div class="cl"></div>
<div id="pro_st_edit_ban" class="pro_st_edit_ban">
<ul>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;描述 &nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;状态&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">打开</option>
<option value="">锁定</option>
<option value="">关闭</option>
</select>
</li>
<li >
<label class="label02">&nbsp;Wiki 页面&nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;日期 &nbsp;&nbsp;</label>
<input type="text" name="" class=" fl" >
<a href="javascript:viod(0)" class="pic_date mt5 ml5"></a>
</li>
<div class="cl mb10"></div>
<li >
<label class="label02">&nbsp;共享 &nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">不共享 </option>
<option value="">共享 </option>
</select>
</li>
<a href="javascript:viod(0)" class="blue_btn ml110">保存</a>
</ul>
</div>
<%= render :partial=>"projects/settings/new_versions" %>
</div><!--tbc_04 end-->
<div class="pro_st_undis" id="pro_st_tbc_05">
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class="w150">问题类别</td>
<td class="w280"> 指派给</td>
<td class="w280"> </td>
</tr>
<tr class="pro_table_on">
<td>思路</td>
<td></td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr >
<td>思路</td>
<td>suntao</td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr class="pro_table_on">
<td>思路</td>
<td>gugu</td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr >
<td>思路</td>
<td></td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="show_edit_issues();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="show_edit_issues();">新建问题类别</a>
<div class="cl"></div>
<div id="pro_st_edit_issues" class="pro_st_edit_issues">
<ul>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class="" >
</li>
<div class="cl"></div>
<li >
<label class="label02">&nbsp;名指派给&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">wo</option>
<option value="">suntao</option>
</select>
</li>
<div class="cl"></div>
</ul>
<a href="javascript:viod(0)" class="blue_btn ml110">保存</a>
</div><!--pro_st_edit_issues end-->
<%= render :partial=>"projects/settings/new_issue_categories" %>
</div><!--tbc_05 end-->
<div class="pro_st_undis" id="pro_st_tbc_06">
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class=" w150">标识</td>
<td class="w150"> 主版本库</td>
<td class="w150">管理系统 </td>
<td class="w150" >库路径 </td>
<td class="w150"> </td>
<td class="w150"> </td>
</tr>
<tr class="pro_table_on">
<td><a href="javascript:viod(0)" class="c_blue" >trustie2</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td></td>
</tr>
<tr >
<td><a href="javascript:viod(0)" class="c_blue" >micros</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td></td>
</tr>
<tr class="pro_table_on">
<td><a href="javascript:viod(0)" class="c_blue" >socialforge</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td><a href="javascript:viod(0)" class="c_purple" >删除</a></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="pro_st_show_ku();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="pro_st_show_ku();">新建版本库</a>
<div class="cl"></div>
<div id="pro_st_edit_ku" class="pro_st_edit_ku">
<ul>
<li >
<label class="label02">&nbsp;管理系统&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">Git</option>
<option value="">Git</option>
</select>
</li>
<li >
<label class="label02">&nbsp;主版本库&nbsp;&nbsp;</label>
<input type="checkbox" name="" class="" >
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;版本库名&nbsp;&nbsp;</label>
<input type="text" name="" class="w280" >
<span class="c_grey">长度必须在 1 到 254 个字符之间。 仅小写字母a-z、数字、破折号-和下划线_可以使用。
一旦保存,标识无法修改。</span>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;密码&nbsp;&nbsp;</label>
<input type="text" name="" class="w280" >
<span class="c_grey">该密码在项目组内可共享</span>
</li>
<div class="cl"></div>
</ul>
<a href="javascript:viod(0)" class="blue_btn fl ml110">保存</a>
<a href="javascript:viod(0)" class="grey_btn fl ml10">取消</a>
</div><!--pro_st_edit_issues end-->
<%= render :partial=>"projects/settings/new_repositories" %>
</div><!--tbc_06 end-->
<div class="pro_st_undis" id="pro_st_tbc_07">
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class=" w350">名称</td>
<td class="w150"> 系统活动</td>
<td class="w150">活动 </td>
</tr>
<tr class="pro_table_on">
<td>Design</td>
<td></td>
<td><input type="checkbox" checked="checked" /></td>
</tr>
<tr >
<td>Development</td>
<td></td>
<td><input type="checkbox" checked="checked" /></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="blue_btn fl" >保存</a>
<a href="javascript:viod(0)" class="grey_btn fl ml10" >重置</a>
<%= render :partial=>"projects/settings/new_activities" %>
</div><!--tbc_07 end-->
<div class="pro_st_undis" id="pro_st_tbc_08">
<div class="box f14">
<ul>
<li><label for="setting_tracker_in_review_dialog">允许创建代码审查时选择跟踪者?<span class="required">&nbsp;&nbsp;</span></label></li>
<li><b>设置代码评审的默认跟踪标签:</b></li>
<li><label for="setting_tracker_id">跟踪<span class="c_red"> *</span></label>
<select id="setting_tracker_id" name="setting[tracker_id]">
<option value="1" selected="selected">缺陷</option>
<option value="2">功能</option>
<option value="3">支持</option>
<option value="4">任务</option>
</select></li>
<li>
<label for="setting_hide_code_review_tab">隐藏代码评审页<span class="required">&nbsp;&nbsp;</span></label>
<input name="setting[hide_code_review_tab]" type="hidden" value="0"><input id="setting_hide_code_review_tab" name="setting[hide_code_review_tab]" type="checkbox" value="1">
</li>
<li>
<label>若修订存在问题:</label>
<input checked="checked" id="setting_auto_relation_1" name="setting[auto_relation]" type="radio" value="1">
与之相关的评审问题
<input id="setting_auto_relation_2" name="setting[auto_relation]" type="radio" value="2">
与之无关的评审问题
<!--代码评审先不做-->
<!--<div class="pro_st_undis" id="pro_st_tbc_08">-->
<!--<div class="box f14">-->
<!--<ul>-->
<!--<li><label for="setting_tracker_in_review_dialog">允许创建代码审查时选择跟踪者?<span class="required">&nbsp;&nbsp;</span></label></li>-->
<!--<li><b>设置代码评审的默认跟踪标签:</b></li>-->
<!--<li><label for="setting_tracker_id">跟踪<span class="c_red"> *</span></label>-->
<!--<select id="setting_tracker_id" name="setting[tracker_id]">-->
<!--<option value="1" selected="selected">缺陷</option>-->
<!--<option value="2">功能</option>-->
<!--<option value="3">支持</option>-->
<!--<option value="4">任务</option>-->
<!--</select></li>-->
<!--<li>-->
<!--<label for="setting_hide_code_review_tab">隐藏代码评审页<span class="required">&nbsp;&nbsp;</span></label>-->
<!--<input name="setting[hide_code_review_tab]" type="hidden" value="0"><input id="setting_hide_code_review_tab" name="setting[hide_code_review_tab]" type="checkbox" value="1">-->
<!--</li>-->
<!--<li>-->
<!--<label>若修订存在问题:</label>-->
<!--<input checked="checked" id="setting_auto_relation_1" name="setting[auto_relation]" type="radio" value="1">-->
<!--与之相关的评审问题-->
<input id="setting_auto_relation_0" name="setting[auto_relation]" type="radio" value="0">
什么也不做
</li>
<li>
<label>自动分派</label>
<input id="auto_assign_enabled" name="auto_assign[enabled]" onchange="setAutoAssignSettingFormEnable();" type="checkbox" value="true">激活
</li>
</ul>
<a href="javascript:viod(0)" class="blue_btn">保存</a>
</div>
</div><!--tbc_08 end-->
<!--<input id="setting_auto_relation_2" name="setting[auto_relation]" type="radio" value="2">-->
<!--与之无关的评审问题-->
<!--<input id="setting_auto_relation_0" name="setting[auto_relation]" type="radio" value="0">-->
<!--什么也不做-->
<!--</li>-->
<!--<li>-->
<!--<label>自动分派</label>-->
<!--<input id="auto_assign_enabled" name="auto_assign[enabled]" onchange="setAutoAssignSettingFormEnable();" type="checkbox" value="true">激活-->
<!--</li>-->
<!--</ul>-->
<!--<a href="javascript:viod(0)" class="blue_btn">保存</a>-->
<!--</div>-->
<!--</div>&lt;!&ndash;tbc_08 end&ndash;&gt;-->
</div><!--ctt end-->
</div><!--pro_setting end-->

View File

@ -0,0 +1,23 @@
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class=" w350">名称</td>
<td class="w150"> 系统活动</td>
<td class="w150">活动 </td>
</tr>
<tr class="pro_table_on">
<td>Design</td>
<td></td>
<td><input type="checkbox" checked="checked" /></td>
</tr>
<tr >
<td>Development</td>
<td></td>
<td><input type="checkbox" checked="checked" /></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="blue_btn fl" >保存</a>
<a href="javascript:viod(0)" class="grey_btn fl ml10" >重置</a>

View File

@ -0,0 +1,40 @@
<ul class="newpro_box ">
<form>
<li class="ml110">
<a href="javascript:void(0)" class="upimg fl"><img src="images/project/img_upsampn.png" width="60" height="60" alt="上传图片" /></a>
<input type="file" class="upbtn"/>
<div class="cl"></div>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class=" w543" >
</li>
<div class="cl"></div>
<li >
<label class="label02" >&nbsp;&nbsp;描述&nbsp;&nbsp;</label>
<textarea name="" placeholder="最多3000个汉字(或6000个英文字符)" class=" w543" ></textarea>
<div class="cl"></div>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;组织&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">--请选择组织--</option>
<option value="">广州超算中心</option>
</select>
</li>
<div class="cl"></div>
<li >
<label class="label02">公开&nbsp;&nbsp;</label>
<input type="checkbox" name="" checked="" >
<div class="cl"></div>
</li>
<li >
<label class="label02">隐藏代码库&nbsp;&nbsp;</label>
<input type="checkbox" name="" checked="" >
<div class="cl"></div>
</li>
</form>
</ul>
<a href="javascript:void(0)" class="blue_btn ml110" >保存</a>
<div class="cl"></div>

View File

@ -0,0 +1,57 @@
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class="w150">问题类别</td>
<td class="w280"> 指派给</td>
<td class="w280"> </td>
</tr>
<tr class="pro_table_on">
<td>思路</td>
<td></td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr >
<td>思路</td>
<td>suntao</td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr class="pro_table_on">
<td>思路</td>
<td>gugu</td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
<tr >
<td>思路</td>
<td></td>
<td> <a href="javascript:viod(0)" class=" c_purple">编辑</a>
<a href="javascript:viod(0)" class="c_purple" data-confirm="您确定要删除吗?" >删除</a></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="show_edit_issues();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="show_edit_issues();">新建问题类别</a>
<div class="cl"></div>
<div id="pro_st_edit_issues" class="pro_st_edit_issues">
<ul>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class="" >
</li>
<div class="cl"></div>
<li >
<label class="label02">&nbsp;名指派给&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">wo</option>
<option value="">suntao</option>
</select>
</li>
<div class="cl"></div>
</ul>
<a href="javascript:viod(0)" class="blue_btn ml110">保存</a>
</div><!--pro_st_edit_issues end-->

View File

@ -0,0 +1,67 @@
<div class="members_left">
<ul style=" border-bottom:none;">
<li><span class="w90 f_b" >用户</span><span class="w210 f_b">角色</span><span></span></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager, Developer</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager, Developer, Reporter</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
<li ><a href="javascript:void(0)" class="w90 c_orange fl">gugu01</a><span class="w210 fl">Manager</span><a href="javascript:void(0)" class="c_dblue ml15 fl">编辑</a><a href="javascript:void(0)" class="c_dblue ml30 fl">删除</a></li>
</ul>
</div><!-- 左边-->
<div class="members_right">
<div class="members_jion">
<p class="c_blue mb10 fb">+申请加入</p>
<ul class="mb10">
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
<li><input name="membership[user_ids][]" type="checkbox" value="3172"> <a href="/users/3172" class="c_blue">JackWu (巫 荣杰)</a></li>
</ul>
<ul class="mb10">
<li>角色:</li>
<li><input type="checkbox" /><label>Manager</label></li>
<li><input type="checkbox" /><label>Developer</label></li>
<li><input type="checkbox" /><label>Reporter</label></li>
</ul>
<div class="cl"></div>
<a href="javascript:void(0)" class="blue_btn fl" >批准</a><a href="javascript:void(0)" class="grey_btn fl ml10" >拒绝</a>
</div><!--members_jion end-->
<div class="cl"></div>
<div class="members_add">
<p class="c_blue fb mt10 mb5">添加成员</p>
<div class="member_search">
<input class="member_search_input fl" type="text" name="" value="输入用户名称搜索好友"><a class="invi_search_btn fl c_white" >搜索</a>
<div class="cl"></div>
<ul class="mb5">
<li><input type="checkbox" name="" checked=""> <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >suntaoalibb</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
<li><input type="checkbox" name="" checked=""> <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >suntaoalibb</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
<li><input type="checkbox" name="" > <label >用户名称</label> </li>
<li><input type="checkbox" name="" > <label >suntao</label> </li>
</ul>
<div class="cl"></div>
<ul class="wlist mr40" >
<li><a href="javascript:void(0)">下一页</a></li>
<li><a href="javascript:void(0)">...</a></li>
<li><a href="javascript:void(0)">2</a></li>
<li class="wlist_select" ><a href="javascript:void(0)">1</a></li>
<li><a href="javascript:void(0)">上一页</a></li>
</ul>
<div class="cl"></div>
<ul class="rolebox mb10 mt10">
<li class="fb">角色: </li>
<li ><input class="fl" type="checkbox" name="" checked=""> <label >TeachingAsistant</label> </li>
<li ><input type="checkbox" name="" > <label >Teacher</label> </li>
<li ><input type="checkbox" name="" > <label >Student</label> </li>
</ul>
<div class="cl"></div>
<a href="javascript:void(0)" class=" blue_btn">新增成员</a>
</div>
</div>
</div><!-- 右边 end-->

View File

@ -0,0 +1,19 @@
<div class="box pl15">
<h3 class="c_blue mb10">请选择此项目可以使用的模块:</h3>
<ul>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 问题跟踪</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 时间跟踪</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 新闻</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 文档</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 资源库</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> Wiki</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 版本库</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 讨论区</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 日历</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 甘特图</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> DTS测试工具</label></li>
<li><label><input checked="checked" id="enabled_module_names_" name="enabled_module_names[]" type="checkbox" value="issue_tracking"> 代码审查</label></li>
</ul>
</div><!--box end-->
<p class="mb10 c_grey"><a href="javascript:void(0)" class=" c_purple">全选</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="javascript:void(0)" class=" c_purple" >清除</a></p>
<p><a href="javascript:void(0)" class="blue_btn" >保存</a></p>

View File

@ -0,0 +1,69 @@
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class=" w150">标识</td>
<td class="w150"> 主版本库</td>
<td class="w150">管理系统 </td>
<td class="w150" >库路径 </td>
<td class="w150"> </td>
<td class="w150"> </td>
</tr>
<tr class="pro_table_on">
<td><a href="javascript:viod(0)" class="c_blue" >trustie2</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td></td>
</tr>
<tr >
<td><a href="javascript:viod(0)" class="c_blue" >micros</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td></td>
</tr>
<tr class="pro_table_on">
<td><a href="javascript:viod(0)" class="c_blue" >socialforge</a></td>
<td></td>
<td>Git</td>
<td ><a href="http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git" class="c_blue" >http://xianbo_trustie2</a></td>
<td><a href="javascript:viod(0)" class="c_blue" >用户列表</a></td>
<td><a href="javascript:viod(0)" class="c_purple" >删除</a></td>
</tr>
</tbody>
</table>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="pro_st_show_ku();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="pro_st_show_ku();">新建版本库</a>
<div class="cl"></div>
<div id="pro_st_edit_ku" class="pro_st_edit_ku">
<ul>
<li >
<label class="label02">&nbsp;管理系统&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">Git</option>
<option value="">Git</option>
</select>
</li>
<li >
<label class="label02">&nbsp;主版本库&nbsp;&nbsp;</label>
<input type="checkbox" name="" class="" >
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;版本库名&nbsp;&nbsp;</label>
<input type="text" name="" class="w280" >
<span class="c_grey">长度必须在 1 到 254 个字符之间。 仅小写字母a-z、数字、破折号-和下划线_可以使用。
一旦保存,标识无法修改。</span>
</li>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;密码&nbsp;&nbsp;</label>
<input type="text" name="" class="w280" >
<span class="c_grey">该密码在项目组内可共享</span>
</li>
<div class="cl"></div>
</ul>
<a href="javascript:viod(0)" class="blue_btn fl ml110">保存</a>
<a href="javascript:viod(0)" class="grey_btn fl ml10">取消</a>
</div><!--pro_st_edit_issues end-->

View File

@ -0,0 +1,140 @@
<table class="pro_table">
<tbody>
<tr class="pro_table_tit">
<td class="w150">版本</td>
<td class="w1150"> 日期</td>
<td class="w210">描述 </td>
<td class="w1150">状态</td>
<td class="w190">共享</td>
<td class="w190">Wiki 页面</td>
<td class="w1150"></td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1" class="c_blue02">暑期版(Summer Beta) V0.8</a>
</td>
<td class="c_grey">2013-08-30</td>
<td class="description"></td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">正式版(First Release) V1.0</a>
</td>
<td class="c_grey">2013-11-01</td>
<td class="description">正式对外提供服务的版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1"class="c_blue02">商业版(Second Release) V2.0</a>
</td>
<td class="c_grey">2013-08-30</td>
<td class="description">增加在线支付、实名认证等功能,界面更加美化,用户交互更加友好!</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">JACK SUMMER V0.8</a>
</td>
<td class="c_grey">2014-08-25</td>
<td class="description">试用人员的开发版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr class="pro_table_on">
<td >
<a href="/versions/1" class="c_blue02">LongJun Contest - V1.0</a>
</td>
<td class="c_grey"></td>
<td class="description">contest网站的开发分支</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
<tr >
<td >
<a href="/versions/1" class="c_blue02">SZZH V1.1 (Supported by BJSZZH)</a>
</td>
<td class="c_grey"></td>
<td class="description">神舟公司外包开发版本</td>
<td class="status">打开</td>
<td class="sharing">不共享</td>
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title=""></td>
<td >
<a href="/versions/1/edit" class=" c_purple">编辑</a>
<a href="/versions/1" class=" c_purple" data-confirm="您确定要删除吗?" >删除</a>
</td>
</tr>
</tbody>
</table>
<a href="/projects/2/versions/close_completed" class="c_orange fr">关闭已完成的版本</a>
<a href="javascript:viod(0)" class="pic_add fl mr5" onclick="pro_st_show_ban();"></a>
<a href="javascript:viod(0)" class="c_blue fl" onclick="pro_st_show_ban();">新建版本</a>
<div class="cl"></div>
<div id="pro_st_edit_ban" class="pro_st_edit_ban">
<ul>
<li >
<label class="label02"><span class="c_red">*</span>&nbsp;名称&nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;描述 &nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;状态&nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">打开</option>
<option value="">锁定</option>
<option value="">关闭</option>
</select>
</li>
<li >
<label class="label02">&nbsp;Wiki 页面&nbsp;&nbsp;</label>
<input type="text" name="" class=" w280" >
</li>
<li >
<label class="label02">&nbsp;日期 &nbsp;&nbsp;</label>
<input type="text" name="" class=" fl" >
<a href="javascript:viod(0)" class="pic_date mt5 ml5"></a>
</li>
<div class="cl mb10"></div>
<li >
<label class="label02">&nbsp;共享 &nbsp;&nbsp;</label>
<select id="" name="">
<option value="" selected="selected">不共享 </option>
<option value="">共享 </option>
</select>
</li>
<a href="javascript:viod(0)" class="blue_btn ml110">保存</a>
</ul>
</div>

View File

@ -162,7 +162,20 @@ function close_window(type){
//弹框l
/////////////////////////////////////////////
function g(o){return document.getElementById(o);}
function HoverLi(n){
for(var i=1;i<=8;i++){g('pro_st_tb_'+i).className='pro_st_normaltab';g('pro_st_tbc_0'+i).className='pro_st_undis';}g('pro_st_tbc_0'+n).className='pro_st_dis';g('pro_st_tb_'+n).className='pro_st_hovertab';
//项目配置
function project_setting(n)
{
for(var i = 1;i < 9; i++)
{
if(i == n)
{
$("#pro_st_tb_"+i).removeClass().addClass("pro_st_hovertab");
$("#pro_st_tbc_0"+i).removeClass().addClass("pro_st_dis");
}
else
{
$("#pro_st_tb_"+i).removeClass().addClass("pro_st_dis");
$("#pro_st_tbc_0"+i).removeClass().addClass("pro_st_undis");
}
}
}