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

Unified Diff: appengine/components/components/auth/ui/templates/admin/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/admin/bootstrap.html
diff --git a/appengine/components/components/auth/ui/templates/bootstrap.html b/appengine/components/components/auth/ui/templates/admin/bootstrap.html
similarity index 93%
rename from appengine/components/components/auth/ui/templates/bootstrap.html
rename to appengine/components/components/auth/ui/templates/admin/bootstrap.html
index 2d6c12f3dc6f48653d5a3f156cbbbfeb1679fb5d..132af95cb11435f1f8023c4c6cfebd3a7d55e016 100644
--- a/appengine/components/components/auth/ui/templates/bootstrap.html
+++ b/appengine/components/components/auth/ui/templates/admin/bootstrap.html
@@ -1,4 +1,4 @@
-{% extends 'auth/base_minimal.html' %}
+{% extends 'auth/admin/base.html' %}
{% block content %}
<h2>Add you to {{admin_group}} group?</h2>
@@ -23,7 +23,7 @@ access protected pages.</p>
});
$('#logout-btn').click(function(e) {
- common.logout();
+ redirectToLogout();
e.preventDefault();
});
</script>

Powered by Google App Engine
This is Rietveld 408576698