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
Merge requests
!4
Feat- Parse Shibboleth eduPersonAffiliationValues attribute
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Feat- Parse Shibboleth eduPersonAffiliationValues attribute
feat-shib-eppa
into
feat-account-renewal
Overview
0
Commits
14
Pipelines
5
Changes
3
Open
Krish Moodbidri
requested to merge
feat-shib-eppa
into
feat-account-renewal
3 years ago
Overview
0
Commits
14
Pipelines
5
Changes
3
Expand
Set a valid set of eppa values
Check if user's attributes match with any of the valid set of eppa values
If no match with user's eppa and valid set, redir to shib error page
👍
0
👎
0
Merge request reports
Compare
feat-account-renewal
version 6
ccb1363a
3 years ago
version 5
38dc5060
3 years ago
version 4
38dc5060
3 years ago
version 3
7df02eea
3 years ago
version 2
bee23985
3 years ago
version 1
5943e059
3 years ago
feat-account-renewal (HEAD)
and
latest version
latest version
ccb1363a
14 commits,
3 years ago
version 6
ccb1363a
15 commits,
3 years ago
version 5
38dc5060
14 commits,
3 years ago
version 4
38dc5060
6 commits,
3 years ago
version 3
7df02eea
5 commits,
3 years ago
version 2
bee23985
4 commits,
3 years ago
version 1
5943e059
3 commits,
3 years ago
3 files
+
224
−
5
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
app/templates/errors/certify.html
0 → 100644
+
147
−
0
Options
<html
class=
"gr__rc_uab_edu"
>
<title>
User Certification
</title>
<head>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
integrity=
"sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
crossorigin=
"anonymous"
></script>
<script
src=
"{{ url_for('static', filename='scripts/function.js') }}"
></script>
<script>
console
.
info
(
'
Room ID: {{ room_id }}
'
);
var
socket
=
io
.
connect
();
socket
.
on
(
'
connect
'
,
function
()
{
autofill_form
(
"
{{ username }}
"
,
"
{{ fullname }}
"
,
"
{{ email }}
"
);
socket
.
emit
(
'
join_room
'
,
{
referrer
:
'
{{ referrer }}
'
});
socket
.
on
(
'
certifying account
'
,
function
(
msg
)
{
displayloading2
();
});
socket
.
on
(
'
certified
'
,
function
(
msg
)
{
$
(
'
#myModal2
'
).
modal
(
'
hide
'
);
window
.
location
.
replace
(
'
{{ referrer }}
'
);
});
socket
.
on
(
'
account error
'
,
function
(
msg
)
{
console
.
log
(
msg
);
$
(
'
#myModal2
'
).
modal
(
'
hide
'
);
renderDom
(
"
Account Create Error
"
,
"
{{ error_msg }}
"
,
msg
);
});
});
</script>
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"/public/favicon.ico"
>
<link
rel=
"stylesheet"
media=
"all"
href=
"{{ url_for('static', filename='style/application.css') }}"
>
<link
rel=
"stylesheet"
media=
"all"
href=
"{{ url_for('static', filename='style/app2.css') }}"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<style>
.navbar-inverse
{
background-color
:
rgb
(
0
,
99
,
65
);
}
button
{
margin
:
13px
;
.important
{
color
:
#336699
;
}
}
</style>
</head>
<body
data-gr-c-s-loaded=
"true"
>
<header>
<nav
class=
"navbar navbar-inverse navbar-static-top"
>
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-9"
aria-expanded=
"false"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"/"
>
UAB Research Computing
</a>
</div>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-9"
>
<div
class=
"navbar-right"
>
<ul
class=
"nav navbar-nav"
>
<li>
<a
target=
"_blank"
href=
"https://docs.uabgrid.uab.edu/wiki/Cheaha_GettingStarted"
>
<i
class=
"fas fa-info-circle fa-fw"
></i>
Online Documentation
</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
</header>
<div
class=
"container content"
role=
"main"
style=
"width: 100%"
>
<div
class=
"col-md-2 col-sm-2 my-col"
>
<img
alt=
"logo"
height=
"auto"
width=
"80%"
src=
"{{ url_for('static', filename='img/logo_svg.svg') }}"
>
<a
href=
"https://tinyurl.com/cheahaAL"
target=
"_blank"
></a>
</div>
<div
class=
"col-md-10 col-sm-10 my-col"
>
<div
id=
"form-wrapper"
>
<h2>
Self Certification Form
</h2>
<p
style=
"font-size:110%;"
>
{{ welcome_msg |safe }}
</p>
<div
id=
"user-input"
>
<form
id=
"signup"
data-toggle=
"validator"
role=
"form"
action=
"."
method=
"post"
onsubmit=
""
>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<label
for=
"username"
class=
"control-label"
>
Blazer Id:
</label>
	
<input
id=
"username"
class=
"form-control"
placeholder=
"Enter Username"
required
><br>
</div>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<label
for=
"fullname"
class=
"control-label"
>
Full Name:
</label>
	
<input
id=
"fullname"
class=
"form-control"
placeholder=
"Enter Full Name"
required
><br>
</div>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<label
for=
"email"
class=
"control-label"
>
Email:
</label>
	
<input
id=
"email"
class=
"form-control"
placeholder=
"Enter Email"
required
><br>
</div>
<br>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<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();certify_account()"
>
Certify Account
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"overlayModal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
data-backdrop=
"static"
data-keyboard=
"false"
>
<div
class=
"modal-dialog modal-sm"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
Account Certification Request Received!
</h4>
</div>
<div
class=
"modal-body"
>
<span>
Communicating this information to the server
</span>
<img
src=
"{{ url_for('static', filename='img/loading.gif') }}"
width=
"40px"
>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"myModal2"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
data-backdrop=
"static"
data-keyboard=
"false"
>
<div
class=
"modal-dialog modal-sm"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
Account Certification Received!
</h4>
</div>
<div
class=
"modal-body"
>
<span>
Sit tight while we certify your account.
</span>
<img
src=
"{{ url_for('static', filename='img/loading.gif') }}"
width=
"40px"
>
</div>
</div>
</div>
</div>
<footer>
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"col-md-6 col-sm-6"
>
<a
href=
"https://osc.github.io/Open-OnDemand/"
>
<img
class=
"footer-logo"
alt=
"Powered by Open OnDemand"
height=
"40"
style=
"margin-bottom: 20px"
src=
"{{ url_for('static', filename='img/OpenOnDemand_powered_by_RGB-cb3aad5ff5350c7994f250fb334ddcc72e343233ce99eb71fda93beddd76a847.svg') }}"
>
</a>
</div>
</div>
</div>
</footer>
</body>
</html>
Loading