Files
dev-chiefworks f76abffdcd first commit
2022-05-31 16:21:53 -04:00

105 lines
3.6 KiB
PHP

<div class="row">
<div class="col-lg-4">
<div class="panel panel-flat">
<form>
<div class="form-group">
<label for="offerName">Offer Name</label>
<input type="email" class="form-control" id="offerName" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Category</label>
<input type="text" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">This offer expires</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
<div class="col-lg-8">
<!-- Media library -->
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title text-semibold">Configured Offers</h6>
<div class="heading-elements">
<ul class="icons-list">
<li><a data-action="collapse"></a></li>
<li><a data-action="reload"></a></li>
</ul>
</div>
</div>
<table class="table table-striped media-library table-lg">
<thead>
<tr>
<th><input type="checkbox" class="styled"></th>
<th>Offer Name</th>
<th>Category</th>
<th>Unique ID</th>
<th>Start Date</th>
<th>End Date</th>
<th>Quantity</th>
<th class="text-center">Actions</th>
</tr>
</thead>
<tbody>
<? foreach ($images as $image) { ?>
<tr>
<td><input type="checkbox" class="styled"></td>
<td>
<a href="<?= $storage ?>cards/<?=$image['uniqueid']?>.<?=$image['format']?>" data-popup="lightbox">
<img src="<?= $storage ?>cards/<?=$image['uniqueid']?>.<?=$image['format']?>?size=70x70" alt="" class="img-rounded img-preview">
</a>
</td>
<td> Category: <?=$image['category_name']?> <br>
<a href="<?= $storage ?>cards/<?=$image['uniqueid']?>.<?=$image['format']?>"><?= $storage ?>cards/<?=$image['uniqueid']?>.<?=$image['format']?></a></td>
<td><a href="#"><?=$image['uniqueid']?></a></td>
<td><?=$image['created']?></td>
<td>
<ul class="list-condensed list-unstyled no-margin">
<li><span class="text-semibold">Size:</span> <?=$image['file_size'] ?></li>
<li><span class="text-semibold">Format:</span> <?=$image['format'] ?></li>
<li><span class="text-semibold">Dim:</span> <?=$image['dimensions'] ?></li>
</ul>
</td>
<td class="text-center"> </td>
<td class="text-center"> </td>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /media library -->
</div>
</div>