Make Header.php look better
parent
24ed22e5b8
commit
443d76b639
11
Header.php
11
Header.php
|
@ -10,14 +10,13 @@ $con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr");
|
|||
if (mysqli_connect_errno()) {
|
||||
echo "Failed to connect to MySQL: " . mysqli_connect_error();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<head>
|
||||
|
||||
<title>LRR - Lab Report Repository</title>
|
||||
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
|
@ -26,7 +25,7 @@ if (mysqli_connect_errno()) {
|
|||
and any new css class can be added there.
|
||||
* The reason is to make the css code reusable.
|
||||
* the css file is used by submissions.php
|
||||
-->
|
||||
-->
|
||||
<link href = "./css/main.css" rel = "stylesheet" type = "text/css" />
|
||||
|
||||
<script src="./css/jquery.min.js" type="text/javascript"></script>
|
||||
|
@ -143,9 +142,9 @@ if (mysqli_connect_errno()) {
|
|||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" style="padding-left:150px;padding-right:150px;margin:auto;">
|
||||
<a class="navbar-brand" href="~\..\index.php"> <img src="logo.png" style="width:30px;height:30px;"> LRR </a>
|
||||
|
@ -204,7 +203,7 @@ if (mysqli_connect_errno()) {
|
|||
<script>
|
||||
function updatePass(id) {
|
||||
|
||||
var pass = prompt("Enter your new password : ", "Enter a strong password");
|
||||
const pass = prompt("Enter your new password : ", "Enter a strong password");
|
||||
|
||||
if (!confirm('Are you sure you want to reset your password?')) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue