summaryrefslogtreecommitdiffstats
path: root/modules-available/debugconfig/templates/debugconfig.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/debugconfig/templates/debugconfig.html')
-rw-r--r--modules-available/debugconfig/templates/debugconfig.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/modules-available/debugconfig/templates/debugconfig.html b/modules-available/debugconfig/templates/debugconfig.html
index 4aa0b4e9..83ea0449 100644
--- a/modules-available/debugconfig/templates/debugconfig.html
+++ b/modules-available/debugconfig/templates/debugconfig.html
@@ -1,6 +1,6 @@
<form action="?do=DebugConfig" method="post">
<input type="hidden" name="token" value="{{token}}">
- <input type="hidden" name="action" value="$this->setConfig()">
+ <input type="hidden" name="action" value="debugconf">
<div class="panel panel-default">
<div class="panel-heading">{{lang_debugConfig}}</div>
<div class="panel-body">
@@ -8,17 +8,18 @@
<div class="col-md-5 slx-cfg-toggle">
<div>REMOTE_DBG_SERVER</div>
<div class="slx-default">master-ip</div>
- {{#debugEnabled}}
- <input class="bootstrap-switch" name="toggleDebug" value="enable" id="" type="checkbox" checked="true"><label style="margin-left: 10px;">{{lang_debuggingActive}}</label>
- {{/debugEnabled}}
- {{^debugEnabled}}
- <input class="bootstrap-switch" name="toggleDebug" value="enable" id="" type="checkbox"><label style="margin-left: 10px;">{{lang_debuggingInactive}}</label>
- {{/debugEnabled}}
+ <input class="bootstrap-switch" name="toggleDebug" type="checkbox"
+ {{#debugEnabled}}checked="true"><label style="margin-left: 10px;">{{lang_debuggingActive}}{{/debugEnabled}}
+ {{^debugEnabled}}><label style="margin-left: 10px;">{{lang_debuggingInactive}}{{/debugEnabled}}
+ </label>
</div>
- <div class="col-md-5">
+ <div class="col-md-3">
<input name="debugServer" id="DBG_SERVER_ADDR" class="form-control" value="{{debugServer}}" type="text"/>
</div>
<div class="col-md-2">
+ <input name="port" id="DBG_SERVER_PORT" class="form-control" value="{{port}}" type="text" />
+ </div>
+ <div class="col-md-2">
<a class="btn btn-default" data-toggle="modal" data-target="help-remoteDebugging">
<span class="glyphicon glyphicon-question-sign"></span>
</a>