Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tamld590 committed Nov 25, 2023
1 parent 8ea5f1b commit c098e7c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.bakaqc.flower.controller;

import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.servlet.RequestDispatcher;
Expand Down
10 changes: 5 additions & 5 deletions src/main/webapp/view/profile.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>User Info</title>
<meta name="description" content="123code.net">
<meta property="og:title" content="123code.net" />
<meta property="og:description" content="123code.net" />
<meta name="description" content="LovePik">
<meta property="og:title" content="LovePik" />
<meta property="og:description" content="LovePik" />


<script type="application/ld+json">
Expand Down Expand Up @@ -100,7 +100,7 @@
</head>

<body style="background-color: antiquewhite">
<%@include file="profile/header.jsp" %>
<%@include file="profile/newjsp.jsp" %>
<section class="py-4 mt-3" style="background-color: white">
<div class="container" style="margin-top: 46px">
<div class="row g-4" method="POST" action="<%=request.getContextPath()%>/profile">
Expand Down Expand Up @@ -146,7 +146,7 @@
<div class="mb-3">
<label class="form-label">Họ tên</label>
<div class="input-group">
<input type="text" name="name" class="form-control" value="username"
<input type="text" name="username" class="form-control" value="username"
placeholder="...">
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/view/profile/header.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="login">User</a>
<a class="dropdown-item" href="<%=request.getContextPath()%>/login">User</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a class="dropdown-item" href="admin">Admin</a>
<a class="dropdown-item" href="<%=request.getContextPath()%>/admin">Admin</a>
</li>
</ul>
</li>
Expand Down
6 changes: 3 additions & 3 deletions src/main/webapp/view/profile/newjsp.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="login">User</a>
<a class="dropdown-item" href="<%=request.getContextPath()%>/login">User</a>
</li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a class="dropdown-item" href="admin">Admin</a>
<a class="dropdown-item" href="<%=request.getContextPath()%>/admin">Admin</a>
</li>
</ul>
</li>
Expand All @@ -73,7 +73,7 @@
<div class="d-block w-100">
<ul class="navbar-nav d-flex justify-content-center align-items-center pt-3 menu">
<li class="nav-item mx-2 ">
<a href="home" class="nav-link listmenu">
<a href="<%=request.getContextPath()%>/home" class="nav-link listmenu">
Trang Chủ
</a>
</li>
Expand Down

0 comments on commit c098e7c

Please sign in to comment.