Skip to content

Commit

Permalink
login and user register updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom George committed Oct 8, 2019
1 parent de7ab8f commit b7cf908
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
3 changes: 2 additions & 1 deletion client/lifecare/src/lifecare-component/cards/login/login.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { Component } from 'react';
import $ from 'jquery';
import UserRegister from '../userRegister/userResigter';
import '../../../lifecare-container/lifecare-container.css';

class Login extends Component {
constructor(props){
Expand Down Expand Up @@ -59,7 +60,7 @@ class Login extends Component {
)
}
return (
<div className="container well">
<div className="container well login-container">
<div className="form-group">
<label for="username">Username</label>
<input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import React, { Component } from 'react';
// import HospitalMain from '../lifecare-component/cards/hospitalmain/hospitalmain.component.js';
import $ from 'jquery';
// import _ from 'lodash';
// import './lifecare-container.css';
// import SearchInput, {createFilter} from 'react-search-input';
// import logo from '../lifecarelogo.png'
// import Footer from '../lifecare-component/footer/footer.component';
// import AdminComponent from '../lifecare-component/cards/admin/AdminComponent';
// import Login from '../lifecare-component/cards/login/login';
// import { Modal,ModalManager,Effect} from 'react-dynamic-modal';
import '../../../lifecare-container/lifecare-container.css';

class UserRegister extends Component {
constructor(props){
Expand Down Expand Up @@ -60,7 +52,7 @@ class UserRegister extends Component {
render () {
const {username, password, confirmPassword} = this.state;
return (
<div className="container well">
<div className="container well login-container">
<div className="form-group">
<label for="username">Username</label>
<input
Expand Down
5 changes: 5 additions & 0 deletions client/lifecare/src/lifecare-container/lifecare-container.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,8 @@ li{
.page-numbers{
text-align: center;
}

.login-container{
width: 450px;
background-color: #f5fcff6b;
}
9 changes: 9 additions & 0 deletions server/appointment.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,15 @@
"contactno": " undefined ",
"patientdate": " Oct 8th 19 ",
"patientslot": " 9:00 A.M. "
},
{
"userId": " 408202321 ",
"patientname": " undefined ",
"patientage": " undefined ",
"patientsex": " undefined ",
"contactno": " undefined ",
"patientdate": " Oct 9th 19 ",
"patientslot": " 3:00 P.M. "
}
]
}
Expand Down

0 comments on commit b7cf908

Please sign in to comment.