GGican 8 gadi atpakaļ
vecāks
revīzija
8d859d104a

+ 25 - 0
resources/views/admin/table/style.blade.php

xqd
@@ -0,0 +1,25 @@
+<style>
+    table{
+        width:100%;
+    }
+    .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
+        border: 1px solid #585858;
+        font-weight: bold;
+        text-align: center;
+        font-size: 16px;
+        overflow:hidden;
+        padding: 15px 0px 15px 0px;
+    }
+    .table>tbody>tr>td{
+        padding: 15px 0px 15px 0px;
+        vertical-align: middle;
+    }
+    .table>tbody:first-child>tr>td{
+        padding: 0px;
+    }
+    .table>tbody>tr>td>.form-control{
+        margin: 15px 0px 15px 0px;
+        width: 80%;
+        text-align: center;
+    }
+</style>

+ 1 - 25
resources/views/admin/table/table_eight.blade.php

xqd
@@ -3,31 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        table{
-            width:100%;
-        }
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
-
+    @include('admin.table.style')
     <!--左侧菜单栏-->
     @include('admin.left-sidebar')
     <!-- 内容 -->

+ 1 - 22
resources/views/admin/table/table_five.blade.php

xqd
@@ -3,28 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            width: 12%;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 22
resources/views/admin/table/table_four.blade.php

xqd
@@ -3,28 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            width: 12%;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 21
resources/views/admin/table/table_nine.blade.php

xqd
@@ -3,27 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 24
resources/views/admin/table/table_one.blade.php

xqd
@@ -3,30 +3,7 @@
 
 
     {{--修改表格--}}
-        <style>
-            .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-                border: 1px solid #585858;
-                font-weight: bold;
-                text-align: center;
-                font-size: 16px;
-                overflow:hidden;
-                width: 12%;
-            }
-            .table>tbody>tr>td{
-                padding: 15px 0px 15px 0px;
-                vertical-align: middle;
-            }
-            .table>tbody:first-child>tr>td{
-                padding: 0px;
-            }
-            .table>tbody>tr>td>.form-control{
-                margin: 15px 0px 15px 0px;
-                width: 80%;
-            }
-            .font>li>a{
-                font-size: 12px;
-            }
-        </style>
+@include('admin.table.style')
 
         <!--左侧菜单栏-->
 

+ 1 - 21
resources/views/admin/table/table_seven.blade.php

xqd
@@ -3,27 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 22
resources/views/admin/table/table_six.blade.php

xqd
@@ -3,28 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            width: 12%;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 22
resources/views/admin/table/table_three.blade.php

xqd
@@ -3,28 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            width: 12%;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')

+ 1 - 22
resources/views/admin/table/table_two.blade.php

xqd
@@ -3,28 +3,7 @@
 
 
     {{--修改表格--}}
-    <style>
-        .table-bordered>tbody>tr>td,.table-bordered>thead:first-child>tr:first-child>th{
-            border: 1px solid #585858;
-            font-weight: bold;
-            text-align: center;
-            font-size: 16px;
-            overflow:hidden;
-            width: 12%;
-            padding: 15px 0px 15px 0px;
-        }
-        .table>tbody>tr>td{
-            padding: 15px 0px 15px 0px;
-            vertical-align: middle;
-        }
-        .table>tbody:first-child>tr>td{
-            padding: 0px;
-        }
-        .table>tbody>tr>td>.form-control{
-            margin: 15px 0px 15px 0px;
-            width: 80%;
-        }
-    </style>
+@include('admin.table.style')
 
     <!--左侧菜单栏-->
 @include('admin.left-sidebar')