Compare commits

..

4 Commits

Author SHA1 Message Date
victorAnumudu e9bc1c1318 added login input fields max length 2025-09-13 16:47:18 +01:00
ameye 2543a91b19 Merge branch 'profile-name-fix' of MERMS/MermsPanelReactJS into master 2025-09-08 21:34:30 +00:00
victorAnumudu 4c38b0a31f profile name fixed 2025-09-08 22:30:18 +01:00
ameye 6ed396a34c Merge branch 'profile-settings' of MERMS/MermsPanelReactJS into master 2025-09-08 20:45:21 +00:00
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -93,13 +93,13 @@ export default function Login() {
<div className="col-12">
<div className="form-group">
<label className="control-label text-black fw-bold">User Name*</label>
<input maxLength={55} name='username' value={fields.username} onChange={handleChange} type="text" className="form-control" placeholder="Username" />
<input maxLength={25} name='username' value={fields.username} onChange={handleChange} type="text" className="form-control" placeholder="Username" />
</div>
</div>
<div className="col-12">
<div className="form-group">
<label className="control-label text-black fw-bold">Password*</label>
<input maxLength={55} name='password' value={fields.password} onChange={handleChange} type="password" className="form-control" placeholder="Password" />
<input maxLength={25} name='password' value={fields.password} onChange={handleChange} type="password" className="form-control" placeholder="Password" />
</div>
</div>
<div className="col-12">
+2 -2
View File
@@ -52,7 +52,7 @@ export default function Settings() {
const data = profileInfo?.data
setInitialData({external_links: data?.external_links, personal_data: data?.personal_data})
},[profileInfo])
console.log('INI', intialData)
// console.log('INI', intialData)
const updateProfile = (values, helpers) => {
@@ -101,7 +101,7 @@ export default function Settings() {
className="img-fluid" alt="user"/>
</div>
<div className="profile pt-4">
<h4 className="mb-1">Alice Williams</h4>
<h4 className="mb-1">{intialData?.personal_data?.lastname} {intialData?.personal_data?.firstname}</h4>
<div style={{padding: '10px'}}>
<hr/>
</div>
+1 -1
View File
@@ -32,7 +32,7 @@ export default function Traffic() {
</div>
<div className="card-body">
<div className="apexchart-wrapper">
{/* <TrafficChart /> */}
<TrafficChart />
</div>
</div>
</div>