Reordered and tooltipped new server commands

This commit is contained in:
Gina Häußge 2015-07-21 18:02:24 +02:00
parent 7986a2ff56
commit e2e6318391

View file

@ -1,20 +1,22 @@
<form class="form-horizontal"> <form class="form-horizontal">
<div class="control-group"> <h3>Commands</h3>
<label class="control-label" for="settings-systemShutdownCommand">{{ _('System Shutdown Command') }}</label>
<div class="controls"> <div class="control-group" title="{{ _('Command to restart the OctoPrint server') }}">
<input type="text" class="input-block-level" data-bind="value: server_commands_systemShutdownCommand" id="settings-systemShutdownCommand"> <label class="control-label" for="settings-serverRestartCommand">{{ _('Restart OctoPrint') }}</label>
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-systemRestartCommand">{{ _('System Restart Command') }}</label>
<div class="controls">
<input type="text" class="input-block-level" data-bind="value: server_commands_systemRestartCommand" id="settings-systemRestartCommand">
</div>
</div>
<div class="control-group">
<label class="control-label" for="settings-serverRestartCommand">{{ _('Server Restart Command') }}</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-block-level" data-bind="value: server_commands_serverRestartCommand" id="settings-serverRestartCommand"> <input type="text" class="input-block-level" data-bind="value: server_commands_serverRestartCommand" id="settings-serverRestartCommand">
</div> </div>
</div> </div>
<div class="control-group" title="{{ _('Command to restart the system OctoPrint is running on') }}">
<label class="control-label" for="settings-systemRestartCommand">{{ _('Restart system') }}</label>
<div class="controls">
<input type="text" class="input-block-level" data-bind="value: server_commands_systemRestartCommand" id="settings-systemRestartCommand">
</div>
</div>
<div class="control-group" title="{{ _('Command to shut down the system OctoPrint is running on') }}">
<label class="control-label" for="settings-systemShutdownCommand">{{ _('Shutdown system') }}</label>
<div class="controls">
<input type="text" class="input-block-level" data-bind="value: server_commands_systemShutdownCommand" id="settings-systemShutdownCommand">
</div>
</div>
</form> </form>