-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created layout.phtml, update index.php and all forms
- Loading branch information
Showing
5 changed files
with
88 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Анализатор страниц</title> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
</head> | ||
<body class="min-vh-100 d-flex flex-column"> | ||
<header class="flex-shrink-0"> | ||
<nav class="navbar navbar-expand-md navbar-dark bg-dark px-3"> | ||
<a class="navbar-brand" href="/">Анализатор страниц</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" | ||
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="/">Главная</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="/urls">Сайты</a> | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
</nav> | ||
</header> | ||
<?php if (count($flash) > 0) : ?> | ||
<?php foreach ($flash as $messages) : ?> | ||
<?php foreach ($messages as $message) : ?> | ||
<div class="alert alert-<?= $alert ?>" role="alert"><?= $message ?></div> | ||
<?php endforeach ?> | ||
<?php endforeach ?> | ||
<?php endif ?> | ||
|
||
<?= $content ?> | ||
|
||
<footer class="border-top py-3 mt-5 flex-shrink-0"> | ||
<div class="container-lg"> | ||
<div class="text-center"> | ||
<a href="https://hexlet.io/pages/about" target="_blank">Hexlet</a> | ||
</div> | ||
</div> | ||
</footer> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters