summaryrefslogtreecommitdiff
path: root/src/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.html')
-rw-r--r--src/profile.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/profile.html b/src/profile.html
new file mode 100644
index 00000000..23a1f5a3
--- /dev/null
+++ b/src/profile.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="google-signin-client_id"
+ content="184853849394-v89e96desio4dub3360vg32p1l4r3jqd.apps.googleusercontent.com">
+
+ <title>OpenDC - Profile</title>
+
+ <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <link href="styles/navbar.css" rel="stylesheet">
+ <link href="styles/profile.css" rel="stylesheet">
+
+ <link href="img/logo.png" rel="icon">
+</head>
+<body>
+<!-- build:include navbar.html -->
+<!-- /build -->
+<div class="content">
+ <div class="main-body profile-page">
+ <h2>Profile Settings</h2>
+ <div id="delete-account" class="btn btn-danger">Delete my account on OpenDC</div>
+ <div class="delete-info">This does not delete your Google account, it simply disconnects it from the OpenDC app
+ and deletes any datacenter info that is associated with you (simulation projects you own, and any
+ authorizations you may have on other projects).
+ </div>
+ <div class="account-delete-alert alert alert-danger" role="alert">
+ <strong>Oops!</strong> Something went wrong while attempting to delete your account, here is the message:
+ <code></code>
+ </div>
+ </div>
+</div>
+
+<div class="modal fade" id="confirm-delete-account" tabindex="-1" role="dialog" aria-labelledby="confirm-delete-header">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
+ aria-hidden="true">&times;</span></button>
+ <h4 class="modal-title" id="confirm-delete-header">Confirm account deletion</h4>
+ </div>
+ <div class="modal-body">
+ Are you really sure you want us to delete your account? This action <strong>can not</strong> be undone.
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
+ <button type="button" class="btn btn-danger confirm">Delete my account</button>
+ </div>
+ </div>
+ </div>
+</div>
+
+<script src="scripts/profile.entry.js"></script>
+
+<!-- Bower dependencies -->
+<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
+
+<!-- Google API -->
+<script src="https://apis.google.com/js/platform.js?onload=gapiSigninButton" async defer></script>
+
+</body>
+</html> \ No newline at end of file