|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
<th>序号</th>
|
|
|
|
|
<th width="15%">竞赛名称</th>
|
|
|
|
|
<th width="10%">副标题</th>
|
|
|
|
|
<th>开始时间</th>
|
|
|
|
|
<th>截止时间</th>
|
|
|
|
|
<th width="10%">开始时间</th>
|
|
|
|
|
<th width="10%">截止时间</th>
|
|
|
|
|
<th width="18%">竞赛活动图</th>
|
|
|
|
|
<th width="10%">创建时间<a href="javascript:void(0)" onclick="changeTimeArray(this);" data-index=0><i class="iconfont icon-xiajiang color-green font-14 ml3"></i></a>
|
|
|
|
|
</th>
|
|
|
|
@ -25,10 +25,10 @@
|
|
|
|
|
<input type="text" class="input-100-35 mt5 mb5 none editSubTitlevalue" id="edit_competition_sub_title_<%= competition.id %>" placeholder="请输入副标题" value="<%= competition.sub_title %>"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="text" placeholder="请选择开始时间" id="edit_start_time_<%= competition.id %>" class="winput-200-35 mt5 mb5 game_begin_time" value="<%= format_time competition.start_time %>"/>
|
|
|
|
|
<input type="text" placeholder="请选择开始时间" id="edit_start_time_<%= competition.id %>" class="winput-150-30 mt5 mb5 game_begin_time" value="<%= format_time competition.start_time %>"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="text" placeholder="请选择结束时间" id="edit_end_time_<%= competition.id %>" class="winput-200-35 mt5 mb5 game_end_time" value="<%= format_time competition.end_time %>"/>
|
|
|
|
|
<input type="text" placeholder="请选择结束时间" id="edit_end_time_<%= competition.id %>" class="winput-150-30 mt5 mb5 game_end_time" value="<%= format_time competition.end_time %>"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<%= file_field_tag 'avatar[image]',
|
|
|
|
@ -108,8 +108,8 @@
|
|
|
|
|
var html = '<tr id="addLine"><td></td><td>' +
|
|
|
|
|
'<input type="text" class="input-100-35 mt5 mb5" name="com_name" id="inputTitlevalue" placeholder="请输入竞赛名称"/></td>' +
|
|
|
|
|
'<td><input type="text" class="input-100-35 mt5 mb5" name="com_sub_title" id="inputSubTitlevalue" placeholder="请输入副标题"/>' +
|
|
|
|
|
'</td><td><input type="text" placeholder="请选择开始时间" autocomplete="off" readonly name="start_time" class="winput-200-35 mt5 mb5 game_begin_time"/></td>' +
|
|
|
|
|
'<td><input type="text" placeholder="请选择结束时间" autocomplete="off" readonly name="end_time" class="winput-200-35 mt5 mb5 game_end_time"/></td>' +
|
|
|
|
|
'</td><td><input type="text" placeholder="请选择开始时间" autocomplete="off" readonly name="start_time" class="winput-150-30 mt5 mb5 game_begin_time"/></td>' +
|
|
|
|
|
'<td><input type="text" placeholder="请选择结束时间" autocomplete="off" readonly name="end_time" class="winput-150-30 mt5 mb5 game_end_time"/></td>' +
|
|
|
|
|
'<td colspan="3" class="edu-txt-right">' +
|
|
|
|
|
'<a href="javascript:void(0)" class="mr10" onclick="cancelAdd();">取消</a>' +
|
|
|
|
|
'<a href="javascript:void(0)" class="mr10" onclick="saveAdd();" data-status="0">保存</a>' +
|
|
|
|
|