修改列表和登录
登录设置默认一天 列表页各行换色并点击换色 修改返回的一些bug
This commit is contained in:
@@ -105,4 +105,9 @@ function batch(action) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//点击行换色
|
||||
$('tbody tr').click(function(){
|
||||
$(this).addClass("warning").siblings().removeClass("warning");
|
||||
});
|
||||
</script>
|
||||
@@ -32,7 +32,7 @@
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="li-border">
|
||||
<a class="mystyle-color" href="#" style="font-size: 20px">定时任务管理后台</a>
|
||||
<a class="mystyle-color" href="#" style="font-size: 20px">渠道定时任务管理后台 <span style="font-size: 12px">V1.1</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -104,18 +104,18 @@
|
||||
<label class="col-sm-3 control-label" for="notify">邮件通知</label>
|
||||
<div class="col-sm-6" >
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="notify" value="0" checked> 不通知
|
||||
<input type="radio" name="notify" value="0" checked readonly> 不通知
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="notify" value="1"> 执行失败通知
|
||||
<input type="radio" name="notify" value="1" > 执行失败通知
|
||||
</label>
|
||||
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="notify" value="2"> 执行结束通知
|
||||
<input type="radio" name="notify" value="2" > 执行结束通知
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3" style="padding-top:5px;">
|
||||
|
||||
<i style="font-size: 12px;color: red">暂不支持</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -156,6 +156,8 @@ $(function () {
|
||||
return false;
|
||||
});
|
||||
$("input[name='notify']").click(function () {
|
||||
// alert("暂不启用");
|
||||
// return;
|
||||
if ($(this).val() > 0) {
|
||||
$('.notify_email').removeClass('hide');
|
||||
} else {
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3" style="padding-top:5px;">
|
||||
|
||||
<i style="font-size: 12px;color: red">暂不支持</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{{range $k,$v := .list}}
|
||||
<tr>
|
||||
<tr {{if eq $v.is_odd 0 }} style="background: #FFFFFF " {{else}} style="background: #f8f8f8" {{end}}>
|
||||
<td class="chk"><input type="checkbox" name="ids" value="{{$v.id}}" /></td>
|
||||
<td> {{$v.id}} </td>
|
||||
<td>
|
||||
@@ -80,8 +80,6 @@
|
||||
{{end}}
|
||||
|
||||
{{$v.name}}-{{$v.group_name}}
|
||||
|
||||
|
||||
</td>
|
||||
<td> {{$v.cron_spec}} </td>
|
||||
<td> {{$v.description}} </td>
|
||||
@@ -158,4 +156,8 @@ function batch(action) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
//点击行换色
|
||||
$('tbody tr').click(function(){
|
||||
$(this).addClass("warning").siblings().removeClass("warning");
|
||||
});
|
||||
</script>
|
||||
@@ -39,7 +39,7 @@
|
||||
<hr />
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="{{urlfor "TaskController.Logs" "id" .task.Id}}" class="btn btn-default"><span class="icon-chevron-left"></span> 返 回</a>
|
||||
<button class="btn btn-default reback"><span class="icon-chevron-left"></span> 返 回</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user