Change Forgot Ticket ID UI to a Bootstrap panel

master
Skylar Ittner 7 years ago
parent 4178703f2b
commit 932056f731

@ -535,46 +535,48 @@ function print_form()
</div>
</div>
</form>
<div align="left" id="forgot" class="alert alert-info" style="display: <?php echo $display; ?>;">
<p><?php echo $hesklang['tid_mail']; ?></p>
<div class="blankSpace"></div>
<form data-toggle="validator" action="index.php" method="post" class="form-horizontal" name="form1">
<div class="form-group">
<label for="email" class="col-sm-3 control-label"><?php echo $hesklang['email']; ?></label>
<div class="col-sm-9">
<input type="text" id="email" class="form-control" name="email" size="35"
value="<?php echo $my_email; ?>"
placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>"
data-error="<?php echo htmlspecialchars($hesklang['enter_valid_email']); ?>" required>
<div class="help-block with-errors"></div>
<input type="hidden" name="a" value="forgot_tid"/>
</div>
</div>
<div class="form-group">
<div class="col-sm-9 col-sm-offset-3">
<div class="radio">
<label>
<input type="radio" name="open_only"
value="1" <?php echo $hesk_settings['open_only'] ? 'checked="checked"' : ''; ?> /><?php echo $hesklang['oon1']; ?>
</label>
<div align="left" id="forgot" class="panel panel-info" style="display: <?php echo $display; ?>;">
<div class="panel-heading">
<?php echo $hesklang['tid_mail']; ?>
</div>
<div class="panel-body">
<form data-toggle="validator" action="index.php" method="post" class="form-horizontal" name="form1">
<div class="form-group">
<label for="email" class="col-sm-3 control-label"><?php echo $hesklang['email']; ?></label>
<div class="col-sm-9">
<input type="text" id="email" class="form-control" name="email" size="35"
value="<?php echo $my_email; ?>"
placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>"
data-error="<?php echo htmlspecialchars($hesklang['enter_valid_email']); ?>" required>
<div class="help-block with-errors"></div>
<input type="hidden" name="a" value="forgot_tid"/>
</div>
<div class="radio">
<label>
<input type="radio" name="open_only"
value="0" <?php echo !$hesk_settings['open_only'] ? 'checked="checked"' : ''; ?> /><?php echo $hesklang['oon2']; ?>
</label>
</div>
<div class="form-group">
<div class="col-sm-9 col-sm-offset-3">
<div class="radio">
<label>
<input type="radio" name="open_only"
value="1" <?php echo $hesk_settings['open_only'] ? 'checked="checked"' : ''; ?> /><?php echo $hesklang['oon1']; ?>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="open_only"
value="0" <?php echo !$hesk_settings['open_only'] ? 'checked="checked"' : ''; ?> /><?php echo $hesklang['oon2']; ?>
</label>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
<button type="submit" class="btn btn-default"
value="<?php echo $hesklang['tid_send']; ?>"><?php echo $hesklang['tid_send']; ?></button>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
<button type="submit" class="btn btn-default"
value="<?php echo $hesklang['tid_send']; ?>"><?php echo $hesklang['tid_send']; ?></button>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save