download multiple qrcodes at once feature
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="bulk-action-wrapper">
|
||||
<form id="bulk-action" action="/bulk_action.php" method="POST">
|
||||
<button type="submit" class="btn btn-primary">Bulk Action</button>
|
||||
<select name="bulk-action">
|
||||
<option value="">------ Select Option -------</option>
|
||||
<option value="download">Download QRCode(s)</option>
|
||||
</select>
|
||||
<input type="hidden" name="type" value="dynamic">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body table-responsive p-0">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%"><input type="checkbox" name="bulk-select" value="1"></th>
|
||||
<th width="5%">ID</th>
|
||||
<th width="15%">Filename</th>
|
||||
<th width="18%">Unique redirect identifier</th>
|
||||
@@ -17,6 +30,7 @@
|
||||
<tbody>
|
||||
<?php foreach ($rows as $row): ?>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="action[]" value="<?=$row['id']?>"></td>
|
||||
<td><?php echo $row['id']; ?></td>
|
||||
<td><?php echo htmlspecialchars($row['filename']); ?></td>
|
||||
<td><?php echo htmlspecialchars($row['identifier']); ?></td>
|
||||
@@ -73,4 +87,16 @@
|
||||
|
||||
</div><!-- /.Card -->
|
||||
</div><!-- /.col -->
|
||||
<div class="col-12">
|
||||
<div class="bulk-action-wrapper">
|
||||
<form id="bulk-action" action="/bulk_action.php" method="POST">
|
||||
<button type="submit" class="btn btn-primary">Bulk Action</button>
|
||||
<select name="bulk-action">
|
||||
<option value="">------ Select Option -------</option>
|
||||
<option value="download">Download QRCode(s)</option>
|
||||
</select>
|
||||
<input type="hidden" name="type" value="dynamic">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.row -->
|
||||
Reference in New Issue
Block a user