■ ■ ■ ■ ■ ■
templates/sending_profiles.html
skipped 43 lines 44 44 </div> 45 45 <div class="modal-body"> 46 46 <div class="row" id="modal.flashes"></div> 47 - <div class="form-group"> 48 - <label class="control-label" for="name">Name:</label> 49 - <input type="text" class="form-control" placeholder="Profile name" id="name" autofocus /> 50 - <label class="control-label" for="interface_type">Interface Type:</label> 51 - <input type="text" class="form-control" value="SMTP" id="interface_type" disabled /> 52 - <label class="control-label" for="from">From:</label> 53 - <input type="text" class="form-control" placeholder="First Last <[email protected] >" id="from" 54 - required /> 55 - <label class="control-label" for="host">Host:</label> 56 - <input type="text" class="form-control" placeholder="smtp.example.com:25" id="host" required /> 57 - <label class="control-label" for="username">Username:</label> 58 - <input type="text" class="form-control" placeholder="Username" id="username" /> 59 - <label class="control-label" for="password">Password:</label> 60 - <input type="password" class="form-control" placeholder="Password" id="password" /> 61 - <div class="checkbox checkbox-primary"> 62 - <input id="ignore_cert_errors" type="checkbox" checked> 63 - <label for="ignore_cert_errors">Ignore Certificate Errors <i class="fa fa-question-circle" 64 - data-toggle="tooltip" data-placement="right" title="Ignore common certificate errors such as self-signed certs (exposes you to MiTM attacks - use carefully!)"></i></label> 47 + <form> 48 + <div class="form-group"> 49 + <label class="control-label" for="name">Name:</label> 50 + <input type="text" class="form-control" placeholder="Profile name" id="name" autofocus /> 51 + <label class="control-label" for="interface_type">Interface Type:</label> 52 + <input type="text" class="form-control" value="SMTP" id="interface_type" disabled /> 53 + <label class="control-label" for="from">From:</label> 54 + <input type="text" class="form-control" placeholder="First Last <[email protected] >" id="from" 55 + required /> 56 + <label class="control-label" for="host">Host:</label> 57 + <input type="text" class="form-control" placeholder="smtp.example.com:25" id="host" required /> 58 + <label class="control-label" for="username">Username:</label> 59 + <input type="text" class="form-control" placeholder="Username" id="username" /> 60 + <label class="control-label" for="password">Password:</label> 61 + <input type="password" class="form-control" placeholder="Password" id="password" /> 62 + <div class="checkbox checkbox-primary"> 63 + <input id="ignore_cert_errors" type="checkbox" checked> 64 + <label for="ignore_cert_errors">Ignore Certificate Errors <i class="fa fa-question-circle" 65 + data-toggle="tooltip" data-placement="right" title="Ignore common certificate errors such as self-signed certs (exposes you to MiTM attacks - use carefully!)"></i></label> 66 + </div> 65 67 </div> 66 - <label class="control-label" for="headersForm">Email Headers:</label> 67 - <form id="headersForm"> 68 + <fieldset class="form-group"> 69 + <label class="control-label input-group">Email Headers:</label> 68 70 <div class="col-md-4"> 69 71 <input type="text" class="form-control" name="headerKey" id="headerKey" placeholder="X-Custom-Header"> 70 72 </div> skipped 1 lines 72 74 <input type="text" class="form-control" name="headerValue" id="headerValue" placeholder='{{"{{"}}.URL{{"}}"}}-gophish'> 73 75 </div> 74 76 <div class="col-md-2"> 75 - <button class="btn btn-danger btn-headers" type="submit "><i class="fa fa-plus"></i> Add 77 + <button id = " addCustomHeader " class="btn btn-danger btn-headers" type="button "><i class="fa fa-plus"></i> Add 76 78 Custom Header</button> 77 79 </div> 78 - </form> 79 - <br /> 80 - <br /> 80 + </fieldset> 81 81 <table id="headersTable" class="table table-hover table-striped table-condensed"> 82 82 <thead> 83 83 <tr> skipped 7 lines 91 91 </table> 92 92 <button type="button" data-toggle="modal" data-backdrop="static" data-target="#sendTestEmailModal" 93 93 class="btn btn-primary"><i class="fa fa-envelope"></i> Send Test Email</button> 94 - </div> 94 + </form> 95 95 </div> 96 96 <div class="modal-footer"> 97 97 <button type="button" data-dismiss="modal" class="btn btn-default" onclick="dismiss()">Cancel</button> skipped 46 lines