summaryrefslogtreecommitdiffstats
path: root/modules-available/debugconfig/templates/debugconfig.html
blob: 91ee979936e79e8247aae1d3e007a5ba3f722230 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<form action="?do=DebugConfig" method="post">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="debugconf">
	<div class="panel panel-default">
		<div class="panel-heading">{{lang_debugConfig}}</div>
		<div class="panel-body">
			<p>{{lang_debugDescription}}</p>
			<div class="col-md-5 slx-cfg-toggle">
				<div>REMOTE_DBG_SERVER</div>
				<div class="slx-default">master-ip</div>
				<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-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>
		<div class="panel-footer">
		<button type="submit" class="btn btn-primary">{{lang_save}}</button>
		</div>
	</div>
	
</form>