Skip to content

Commit c49e894

Browse files
authored
Merge pull request #6 from Achintha444/HCI-yogya
Update post-login page UI
2 parents ff6a78e + 7c620f5 commit c49e894

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

pages/formatdoc.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ export function FormatDocPage(props): JSX.Element {
1616
<tr>
1717
<td>
1818
<span className="admin">
19-
<div style={{ textAlign: 'center' }}>
20-
<table style={{ width: '500px' }}>
19+
<div>
20+
<table style={{width: '500px', paddingLeft:'15px' }}>
2121
<tbody>
22+
<br></br>
2223
<tr>
2324
<td>
2425
Blank lines separate paragraphs.

pages/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function LoginPage(props: ILoginPageProps): JSX.Element {
6767
return (
6868
<LoginLayout>
6969
<div>
70-
{message && <p style={{display: 'flex', justifyContent:'center', alignItems:'center'}}>{message}</p>}
70+
{message && <p style={{display: 'flex', justifyContent:'center', alignItems:'center', color: '#f1080e'}}>{message}</p>}
7171
<br />
7272
<b style={{display: 'flex', justifyContent:'center', alignItems:'center'}}>Login</b>
7373
<br />

pages/user.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,14 @@ function UserPage(props: IUserPageProps): JSX.Element {
7777

7878
if (data?.me && data?.user.id === data.me.id)
7979
return (
80-
<MainLayout currentUrl={router.pathname} isFooterVisible={false}>
80+
<MainLayout currentUrl={router.pathname} isFooterVisible={true}>
8181
<tr>
8282
<td>
8383
<form className="profileform" method="post" action="/xuser">
8484
<input type="hidden" name="id" value="clintonwoo" />
8585
<input type="hidden" name="hmac" value="71104445c3c41b4167c38db67a656e610d5fbad9" />
86-
<table style={{ border: '0px' }}>
86+
<br/>
87+
<table style={{display: 'flex', justifyContent:'center', alignItems:'center', border: '0px'}}>
8788
<tbody>
8889
<tr className="athing">
8990
<td style={{ verticalAlign: 'top' }}>user:</td>
@@ -249,7 +250,10 @@ function UserPage(props: IUserPageProps): JSX.Element {
249250
</tbody>
250251
</table>
251252
<br />
252-
<input type="submit" value="update" />
253+
<br/>
254+
<div style={{display: 'flex', justifyContent:'center', alignItems:'center'}}>
255+
<input type="submit" value="update" />
256+
</div>
253257
</form>
254258
<br />
255259
<br />
@@ -259,10 +263,11 @@ function UserPage(props: IUserPageProps): JSX.Element {
259263
);
260264

261265
return (
262-
<MainLayout currentUrl={router.pathname} isFooterVisible={false}>
266+
<MainLayout currentUrl={router.pathname} isFooterVisible={true}>
263267
<tr>
264268
<td>
265-
<table style={{ border: '0' }}>
269+
<br/>
270+
<table style={{display: 'flex', justifyContent:'center', alignItems:'center', border: '0px'}}>
266271
<tbody>
267272
<tr className="athing">
268273
<td style={{ verticalAlign: 'top' }}>user:</td>

0 commit comments

Comments
 (0)