Skip to content
Snippets Groups Projects
Commit d78584dc authored by Raghav's avatar Raghav
Browse files

Head tag separated to head.php

parent 57507d64
No related branches found
No related tags found
No related merge requests found
<head>
<script src="/photogram-project-php/assets/js/color-modes.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.122.0">
<title>Album example · Bootstrap v5.3</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/album/">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
<link href="/photogram-project-php/assets/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Style for login forms -->
<link href="/photogram-project-php/assets/dist/css/login-in.css" rel="stylesheet">
</head>
\ No newline at end of file
<header data-bs-theme="dark">
<!-- Header content -->
<div class="collapse text-bg-dark" id="navbarHeader">
<div class="container">
......@@ -17,6 +18,7 @@
</div>
</div>
</div>
<!-- Header Bar -->
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container">
......@@ -28,4 +30,5 @@
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
\ No newline at end of file
</div>
</header>
\ No newline at end of file
......@@ -3,6 +3,7 @@
$username = $_POST['email'];
$password = $_POST['password'];
$validate = validate_credentials($username, $password);
if($validate){?>
<!-- If it is true is display true page -->
<main class="container">
......
......@@ -5,24 +5,11 @@ include 'libs/load.php';
<!doctype html>
<html lang="en" data-bs-theme="auto">
<head><script src="/photogram-project-php/assets/js/color-modes.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.122.0">
<title>Album example · Bootstrap v5.3</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/album/">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
<link href="/photogram-project-php/assets/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
<!-- To load head -->
<?load_template('head')?>
<body>
<!-- Style for toggle button -->
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
......@@ -99,11 +86,7 @@ include 'libs/load.php';
.bd-mode-toggle .dropdown-menu .active .bi {
display: block !important;
}
</style>
</head>
<body>
</style>
<!-- To change dark to light mode -->
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="check2" viewBox="0 0 16 16">
......@@ -156,12 +139,9 @@ include 'libs/load.php';
</ul>
</div>
<header data-bs-theme="dark">
<!--To load header file from template -->
<?load_template('header')?>
</header>
<main>
......
......@@ -5,28 +5,11 @@ include 'libs/load.php';
<!doctype html>
<html lang="en" data-bs-theme="auto">
<head><script src="/photogram-project-php/assets/js/color-modes.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.122.0">
<title>Login Page</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/album/">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
<link href="/photogram-project-php/assets/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Style for login forms -->
<link href="/photogram-project-php/assets/dist/css/login-in.css" rel="stylesheet">
<style>
<!-- To load head -->
<?load_template('head')?>
<body>
<!-- Style for toggle button -->
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
......@@ -103,11 +86,7 @@ include 'libs/load.php';
.bd-mode-toggle .dropdown-menu .active .bi {
display: block !important;
}
</style>
</head>
<body>
</style>
<!-- To change dark to light mode -->
<svg xmlns="http://www.w3.org/2000/svg" class="d-none">
<symbol id="check2" viewBox="0 0 16 16">
......@@ -161,11 +140,10 @@ include 'libs/load.php';
</div>
<header data-bs-theme="dark">
<!--To load header file from template -->
<?load_template('header')?>
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment