Commit b4591d73 authored by Erma Safira Nurmasyita's avatar Erma Safira Nurmasyita
parents bdb9d221 59e8e8e1
......@@ -18,6 +18,7 @@ class Header {
<link rel="stylesheet" type="text/css" href="../css/header.css">
<link rel="stylesheet" type="text/css" href="../css/color-lib.css">
<link rel="stylesheet" type="text/css" href="../css/basic.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../css/'.$cssName.'.css">
</head>
';
......@@ -31,6 +32,7 @@ class Header {
<link rel="stylesheet" type="text/css" href="../css/color-lib.css">
<link rel="stylesheet" type="text/css" href="../css/basic.css">
<link rel="stylesheet" href="../css/'.$cssName.'.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="../javascript/'.$jsName.'.js"></script>
</head>
';
......
......@@ -225,4 +225,17 @@ a {
#rightbar-pic > div {
margin-block-end: 10px;
}
.dont-break-out {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
\ No newline at end of file
......@@ -8,6 +8,10 @@
padding-top: 2.5%;
}
h1 {
font-family: "Nunito Bold" !important;
}
.right{
flex-basis: 90%;
align-content: left;
......@@ -81,6 +85,7 @@
position: relative;
margin-left: 10px;
display: inline-block;
overflow: hidden;
}
.btn {
......@@ -126,6 +131,7 @@ input[type=file]{
.profpict_dummy{
width: 500px;
}
input[type=text]{
width: 625px;
font-family: 'Arial';
......
......@@ -43,11 +43,17 @@
echo "<div class=\"right\">" ;
echo "<p>Update profile picture</p>" ;
echo "<input id=\"profpict_dummy\" class=\"profpict_dummy\"type=\"text\" name=\"profile_picture2\" readonly>" ;
echo "<div class=\"upload-btn-wrapper\">" ;
echo "<button class=\"btn\">Browse ...</button>" ;
echo "<input id=\"profpict\" type=\"file\" name=\"profile_picture\" accept=\"image/png, image/jpg, image/jpeg\" onchange=\"showname()\" >" ;
echo "</div>" ;
echo '
<div class="flex-container">
<input id="profpict_dummy" class="profpict_dummy"type="text" name="profile_picture2" readonly>
<div class="upload-btn-wrapper">
<button class="btn">Browse ...</button>
<input id="profpict" type="file" name="profile_picture" accept="image/png, image/jpg, image/jpeg" onchange="showname()" >
</div>
</div>
';
echo "</div>" ;
echo "</div>" ;
......
......@@ -53,7 +53,7 @@ class historyView {
<div class="font-weight-bold text-size-20 gray-text">Nomor Order : #'.$data['orderNumber'].'</div>
</div>
<div class="flex-container add-flex-end-justify ">
<a href="'.$data['reviewUrl'].'" class="c-button light-blue c-round">Review</a>
<a href="review?id='.$data['orderNumber'].'" class="c-button light-blue c-round">Review</a>
</div>
</div>
</div>
......
......@@ -26,28 +26,28 @@ function viewProfile (array $params) {
Your browser does not support SVG
</object>
<div class="flex-1">Username</div>
<div class="flex-2">@'.$params['username'].'</div>
<div class="dont-break-out flex-2">@'.$params['username'].'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/mail.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Email</div>
<div class="flex-2">'.$params['email'].'</div>
<div class="dont-break-out flex-2">'.$params['email'].'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/home.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Address</div>
<div class="flex-2">'.$params['address'].'</div>
<div class="dont-break-out flex-2">'.$params['address'].'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/phone.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Phone Number</div>
<div class="flex-2">'.$params['phone'].'</div>
<div class="dont-break-out flex-2">'.$params['phone'].'</div>
</div>
</div>
';
......
Markdown is supported
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