1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Change error after no server ping response and better submit buttons

This commit is contained in:
Ycarus 2018-07-25 14:44:21 +02:00
parent e9b7f7e40e
commit 4ba73e9908
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@
</div>
<div class="cbi-page-actions">
<input type="hidden" name="token" value="<%=token%>" />
<button class="btn" type="submit">Submit</button>
<input class="cbi-button cbi-button-apply" type="submit" value="<%:Save & Apply%>" /> <input class="cbi-button cbi-button-reset" type="button" value="Reset" onclick="location.href='<%=url('admin/system/openmptcprouter/settings')%>'" />
</div>
</form>
<%+footer%>

View file

@ -247,7 +247,7 @@
}
if(server_ping == 'DOWN')
{
statusMessage += 'Can\'t ping server<br />'
statusMessage += 'No Server ping response after 1 second<br />'
}
if(multipath == 'master' && master > 1)
{

View file

@ -169,7 +169,7 @@
</div>
<div class="cbi-page-actions">
<input type="hidden" name="token" value="<%=token%>" />
<button class="btn" type="submit">Submit</button>
<input class="cbi-button cbi-button-apply" type="submit" value="<%:Save & Apply%>" /> <input class="cbi-button cbi-button-reset" type="button" value="Reset" onclick="location.href='<%=url('admin/system/openmptcprouter/wizard')%>'" />
</div>
</form>
<script type="text/javascript">cbi_init();</script>