-
Notifications
You must be signed in to change notification settings - Fork 141
/
importbrand.php
44 lines (38 loc) · 1.63 KB
/
importbrand.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php require_once 'includes/header.php'; ?>
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<i class="glyphicon glyphicon-check"></i> Import Brand
</div>
<!-- /panel-heading -->
<div class="panel-body">
<form class="form-horizontal" id="submitImportForm" action="php_action/createBrandImport.php" method="POST" enctype="multipart/form-data">
<div id="add-product-messages"></div>
<div class="form-group">
<label for="brandfile" class="col-sm-3 control-label">Import Brand FIle: </label>
<label class="col-sm-1 control-label">: </label>
<div class="col-sm-8">
<!-- the avatar markup -->
<div id="kv-avatar-errors-1" class="center-block" style="display:none;"></div>
<div class="kv-avatar center-block">
<input type="file" class="form-control" id="brandfile" placeholder="Import Brand FIle" name="brandfile" class="file-loading" style="width:auto;"/>
</div>
<a href="assests/import/brand.xlsx" download>Sample file</a>
</div>
</div> <!-- /form-group-->
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-success" id="importBrandBtn"> <i class="glyphicon glyphicon-ok-sign"></i> Import</button>
</div>
</div>
</form>
</div>
<!-- /panel-body -->
</div>
</div>
<!-- /col-dm-12 -->
</div>
<!-- /row -->
<script src="custom/js/import.js"></script>
<?php require_once 'includes/footer.php'; ?>