+ availability
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
padding: 20px;
|
||||
}
|
||||
header {
|
||||
background-color: #4a4a4a;
|
||||
background-color: #4a148c;
|
||||
color: white;
|
||||
padding: 15px 20px;
|
||||
display: flex;
|
||||
@@ -26,10 +26,6 @@
|
||||
margin-bottom: 25px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
header h1 {
|
||||
margin: 0;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
nav a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
@@ -39,7 +35,7 @@
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
nav a:hover {
|
||||
background-color: #5a5a5a;
|
||||
background-color: #6a1b9a;
|
||||
}
|
||||
main {
|
||||
background: white;
|
||||
@@ -47,13 +43,9 @@
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
||||
}
|
||||
h1, h2, h3 {
|
||||
color: #2d2d2d;
|
||||
margin-top: 0;
|
||||
}
|
||||
.btn {
|
||||
display: inline-block;
|
||||
background-color: #6c757d;
|
||||
background-color: #4a148c;
|
||||
color: white;
|
||||
padding: 8px 16px;
|
||||
text-decoration: none;
|
||||
@@ -63,37 +55,14 @@
|
||||
font-size: 0.95rem;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
.btn:hover {
|
||||
background-color: #5a6268;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 20px 0;
|
||||
}
|
||||
th, td {
|
||||
padding: 12px 15px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #eaeaea;
|
||||
}
|
||||
th {
|
||||
background-color: #f1f1f1;
|
||||
font-weight: 600;
|
||||
color: #444;
|
||||
}
|
||||
tr:hover {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.alert {
|
||||
padding: 12px;
|
||||
margin: 16px 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.alert-success {
|
||||
background-color: #e0f0e0;
|
||||
color: #2d5d2d;
|
||||
border-left: 4px solid #4caf50;
|
||||
}
|
||||
.btn:hover { background-color: #6a1b9a; }
|
||||
.btn-secondary { background-color: #7b1fa2; }
|
||||
.btn-secondary:hover { background-color: #9c27b0; }
|
||||
.btn-danger { background-color: #000000; }
|
||||
.btn-danger:hover { background-color: #212121; }
|
||||
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
|
||||
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eaeaea; }
|
||||
th { background-color: #f1f1f1; font-weight: 600; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -102,17 +71,17 @@
|
||||
<nav>
|
||||
<a href="{{ route('admin.hotels.index') }}">Отели</a>
|
||||
<form action="{{ route('admin.logout') }}" method="POST" style="display: inline;">
|
||||
@csrf
|
||||
<button type="submit" style="background: none; border: none; color: white; cursor: pointer; padding: 6px 12px; border-radius: 4px;">
|
||||
Выйти
|
||||
</button>
|
||||
</form>
|
||||
@csrf
|
||||
<button type="submit" style="background: none; border: none; color: white; cursor: pointer;">Выйти</button>
|
||||
</form>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
@if(session('success'))
|
||||
<div class="alert alert-success">{{ session('success') }}</div>
|
||||
<div style="padding:12px;background:#e0f0e0;color:#2d5d2d;border-left:4px solid #4caf50;margin:16px 0;border-radius:4px;">
|
||||
{{ session('success') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@yield('content')
|
||||
|
||||
Reference in New Issue
Block a user