Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11225)

Unified Diff: appengine/components/components/auth/ui/templates/bootstrap.html

Issue 2838793002: auth: Split UI pages into admin and non-admin ones. (Closed)
Patch Set: comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/components/components/auth/ui/templates/bootstrap.html
diff --git a/appengine/components/components/auth/ui/templates/bootstrap.html b/appengine/components/components/auth/ui/templates/bootstrap.html
deleted file mode 100644
index 2d6c12f3dc6f48653d5a3f156cbbbfeb1679fb5d..0000000000000000000000000000000000000000
--- a/appengine/components/components/auth/ui/templates/bootstrap.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends 'auth/base_minimal.html' %}
-{% block content %}
-
-<h2>Add you to {{admin_group}} group?</h2>
-<p>You are logged in as <b>{{identity.name}}</b> and you'll be added to
-<b>{{admin_group}}</b> group. It will allow you to manage user groups and
-access protected pages.</p>
-<hr>
-<p>
- <a id="proceed-btn" class="btn btn-primary" href="#">Proceed</a>
- <a id="logout-btn" class="btn btn-default" href="#">Logout</a>
-</p>
-
-<form name="token" method="POST">
- <input type="hidden" name="xsrf_token" value="{{xsrf_token}}" />
- <input type="hidden" name="return_url" value="{{return_url}}" />
-</form>
-
-<script type="text/javascript" nonce="{{csp_nonce}}">
- $('#proceed-btn').click(function(e) {
- document.token.submit();
- e.preventDefault();
- });
-
- $('#logout-btn').click(function(e) {
- common.logout();
- e.preventDefault();
- });
-</script>
-
-{% endblock %}

Powered by Google App Engine
This is Rietveld 408576698