-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.php
More file actions
52 lines (46 loc) · 2.23 KB
/
Copy pathprofile.php
File metadata and controls
52 lines (46 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
include_once __DIR__ . '/bootstrap.php';
include_once __DIR__ . '/auth/common.php';
$success = isset($_GET['success']) ? $_GET['success'] : '';
$error = isset($_GET['error']) ? $_GET['error'] : '';
$appRoot = ar_web_root();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Profile Settings</title>
<?php include_once __DIR__ . '/includes/styles_and_scripts.php'; ?>
</head>
<body>
<?php require_once __DIR__ . '/includes/shared-shell.php'; audio_recorder_render_header(); ?>
<main class="container py-5">
<div class="row justify-content-center">
<div class="col-12 col-lg-8">
<section class="card shadow-sm">
<div class="card-body p-4 p-md-5">
<p class="text-uppercase text-muted fw-bold small mb-2">Account</p>
<h1 class="h3 mb-3">Profile Settings</h1>
<div class="note">Signed in as <strong><?php echo htmlspecialchars($name); ?></strong> (<?php echo htmlspecialchars($netid); ?>)</div>
<?php if ($success !== '') { ?><div class="alert alert-success mt-3 mb-0"><?php echo htmlspecialchars($success); ?></div><?php } ?>
<?php if ($error !== '') { ?><div class="alert alert-danger mt-3 mb-0"><?php echo htmlspecialchars($error); ?></div><?php } ?>
<div class="row mt-4">
<div class="col-12">
<strong>Additional login options</strong>
<div class="note mt-2">Google account linking is temporarily disabled while the BYU login flow is being finalized.</div>
</div>
</div>
<div class="row mt-4">
<div class="col-12">
<a class="btn btn-primary" href="<?php echo $appRoot; ?>/index.php">Back to Home</a>
</div>
</div>
</div>
</section>
</div>
</div>
</main>
<?php audio_recorder_render_footer(); ?>
</body>
</html>