From 9f7fc4fdb798110da12376e86e71cbba273b4942 Mon Sep 17 00:00:00 2001 From: Rorschach-ar Date: Mon, 30 Jan 2023 11:18:22 +0530 Subject: [PATCH 1/4] baseurl --- .../src/app/addbooks/addbooks.component.html | 32 ++----------------- FrontEnd/Library/src/app/borrow.service.ts | 6 ++-- 2 files changed, 6 insertions(+), 32 deletions(-) diff --git a/FrontEnd/Library/src/app/addbooks/addbooks.component.html b/FrontEnd/Library/src/app/addbooks/addbooks.component.html index 46d92c01..9f0b132d 100644 --- a/FrontEnd/Library/src/app/addbooks/addbooks.component.html +++ b/FrontEnd/Library/src/app/addbooks/addbooks.component.html @@ -121,12 +121,9 @@ itemsPerPage: tableSize, currentPage: page, totalItems: count - }; - - - "> + };"> -{{books.category.categoryName}} + {{books.category.categoryName}} {{books.publication}} {{books.booksName}} {{books.auther}} @@ -147,30 +144,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/FrontEnd/Library/src/app/borrow.service.ts b/FrontEnd/Library/src/app/borrow.service.ts index f1df94e7..e0b34238 100644 --- a/FrontEnd/Library/src/app/borrow.service.ts +++ b/FrontEnd/Library/src/app/borrow.service.ts @@ -18,7 +18,9 @@ export class BorrowService { return _window(); } - apiurl='http://localhost:8080'; + // apiurl='http://localhost:8080'; + + baseUrl=environment.apiUrl; accesstocken:any constructor(private http:HttpClient,private router:Router) { } @@ -83,7 +85,7 @@ handleError(err: HttpErrorResponse): any { //user LoadByIssueDateUser(date1:any,date2:any){ - return this.http.get(this.apiurl + "/borrow/user/loadByIssueDateUser/"+date1+"/"+date2); + return this.http.get(this.baseUrl + "/borrow/user/loadByIssueDateUser/"+date1+"/"+date2); } From 90b05ed5699709e4bd2ceebaeb009a944a5c0a1c Mon Sep 17 00:00:00 2001 From: Rorschach-ar Date: Mon, 30 Jan 2023 11:50:04 +0530 Subject: [PATCH 2/4] addbook --- .../src/app/addbooks/addbooks.component.html | 67 +++++++++---------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/FrontEnd/Library/src/app/addbooks/addbooks.component.html b/FrontEnd/Library/src/app/addbooks/addbooks.component.html index 9f0b132d..7a23c8ee 100644 --- a/FrontEnd/Library/src/app/addbooks/addbooks.component.html +++ b/FrontEnd/Library/src/app/addbooks/addbooks.component.html @@ -1,41 +1,6 @@ -@media only screen and (max-width: 620px) { - /* For mobile phones: */ - .right { - width: 87%; - - } - /* .form-control{ - top:15%; - } -*/ - .csvv{ - position: relative; - left: 8%; - top:65px; - } - - .centered{ - top: 18%; - left:45%; - } -.mat-dialog-container{ -margin-left: 20%; -} - -.form-control{ - width: 30vh; -} - - - -} - - -




-
@@ -121,9 +86,12 @@ itemsPerPage: tableSize, currentPage: page, totalItems: count - };"> + }; + + + "> - {{books.category.categoryName}} +{{books.category.categoryName}} {{books.publication}} {{books.booksName}} {{books.auther}} @@ -144,5 +112,30 @@
+ +
+ + + + + + + + + + + + + + + + + + + + + + + From 365311d201f0f5b4a81181e6de5c91b03fea868c Mon Sep 17 00:00:00 2001 From: Rorschach-ar Date: Mon, 30 Jan 2023 11:51:57 +0530 Subject: [PATCH 3/4] Accept request --- .../acceptrequest.component.html | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/FrontEnd/Library/src/app/acceptrequest/acceptrequest.component.html b/FrontEnd/Library/src/app/acceptrequest/acceptrequest.component.html index 3b1c6c66..cfa4bded 100644 --- a/FrontEnd/Library/src/app/acceptrequest/acceptrequest.component.html +++ b/FrontEnd/Library/src/app/acceptrequest/acceptrequest.component.html @@ -1,12 +1,14 @@ + +
+

+ -
- -
-
Return Date      
- +
+ @@ -15,11 +17,10 @@
- -


- -
+ Return Date Return Date is required
- + + + +
From 88339deb3cfac58854c28f9c94ebba62e11d4a2e Mon Sep 17 00:00:00 2001 From: Rorschach-ar Date: Mon, 30 Jan 2023 11:58:25 +0530 Subject: [PATCH 4/4] user reg --- .../src/app/user-reg/user-reg.component.html | 164 +++++++----------- 1 file changed, 66 insertions(+), 98 deletions(-) diff --git a/FrontEnd/Library/src/app/user-reg/user-reg.component.html b/FrontEnd/Library/src/app/user-reg/user-reg.component.html index 46611779..9118decd 100644 --- a/FrontEnd/Library/src/app/user-reg/user-reg.component.html +++ b/FrontEnd/Library/src/app/user-reg/user-reg.component.html @@ -1,108 +1,76 @@ - - + - -
-
- -

-
-
- -
- - Firstname - is required - Firstname - Should be Characters - Firstname - must be less than 30 -

- -
- - Lastname - is required +
+ + +

+
+
+ +
+ + Firstname is required + Firstname Should be Characters + Firstname must be less than 30

+
+ + Lastname is required +

+ +
+ + Date-of-birth is required + +

+
+ + Address is required +

+
+ + Phone n.o is required +

+
- - Date-of-birth - is required -

-
- - Address - is required -

-
- - Phone - n.o is required -

- -
- - pswd - is required
use (uppercase,lowercase & numbers)
minimum 8 character
-
-

- + + pswd is required + use alphanumeric & special characters   + minimum 8 character +

- - - Email - is required - - -


- - - -     - - - -
- - - -
- + + + Email is required + + +


+ + + +     + + +
+ + + +
+