<div class="modal fade" id="log-modal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Fail Log</h4>
<div class="modal-body" id="log-modal-body">Error displaying log</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<div class="modal fade" id="ticket-modal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Submit a Ticket</h4>
<p>Logs will be included in the ticket for troubleshooting.</p>
<p>Please include any additional information or requests here:</p>
<textarea id="ticket-body" class="form-control" rows="6" cols="80"></textarea>
<div class="modal-footer">
<span id="ticket-error"><i class="glyphicon glyphicon-exclamation-sign"></i> Failed to submit ticket</span>
<button id="ticket-do-btn" type="button" class="btn btn-primary" onclick="make_ticket();">Submit Ticket</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>