Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CD-CODE Web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CD-CODE team
CD-CODE Web
Commits
04e48b5d
Commit
04e48b5d
authored
3 years ago
by
raghosh
Browse files
Options
Downloads
Patches
Plain Diff
sign up page giving success message before registration. fixed the issue.
parent
1a0d2356
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
web/src/components/js/const.js
+4
-4
4 additions, 4 deletions
web/src/components/js/const.js
web/src/views/Profile.vue
+10
-2
10 additions, 2 deletions
web/src/views/Profile.vue
web/src/views/SignUp.vue
+2
-1
2 additions, 1 deletion
web/src/views/SignUp.vue
with
16 additions
and
7 deletions
web/src/components/js/const.js
+
4
−
4
View file @
04e48b5d
export
const
host
=
'
/api
'
;
// export const devHost = '/api';
//
export const apiHost = '/cms';
export
const
apiHost
=
'
/cms
'
;
// export const devApiHost = '/cms';
export
const
devHost
=
'
https://dev.ddcode.org/api
'
;
//
export const devHost = 'http://localhost:5001';
export
const
apiHost
=
'
http://localhost:1337
'
;
//
export const devHost = 'https://dev.ddcode.org/api';
export
const
devHost
=
'
http://localhost:5001
'
;
//
export const apiHost = 'http://localhost:1337';
export
const
devApiHost
=
'
http://localhost:1337
'
;
// apikey should be give here:
...
...
This diff is collapsed.
Click to expand it.
web/src/views/Profile.vue
+
10
−
2
View file @
04e48b5d
...
...
@@ -98,7 +98,15 @@
"
>
Profile Link
</a
>
<!--
<a
href=
"#"
@
click=
"openChangePassword"
class=
"text-gray-700 block px-6 py-2 text-2xl hover:bg-gray-400 hover:text-white hover:no-underline"
>
Password
</a>
-->
<!--
<a
href=
"#"
@
click=
"openChangePassword"
class=
"text-gray-700
block
px-6
rounded-lg
py-4
text-2xl
hover:bg-gray-400
hover:text-white
hover:no-underline"
>
Password
</a>
-->
</div>
</div>
</div>
...
...
@@ -518,7 +526,7 @@ export default {
},
});
//
console.log(res.data)
console
.
log
(
res
.
data
)
;
this
.
error
=
false
;
this
.
toasterIsOpen
=
true
;
this
.
selected
=
[];
...
...
This diff is collapsed.
Click to expand it.
web/src/views/SignUp.vue
+
2
−
1
View file @
04e48b5d
...
...
@@ -116,7 +116,7 @@ export default {
},
async
register
(
e
)
{
const
vm
=
this
vm
.
toasterIsOpen
=
true
;
e
.
preventDefault
()
...
...
@@ -135,6 +135,7 @@ try {
current_role
:
vm
.
current_role
,
scientific_discipline
:
vm
.
scientific_discipline
})
vm
.
toasterIsOpen
=
true
;
//vm.$router.push('login')
}
catch
(
e
)
{
// console.error(e)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment