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
- + + + +
diff --git a/FrontEnd/Library/src/app/addbooks/addbooks.component.html b/FrontEnd/Library/src/app/addbooks/addbooks.component.html index 46d92c01..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; -} - - - -} - - -




-
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); } 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 + + +


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