Skip to content

Commit 58ab915

Browse files
committed
Create master.blade.php
1 parent d1085d8 commit 58ab915

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<script src="https://cdn.tailwindcss.com"></script>
7+
<style>
8+
.checkbox:checked + .check-icon {
9+
display: flex;
10+
}
11+
</style>
12+
</head>
13+
<body>
14+
<div class="sm:px-6 w-full">
15+
<div class="px-4 md:px-10 py-4 md:py-7">
16+
<div class="flex items-center justify-between">
17+
<p class="focus:outline-none text-base sm:text-lg md:text-xl lg:text-2xl font-bold leading-normal text-gray-800" tabindex="0">
18+
Laravel User Monitoring
19+
</p>
20+
</div>
21+
</div>
22+
<div class="bg-white py-4 md:py-7 px-4 md:px-8 xl:px-10">
23+
<div class="sm:flex items-center justify-between">
24+
<div class="flex items-center">
25+
<a class="rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800" href=" javascript:void(0)">
26+
<div class="py-2 px-8 bg-indigo-100 text-indigo-700 rounded-full">
27+
<p>Visit Monitoring</p>
28+
</div>
29+
</a>
30+
<a class="rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800 ml-4 sm:ml-8" href="javascript:void(0)">
31+
<div class="py-2 px-8 text-gray-600 hover:text-indigo-700 hover:bg-indigo-100 rounded-full ">
32+
<p>Action Monitoring</p>
33+
</div>
34+
</a>
35+
<a class="rounded-full focus:outline-none focus:ring-2 focus:bg-indigo-50 focus:ring-indigo-800 ml-4 sm:ml-8" href="javascript:void(0)">
36+
<div class="py-2 px-8 text-gray-600 hover:text-indigo-700 hover:bg-indigo-100 rounded-full ">
37+
<p>Authentication Monitoring</p>
38+
</div>
39+
</a>
40+
</div>
41+
<div>
42+
<a href="https://github.com/milwad-dev"
43+
class="focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600 mt-4 sm:mt-0
44+
inline-flex items-start justify-start px-6 py-3 bg-indigo-700 hover:bg-indigo-600
45+
focus:outline-none rounded items-center">
46+
<p class="text-sm font-medium leading-none text-white mr-2">
47+
Github
48+
</p>
49+
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 24 24" style="fill:#FFFFFF;">
50+
<path d="M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.5,4.7,2.2,8.9,6.3,10.5C8.7,21.4,9,21.2,9,20.8v-1.6c0,0-0.4,0.1-0.9,0.1 c-1.4,0-2-1.2-2.1-1.9c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1 c0.4,0,0.7-0.1,0.9-0.2c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6 c0,0,1.4,0,2.8,1.3C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4 c0.7,0.8,1.2,1.8,1.2,3c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v2.6c0,0.3,0.3,0.6,0.7,0.5c3.7-1.5,6.3-5.1,6.3-9.3 C22,6.1,16.9,1.4,10.9,2.1z"></path>
51+
</svg>
52+
</a>
53+
</div>
54+
</div>
55+
<div class="mt-7 overflow-x-auto">
56+
<table class="w-full whitespace-nowrap">
57+
<tbody>
58+
@foreach ($pages as $page)
59+
<tr tabindex="0" class="focus:outline-none h-16 border border-gray-100 rounded">
60+
<td class="">
61+
<div class="flex items-center pl-5">
62+
<p class="text-base font-medium leading-none text-gray-700 mr-2">
63+
{{ $page->page }}
64+
</p>
65+
</div>
66+
</td>
67+
<td class="pl-24">
68+
<div class="flex items-center">
69+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
70+
<path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" />
71+
</svg>
72+
<p class="text-sm leading-none text-gray-600 ml-2">
73+
{{ $page->user->name ?? 'Guest User' }}
74+
</p>
75+
</div>
76+
</td>
77+
<td class="pl-5">
78+
<div class="flex items-center">
79+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" class="w-6 h-6" stroke-width="1.5" viewBox="0 0 50 50">
80+
<path d="M 25 2 C 12.309295 2 2 12.309295 2 25 C 2 37.690705 12.309295 48 25 48 C 37.690705 48 48 37.690705 48 25 C 48 12.309295 37.690705 2 25 2 z M 25 4 C 32.987976 4 39.925645 8.44503 43.476562 15 L 25 15 A 1.0001 1.0001 0 0 0 24.886719 15.005859 C 19.738868 15.064094 15.511666 19.035373 15.046875 24.078125 L 8.0351562 12.650391 C 11.851593 7.4136918 18.014806 4 25 4 z M 6.8242188 14.501953 L 16.476562 30.230469 A 1.0001 1.0001 0 0 0 16.591797 30.388672 A 1.0001 1.0001 0 0 0 16.59375 30.392578 C 18.3752 33.158533 21.474925 35 25 35 C 26.413063 35 27.756327 34.701734 28.976562 34.169922 L 22.320312 45.824219 C 11.979967 44.509804 4 35.701108 4 25 C 4 21.169738 5.0375742 17.591533 6.8242188 14.501953 z M 25 17 C 29.430123 17 33 20.569877 33 25 C 33 26.42117 32.629678 27.751591 31.984375 28.90625 A 1.0001 1.0001 0 0 0 31.982422 28.908203 A 1.0001 1.0001 0 0 0 31.947266 28.966797 C 30.57172 31.37734 27.983486 33 25 33 C 20.569877 33 17 29.430123 17 25 C 17 20.569877 20.569877 17 25 17 z M 30.972656 17 L 44.421875 17 C 45.43679 19.465341 46 22.165771 46 25 C 46 36.609824 36.609824 46 25 46 C 24.842174 46 24.686285 45.991734 24.529297 45.988281 L 33.683594 29.958984 A 1.0001 1.0001 0 0 0 33.742188 29.841797 C 34.541266 28.405674 35 26.755664 35 25 C 35 21.728612 33.411062 18.825934 30.972656 17 z"></path>
81+
</svg>
82+
<p class="text-sm leading-none text-gray-600 ml-2">
83+
{{ $page->browser_name }}
84+
</p>
85+
</div>
86+
</td>
87+
<td class="pl-5">
88+
<div class="flex items-center">
89+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
90+
<path stroke-linecap="round" stroke-linejoin="round" d="M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5l-3.9 19.5m-2.1-19.5l-3.9 19.5" />
91+
</svg>
92+
<p class="text-sm leading-none text-gray-600 ml-2">
93+
{{ $page->ip }}
94+
</p>
95+
</div>
96+
</td>
97+
<td class="pl-5">
98+
<div class="flex items-center">
99+
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="30" height="30" viewBox="0 0 50 50">
100+
<path d="M 46 4.867188 L 4 10.117188 L 4 39.882813 L 46 45.132813 Z M 44 7.132813 L 44 24 L 25 24 L 25 9.507813 Z M 23 9.757813 L 23 24 L 6 24 L 6 11.882813 Z M 6 26 L 23 26 L 23 40.242188 L 6 38.117188 Z M 25 26 L 44 26 L 44 42.867188 L 25 40.492188 Z"></path>
101+
</svg>
102+
<p class="text-sm leading-none text-gray-600 ml-2">
103+
{{ $page->platform }}
104+
</p>
105+
</div>
106+
</td>
107+
<td class="pl-5">
108+
<button class="py-3 px-3 text-sm focus:outline-none leading-none text-blue-700 bg-blue-100 rounded">
109+
{{ $page->created_at->format('Y-m-d H:i') }}
110+
</button>
111+
</td>
112+
<td class="pl-4">
113+
<button class="focus:ring-2 focus:ring-offset-2 focus:ring-red-300 text-sm leading-none text-red-600 py-3 px-5 bg-red-100 rounded hover:bg-red-200 focus:outline-none">
114+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
115+
<path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />
116+
</svg>
117+
</button>
118+
</td>
119+
</tr>
120+
@endforeach
121+
</tbody>
122+
</table>
123+
</div>
124+
</div>
125+
</div>
126+
</body>
127+
</html>

0 commit comments

Comments
 (0)