Skip to content

Commit

Permalink
Navbar Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyfly2 committed Oct 6, 2019
1 parent af4628e commit e0b8214
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
7 changes: 6 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ h1,h2,h3,h4,h5,h6{
font-family: 'Source Sans Pro', sans-serif;
}


a{
font-size: 25px; font-family: 'Manjari', sans-serif;
}
footer{
position: relative;
}
Expand All @@ -11,3 +13,6 @@ body{
background-color: #CCC;
}

.scroll{

}
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>myLife - Login</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.css"/>
<link href="https://fonts.googleapis.com/css?family=Manjari&display=swap" rel="stylesheet">
Expand Down
17 changes: 10 additions & 7 deletions pages/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>myLife - Dashboard</title>
<link rel="stylesheet" href="../css/styles.css"/>


<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.css"/>
<link rel="stylesheet" href="../css/styles.css"/>
<link href="https://fonts.googleapis.com/css?family=Manjari&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins|Source+Sans+Pro&display=swap" rel="stylesheet">
<title>myLife - Dashboard</title>

<script>if (typeof (fg_widgets) === "undefined") fg_widgets = new Array(); fg_widgets.push("fgid_4ce1c6051896d3eeb7bb3808d");</script>
<script async src="https://www.feedgrabbr.com/widget/fgwidget.js"></script>
</head>
<body style="background-color: #CCC;">
<nav class="navbar navbar-expand-lg navbar-light bg-success" style="height: 85px;">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#responsivenav" aria-controls="responsivenav" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#responsivenav" aria-controls="responsivenav" aria-expanded="false" aria-label="Toggle navigation" onclick="document.getElementById('content').style.paddingTop = getElementById('content').style.paddingTop === '300px' ? '5%' : '300px'">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand mt-auto" style="font-family: 'Manjari', sans-serif; font-size: 42px; color: white;" href="dashboard.php">myLife</a>
Expand All @@ -48,7 +50,7 @@
</div>
</nav>

<div class="container px-5" id="content" style="background-color: white; padding-top: 5%;">
<div class="container px-5" id="content" style="background-color: white; padding-top: 5%; ">
<div class="row">
<div class="col-sm-12">
<h1 style="font-size: 50px;">Hello, <?php echo $_SESSION['firstname']; ?></h1>
Expand All @@ -60,12 +62,13 @@
die('Error: ' . mysqli_error($link));
}
list($sdate) = mysqli_fetch_array($result);
$date=substr($sdate, 5, 6);
$ndate=substr($sdate, 5, 6);
$year=substr($sdate, 0, 4);
echo $date; echo '-'; echo $year;?></h3>
$date=substr($ndate, 0, 5);
echo $date . '-' . $year;?></h3>
</div>
<div class="col-lg-6 col-sm-12">
<div class="card border-success mb-5" style="border-width: 4px;">
<div class="card border-success mb-5" style="border-width: 4px; max-height:500px; overflow-y: auto;">
<div class="card-header">
<h2>Daily Rundown</h2>
</div>
Expand Down
1 change: 1 addition & 0 deletions pages/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>myLife - Register</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.css"/>
<link href="https://fonts.googleapis.com/css?family=Manjari&display=swap" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</head>
<body style="background-color: #CCC;">
<nav class="navbar navbar-expand-lg navbar-light bg-success" style="height: 85px;">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#responsivenav" aria-controls="#responsivenav" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#responsivenav" aria-controls="responsivenav" aria-expanded="false" aria-label="Toggle navigation" onclick="document.getElementById('content').style.paddingTop = getElementById('content').style.paddingTop === '300px' ? '5%' : '300px'">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand mt-auto" style="font-family: 'Manjari', sans-serif; font-size: 42px; color: white;" href="dashboard.php">myLife</a>
Expand Down

0 comments on commit e0b8214

Please sign in to comment.