瀏覽代碼

added my-flyers

= 3 年之前
父節點
當前提交
e7776a1c9a
共有 1 個文件被更改,包括 36 次插入34 次删除
  1. 36 34
      resources/views/app/my-flyers.blade.php

+ 36 - 34
resources/views/app/my-flyers.blade.php

@@ -1,45 +1,47 @@
 @extends ('layouts/template')
 
-@section('inner-content')
-<div class="card-body">
+@section('content')
+<div id="my-flyers" class="mcp-theme-1">
+    <div class="card-body">
 
-    <div class="mcp-theme-1">
+        <div class="mcp-theme-1">
 
-        <div class="card">
+            <div class="card">
 
-            <div class="card-header px-3 py-2 d-flex align-items-center">
-                <strong class="text-nowrap">
-                    <i class="fas fa-clipboard"></i>
-                    Flyers
-                </strong>
-            </div>
-            <div class="card-body p-0">
+                <div class="card-header px-3 py-2 d-flex align-items-center">
+                    <strong class="text-nowrap">
+                        <i class="fas fa-clipboard"></i>
+                        Flyers
+                    </strong>
+                </div>
+                <div class="card-body p-0">
 
-                <table class="table table-sm table-striped p-0 m-0">
-                    <thead class="bg-light">
-                        <tr>
-                            <th class="border-0">Title</th>
-                            <th class="border-0">template</th>
-                            <th class="border-0">url</th>
-                            <th class="border-0">Status</th>
-                            <th class="border-0">&nbsp;</th>
-                        </tr>
-                    </thead>
-                    <tbody>
-                        @foreach($flyerTemplates as $flyer)
-                        <tr>
-                            <td>{{ $flyer->title }}</td>
-                            <td>{{ $flyer->template }}</td>
-                            <td><a href="{{ $flyer->url }}" target="_blank" native>{{ $flyer->url }}</a></td>
-                            <td>{{ $flyer->active ? 'ACTIVE':'INACTIVE' }}</td>
-                            <td></td>
-                        </tr>
-                        @endforeach
-                    </tbody>
-                </table>
+                    <table class="table table-sm table-striped p-0 m-0">
+                        <thead class="bg-light">
+                            <tr>
+                                <th class="border-0">Title</th>
+                                <th class="border-0">template</th>
+                                <th class="border-0">url</th>
+                                <th class="border-0">Status</th>
+                                <th class="border-0">&nbsp;</th>
+                            </tr>
+                        </thead>
+                        <tbody>
+                            @foreach($flyerTemplates as $flyer)
+                            <tr>
+                                <td>{{ $flyer->title }}</td>
+                                <td>{{ $flyer->template }}</td>
+                                <td><a href="{{ $flyer->url }}" target="_blank" native>{{ $flyer->url }}</a></td>
+                                <td>{{ $flyer->active ? 'ACTIVE':'INACTIVE' }}</td>
+                                <td></td>
+                            </tr>
+                            @endforeach
+                        </tbody>
+                    </table>
+                </div>
             </div>
-        </div>
 
+        </div>
     </div>
 </div>
 @endsection