Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
self-reg-form
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Krish Moodbidri
self-reg-form
Commits
ae0e8c52
Commit
ae0e8c52
authored
3 years ago
by
root
Browse files
Options
Downloads
Patches
Plain Diff
added checkbox to be checked before account creation
parent
700d71e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5297
failed with stage
Stage: lint
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/static/scripts/function.js
+5
-0
5 additions, 0 deletions
app/static/scripts/function.js
app/templates/auth/SignUp.html
+2
-1
2 additions, 1 deletion
app/templates/auth/SignUp.html
with
7 additions
and
1 deletion
app/static/scripts/function.js
+
5
−
0
View file @
ae0e8c52
function
check
()
{
var
submitButton
=
document
.
getElementById
(
"
submit
"
);
submitButton
.
disabled
=
false
;
};
function
displayloading1
()
{
$
(
'
#overlayModal
'
).
modal
(
'
show
'
);
}
...
...
This diff is collapsed.
Click to expand it.
app/templates/auth/SignUp.html
+
2
−
1
View file @
ae0e8c52
...
...
@@ -98,8 +98,9 @@
</div>
<br>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<br><input
class=
"checks"
id =
"agree"
type=
"checkbox"
name=
"agree"
value=
"agree"
onchange=
check()
/>
Agree to proceed
<br/>
<button
class=
"btn btn-danger btn-md"
id=
"cancel"
name=
"cancel"
type=
"button"
onClick=
"renderDom('Account Creation Cancelled','{{ cancel_msg |safe }}', null)"
>
Cancel
</button>
<button
class=
"btn btn-primary btn-md"
id=
"submit"
name=
"submit"
type=
"button"
value=
"Submit"
onclick=
"displayloading1();request_account()"
>
Create Account
</button>
<button
class=
"btn btn-primary btn-md"
disabled
id=
"submit"
name=
"submit"
type=
"button"
value=
"Submit"
onclick=
"displayloading1();request_account()"
>
Create Account
</button>
</div>
</form>
</div>
...
...
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