Skip to content
Snippets Groups Projects
Commit 6577f8e7 authored by Akmal Fadlurohman's avatar Akmal Fadlurohman
Browse files

Memperbaiki css frame

parents 343391c2 e4cb031f
1 merge request!45OneHundred - 13515005 - Husnulzaki Wibisono Haryadi
.frame {
height: 550px;
width: 360px;
height: 450px;
margin: 50px auto;
border: 0.5px solid black;
padding-left: 20px;
padding-right: 20px;
padding-left: 20px;
border-top: 0.5px solid black;
border-bottom: 0.5px solid black;
border-left: 0.5px solid black;
border-right: 0.5px solid black;
font-family: calibri light;
}
.frame h1,h2 {
text-align: center;
font-family: franklin gothic;
}
.button {
......@@ -51,6 +56,24 @@ a:hover {
.menu {
border: 0.5px solid black;
width: 199px;
width: 119px;
float: left;
<<<<<<< HEAD
}
=======
text-align: center;
font-family: calibri;
}
.menu > h3 {
margin-top: 5%;
margin-bottom: 5%
}
.menu_container {
background-color: red;
width: 360px;
margin-left: auto;
margin-right: auto;
}
>>>>>>> e4cb031f91cc3a69608d1c077166b3a49967d20f
.header {
border-bottom-style: solid;
height: 55px;
}
.logo {
......@@ -24,8 +23,3 @@
margin: 0 ;
margin-top: 10px;
}
/*.menu {
text-align: center;
background-color: rgb(65,62,119);
height: 20px;
}*/
......@@ -2,30 +2,28 @@
<html>
<head>
<title>U Wanna Call Me Beibh?</title>
<link rel="stylesheet" type="text/css" href="../css/main.css">
<link rel="stylesheet" type="text/css" href="../css/default_style.css">
<link rel="stylesheet" type="text/css" href="../css/order.css">
<script type="text/javascript">
function setURL(url) {
document.getElementById('content_iframe').src = url;
}
</script>
<link rel="stylesheet" type="text/css" href="../css/header.css">
</head>
<body>
<<<<<<< HEAD
<div class="frame">
<p>Order</p>
<div class="frame" id="container">
<div class="button" id="first">
<input type="button" name="select_location" onclick="setURL('select_location.html')" >
<div class="header">
<?php
$user_id = $_GET['id'];
include '../database/dbconnect.php';
$query=mysqli_query($con,"SELECT * FROM user WHERE user_id='".$user_id."'") or die(mysqli_error());
if(mysqli_num_rows($query)!=0)
{
$row=mysqli_fetch_assoc($query);
$username = $row['username'];
include("../template/header.php");
}
mysqli_close($con);
?>
</div>
<div class="button" id="second">
<input type="button" name="select_driver" onclick="setURL('select_driver.html')">
</div>
<div class="button" id="third">
<input type="button" name="complete_order" onclick="setURL('complete_order.html')">
</div>
<iframe id="content_iframe" src=""/>
</div>
</body>
</html>
......@@ -26,7 +26,7 @@
mysqli_close($con);
?>
</div>
<div style="background-color: white; max-width: 600px; margin-left: auto; margin-right: auto">
<div class="menu_container">
<?php include'../template/menu.php';?>
</div>
<div class="profile_container">
......
<?php
echo '
<a href="order/order.php" name="order_link">
<a href="../order/order.php?id='. $user_id .'" name="order_link">
<div class="menu" id="order_link">
<h2>Order</h2>
<h3>ORDER</h3>
</div>
</a>
<a href="history/history.php" name="history_link">
<a href="../history/history.php?id='. $user_id .'" name="history_link">
<div class="menu" id="history_link">
<h2>History</h2>
<h3>HISTORY</h3>
</div>
</a>
<a href="profile/profile.php" name="profile_link">
<a href="../profile/profile.php?id='. $user_id .'" name="profile_link">
<div class="menu" id="profile_link">
<h2>My Profile</h2>
<h3>MY PROFILE</h3>
</div>
</a>
';
......
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