Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
ae0e8c52
Commit
ae0e8c52
authored
Nov 12, 2021
by
root
Browse files
added checkbox to be checked before account creation
parent
700d71e3
Pipeline
#5297
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/static/scripts/function.js
View file @
ae0e8c52
function
check
()
{
var
submitButton
=
document
.
getElementById
(
"
submit
"
);
submitButton
.
disabled
=
false
;
};
function
displayloading1
()
{
function
displayloading1
()
{
$
(
'
#overlayModal
'
).
modal
(
'
show
'
);
$
(
'
#overlayModal
'
).
modal
(
'
show
'
);
}
}
...
...
app/templates/auth/SignUp.html
View file @
ae0e8c52
...
@@ -98,8 +98,9 @@
...
@@ -98,8 +98,9 @@
</div>
</div>
<br>
<br>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<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-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>
</div>
</form>
</form>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment