<style>
    @media print{
        .table-black{
            border : 1px solid black;
        }
        td ,th {
            border: 1px solid #000 !important;
        }
    }
</style>



<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">المنتجات</a></li>
            <li><a href="sizecolorController.php?do=show">مقاسات والوان</a></li>
            <li class="active">عرض المقاسات والالوان</li>
        </ol>



        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;"> عرض المقاسات والالوان</h3>
                <a href="{$youtubes[63]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>

                <a href="sizecolorController.php" class="hidden-print"><input type="button" style="margin-left: 12px" id="submit"  class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>
            <!-- Table -->

            <table class="table table-black">
                <thead>
                    <tr>
                        <th>الاسم</th>
                        <th>النوع</th>
                        <th class="noprint hidden-print">تعديل</th>
                        <th class="noprint hidden-print">حذف</th>
                    </tr>
                </thead>
                <tbody>
                    {foreach $allSizeColor as $data}
                    <tr>
                        <td>{$data->name}</td>
                        <td>{if $data->type == 0}مقاس{else}لون{/if}</td>
                        <td class="hidden-print"> <a href="sizecolorController.php?do=edit&id={$data->id}" type="button" class="btn btn-default btn-lg editicon"></a> </td>
                        <td class="hidden-print"><a href="sizecolorController.php?do=delete&id={$data->id}" type="button" class="btn btn-default btn-lg deleteicon"></a></td>
                    </tr>
                    {/foreach}
                </tbody>
            </table>

        </div>




    </div>

</div>

