Fase 3 feedback round 4: group filename with owner in the qr forms
Filename now sits in the same row as Owner instead of the crowded top row shared with format/frame text/frame font/frame font size/icon. Freeing that column lets those fields shift left and use the space better. Applied to both the shared static-form partial (qrcode_options.php) and the dynamic-form's separate copy of the same fields (form_dynamic_add.php) - the two have diverged since Fase 3 and don't share markup. Edit forms (form_static_edit.php/form_dynamic_edit.php) already had filename/owner side by side, no change needed there.
This commit is contained in:
@@ -117,15 +117,7 @@
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 mb-2">
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<label for="filename">Filename *</label>
|
||||
<input type="text" name="filename" value="" placeholder="My first Qrcode" class="form-control error" required="required" id="filename">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6 col-md-1">
|
||||
<label for="format">Format *</label>
|
||||
<select name="format" class="form-control" required="required">
|
||||
@@ -177,13 +169,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($_SESSION['type'] === 'super') { ?>
|
||||
<div class="col-sm-12 mb-2">
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<label for="filename">Filename *</label>
|
||||
<input type="text" name="filename" value="" placeholder="My first Qrcode" class="form-control error" required="required" id="filename">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($_SESSION['type'] === 'super') { ?>
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<label for="id_owner">Owner *</label>
|
||||
<select name="id_owner" class="form-control">
|
||||
<select name="id_owner" id="id_owner" class="form-control">
|
||||
<option value="">All (shared with every admin)</option>
|
||||
<?php
|
||||
|
||||
@@ -199,9 +198,9 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="id_owner" value="<?php echo $_SESSION["user_id"];?>"/>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="id_owner" value="<?php echo $_SESSION["user_id"];?>"/>
|
||||
<?php } ?>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user