0bde9ef7c9
qrcode_options.php (foreground/background, style presets, frame text, filename/format/owner) was included at the top of every static QR type form, ahead of the actual content fields (address, phone number, vCard name, etc). Moved it to just before the submit button across all 16 static form templates, so the fields you actually came to fill in are first and the shared styling/filename options come after.
44 lines
1.4 KiB
PHP
44 lines
1.4 KiB
PHP
<form class="form" action="static_qrcode.php?type=wifi" method="post" id="static_form" enctype="multipart/form-data">
|
|
<?php echo csrf_field(); ?>
|
|
<!-- Input forms -->
|
|
<div class="col-sm-12 mb-2">
|
|
<div class="row">
|
|
|
|
<div class="col-6 col-md-3">
|
|
<div class="form-group">
|
|
<label>Encryption *</label>
|
|
<select name="encryption" class="form-control">
|
|
<option value="WPA" Selected>WPA/WPA2</option>
|
|
<option value="WPA3">WPA3</option>
|
|
<option value="WEP">WEP</option>
|
|
<option value="">None</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-6 col-md-3">
|
|
<div class="form-group">
|
|
<label>SSID *</label>
|
|
<input type="text" name="ssid" value="" placeholder="" class="form-control">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-6 col-md-3">
|
|
<div class="form-group">
|
|
<label>Password</label>
|
|
<input type="text" name="password" value="" placeholder="" class="form-control">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php include BASE_PATH.'/forms/qrcode_options.php'; ?>
|
|
<div class="col-sm-12 mb-2">
|
|
<div class="row">
|
|
<div class="col-6 col-md-3">
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|