Skip to content

Commit

Permalink
Merge pull request #5 from Autodrop3d/feature/gcode_at_commands
Browse files Browse the repository at this point in the history
add missing modal
  • Loading branch information
jneilliii authored Jun 5, 2021
2 parents 2898bdc + 7d4f234 commit 944e126
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions octoprint_autodrop3d/templates/autodrop3d.jinja2
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<div id="autodrop3d_command_editor" data-bind="with: selected_command" class="modal hide">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
</div>
<div class="modal-body">
<div class="control-group">
<label class="control-label">{{ _('Command') }}</label>
<div class="controls">
<div class="input-prepend"><span class="add-on">@</span><input type="text" class="input-block" data-bind="value: command"/></div>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Python Script') }}</label>
<div class="controls">
<textarea rows="10" class="input-block-level" data-bind="value: python"></textarea>
</div>
</div>
</div>
<div class="modal-footer">
<small>Make sure to click save in the main settings after making changes here.</small> <a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Close') }}</a>
</div>
</div>

0 comments on commit 944e126

Please sign in to comment.