-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject schedule previous code.txt
More file actions
166 lines (148 loc) · 4.96 KB
/
project schedule previous code.txt
File metadata and controls
166 lines (148 loc) · 4.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" />
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.10.2/fullcalendar.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" />
<!-- Scripts -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
<!-- Styles -->
@livewireStyles
<style>
.links {
display: grid;
grid-template-columns: 87% 13%;
gap: 5px;
align-items: center;
justify-content: center;
margin-bottom: 3rem;
border-bottom: black solid 2px;
}
/* calendar.css */
/* calendar.css */
/* calendar.css */
.space {
width:100%;
height:15px;
background-color: white;
}
body {
margin: 0;
padding: 0;
overflow-x: hidden;
font-family: Arial, sans-serif;
}
.calendar-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height:100vh;
overflow-x: hidden;
}
.calendar {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height:100%;
padding: 10px;
position:relative;
}
.nav-button {
font-size: 24px;
background: none;
border: none;
cursor: pointer;
}
.calendar-horizontal-grid{
position:absolute;
width: 100%;
height:100%;
display:grid;
grid-template-columns: 15% 85%;
top:0;
}
.days-container {
display: flex;
justify-content: flex-start;
overflow-x: scroll;
width:100%;
}
.day {
min-width: 17%;
flex: 1;
line-height: 50px;
text-align: center;
border: 1px solid #ccc;
background-color: #fff;
white-space: nowrap;
}
.left-colomn{
height:100%;
background-color: lightgray;
border: 3px grey solid;
}
.grid-item {
border-top: 1px solid #000; /* Border for each box */
border-bottom: 1px solid #000;
padding: 10px; /* Add spacing inside the box */
margin-top: 10px;
width: 100%;
height: 50px;
background-color: white;
}
.title {
height:50px;
width:100%;
font-size: 2em;
font-weight: bold;
color: #333;
/* background-color: white; */
}
/* Adjust the styles as needed */
</style>
</head>
<body class="font-sans antialiased">
<x-banner />
<div class="min-h-screen bg-gray-100">
@livewire('navigation-menu')
<!-- Page Content -->
<main>
<div class="space"></div>
<div class="calendar-container">
<div class="calendar">
<div class="calendar-horizontal-grid">
<div class="left-colomn">
<div class="title">
<div class="title-month"> August </div>
</div>
@foreach ($users as $user)
<div class="grid-item">
<p>{{$user->name}}</p>
</div>
@endforeach
</div>
<div class="days-container">
@for ($i = 1; $i <= 31; $i++)
<div class="day"> {{ $i }} </div>
@endfor
</div>
</div>
</div>
</div>
</main>
</div>
@stack('modals')
@livewireScripts
</body>
</html>