<?php defined('BASEPATH') or exit('No direct Access is Allowed'); ?>

<div class="content-wrapper">
 <?php /*?> <section class="content-header">
    <h1> Dashboard <small>Import Sheets Master</small> </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li>
      <li><a href="#">Manage</a></li>
      <li class="active">Import Sheets Master</li>
    </ol>
  </section><?php */?>
  <!-- Main content -->
  <section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box">
          <?php /*?><div class="box-header">
          </div><?php */?>
			<?php if (isset($error)): ?>
                <div class="alert alert-error"><?php echo $error; ?></div>
                <?php endif; ?>
                <?php if ($this->session->flashdata('success') == TRUE): ?>
                <div class="alert alert-success"><?php echo $this->session->flashdata('success'); ?></div>
            <?php endif; ?>
        <div class="box-body table-responsive no-padding" >
 		<table id="example2" class="table table-bordered table-hover  table-responsive">
          <thead>
            <tr>
              <th style="width:5%">Sr. No</th>
              <th style="width:45%">Description </th>
              <th style="width:25%">Choose File</th>
              <th style="width:10%">Action</th>
              <th style="width:15%">Download Format</th>
            </tr>
          </thead>
          <tbody>
            <tr>
                <td style="width:5%">1</td>
                <td style="width:45%">
                    <?php echo form_button('#','Master Record',['class'=>'btn btn-sm btn-primary bg-red pull-left']);?>
                    <?php echo form_button('#','Category',['class'=>'btn btn-sm btn-warning pull-right']);?>
                </td>
                <td style="width:25%">
                    <?=form_open_multipart('admin/master/Import/import_category',['name'=>'iadone_form_add',]);?><?=form_upload(['name'=>'userfile','class'=>'btn btn-sm btn-success']);?>
                </td>
                <td style="width:10%">
                    <?=form_submit(['name'=>'save','value'=>'UPLOAD','class'=>'btn btn-sm btn-social btn-github pull-right']); ?>
					<?=form_close();?>
                </td>
                <td style="width:15%">
                    <?php echo anchor(base_url('./uploads/formats/upload_category.csv'),'<i class="fa fa-fw fa-cloud-download text-red"></i>
                    Download Format',['class'=>'btn btn-sm btn-social btn-github pull-right']); ?>
                </td>
            </tr>
            
          </tbody>
          <tfoot>
            <tr>
              <th style="width:5%">Sr. No</th>
              <th style="width:45%">Description </th>
              <th style="width:25%">Choose File</th>
              <th style="width:10%">Action</th>
              <th style="width:15%">Download Format</th>
            </tr>
          </tfoot>
        </form>
        </table>
        </div>
    </div>
  </div>
</div>
</section>
</div>
<style>
tbody td, tfoot th,thead th {width: 20%;float: left;word-wrap: break-word;text-align:justify;text-align: right;}
</style>
