I actually had this in my dev environment from when I was helping someone out. Just to give you an idea of how it could be done...this one doesn't send a command, but actually posts and API command to a plugin back-end. You would replace the
OctoPrint.simpleApiCommand part with something like
OctoPrint.control.sendGcode($("#control-jog-custom > div > div > div > form > div > input[type=number]").val()});)
- additionalClasses: row-fluid
- default: 100
$("#control-jog-custom > div > div > div > form > div > input[type=number]").val()});'
name: Test Button