Skip to content

Commit

Permalink
Update start_stop.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
frainzy1477 authored Aug 14, 2020
1 parent a09958c commit f0f4ab0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions luasrc/view/clash/start_stop.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%+cbi/valueheader%>

<input type="button" class="cbi-button cbi-button-apply" value="<%:Start%>" onclick=" return start() "/>
<input type="button" class="cbi-button cbi-button-apply" style="background-color:#ea4368;" value="<%:Stop%>" onclick=" return stop() "/>
<input type="button" class="cbi-button cbi-button-apply" value="<%:Stop%>" onclick=" return stop() "/>
<input type="button" class="cbi-button cbi-button-apply" value="<%:Reload%>" onclick=" return reload() "/>

<script type="text/javascript">
Expand All @@ -24,7 +24,6 @@
function reload(){
XHR.get('<%=url([[admin]], [[services]], [[clash]], [[reload]])%>',null,function(x, data){}
);
window.setTimeout("location.href='/cgi-bin/luci/admin/services/clash/'", 500);
return
}

Expand Down

0 comments on commit f0f4ab0

Please sign in to comment.