Skip to content
Snippets Groups Projects
Commit 01a42af1 authored by Husnulzaki Wibisono Haryadi's avatar Husnulzaki Wibisono Haryadi
Browse files

Modify header and menu template

parent 29d472cf
1 merge request!45OneHundred - 13515005 - Husnulzaki Wibisono Haryadi
...@@ -46,8 +46,8 @@ a:hover { ...@@ -46,8 +46,8 @@ a:hover {
opacity: 0.6%; opacity: 0.6%;
} }
/*.menu { .menu {
border: 0.5px solid black; border: 0.5px solid black;
width: 200px; width: 199px;
float: left; float: left;
}*/ }
\ No newline at end of file \ No newline at end of file
.header { .header {
border-bottom-style: solid; border-bottom-style: solid;
height: 10%; height: 55px;
} }
.logo { .logo {
float: left; float: left;
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
margin: 0 ; margin: 0 ;
margin-top: 10px; margin-top: 10px;
} }
.menu { /*.menu {
text-align: center; text-align: center;
background-color: rgb(65,62,119); background-color: rgb(65,62,119);
height: 20px; height: 20px;
} }*/
...@@ -90,3 +90,6 @@ input.upload_file { ...@@ -90,3 +90,6 @@ input.upload_file {
height: 17px; height: 17px;
width: 100px; width: 100px;
} }
#profile_link {
background-color: #465d43;
}
\ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
mysqli_close($con); mysqli_close($con);
?> ?>
</div> </div>
<div class="menu"> <div style="background-color: white; max-width: 600px; margin-left: auto; margin-right: auto">
<?php include'../template/menu.php';?> <?php include'../template/menu.php';?>
</div> </div>
<div class="profile_container"> <div class="profile_container">
......
<?php <?php
echo ' echo '
<div style="background-color: white; max-width: 600px; margin-left: auto; margin-right: auto"> <a href="order/order.php" name="order_link">
<a href="order/order.php" name="order_link"> <div class="menu" id="order_link">
<div style="background-color: red; width: 200px; float: left"> <h2>Order</h2>
<h2>Order</h2> </div>
</div> </a>
</a> <a href="history/history.php" name="history_link">
<a href="history/history.php" name="history_link"> <div class="menu" id="history_link">
<div style="background-color: green; width: 200px; float: left"> <h2>History</h2>
<h2>History</h2> </div>
</div> </a>
</a> <a href="profile/profile.php" name="profile_link">
<a href="profile/profile.php" name="profile_link"> <div class="menu" id="profile_link">
<div style="background-color: yellow; width: 200px; float: left"> <h2>My Profile</h2>
<h2>My Profile</h2> </div>
</div> </a>
</a>
</div>
'; ';
?> ?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment