后台开放延时任务日志入口

pull/21/merge
ouqiang 2017-05-27 22:13:40 +08:00
parent ff0dc6b704
commit bbed4f4c20
2 changed files with 6 additions and 3 deletions

View File

@ -60,7 +60,7 @@
<div class="ui teal inverted menu">
<div class="bigcontainer">
<div class="right menu">
<a class="item {{{if eq .Controller "task"}}}active{{{end}}}" href="/task"><i class="tasks icon"></i></a>
<a class="item {{{if or (eq .Controller "task") (eq .Controller "delaytask")}}}active{{{end}}}" href="/task"><i class="tasks icon"></i></a>
<a class="item {{{if eq .Controller "host"}}}active{{{end}}}" href="/host"><i class="linux icon"></i></a>
<!-- <a class="item {{{if eq .Controller "user"}}}active{{{end}}}" href="/user"><i class="user icon"></i></a> -->
{{{if gt .LoginUid 0}}}

View File

@ -2,10 +2,13 @@
<div class="verticalMenu">
<div class="ui vertical pointing menu fluid">
<a class="{{{if eq .URI "/task"}}}active teal{{{end}}} item" href="/task">
<i class="tasks icon"></i>
<i class="tasks icon"></i>
</a>
<a class="item {{{if eq .URI "/task/log"}}}active teal{{{end}}} " href="/task/log">
<i class="bar chart icon"></i>
<i class="bar chart icon"></i>
</a>
<a class="item {{{if eq .URI "/delaytask"}}}active teal{{{end}}} " href="/delaytask">
<i class="bar chart icon"></i>
</a>
</div>
</div>