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

Unified Diff: appengine/components/components/auth/ui/templates/linking.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/linking.html
diff --git a/appengine/components/components/auth/ui/templates/linking.html b/appengine/components/components/auth/ui/templates/linking.html
deleted file mode 100644
index e240d0b27cab6953385b23ca4735c1ac0e357285..0000000000000000000000000000000000000000
--- a/appengine/components/components/auth/ui/templates/linking.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends 'auth/base_minimal.html' %}
-{% block content %}
-
-<h3>Use {{primary_id}} as a primary authentication service?</h3>
-<p>After the switch all user group management (UI and REST API) will be
-performed on <a href="{{primary_url}}">{{primary_id}}</a>.
-</p>
-<ul>
- <li>Proposed by {{generated_by}}</li>
- <li>Primary service app id is {{primary_id}}</li>
- <li>Primary service URL is <a href="{{primary_url}}">{{primary_url}}</a></li>
-</ul>
-<p><b>All current groups will be permanently deleted. There's no undo.</b></p>
-<hr>
-<p>
- <a id="switch-btn" class="btn btn-danger" href="#">Switch</a>
-</p>
-
-<form name="token" method="POST">
- <input type="hidden" name="xsrf_token" value="{{xsrf_token}}" />
-</form>
-
-<script type="text/javascript" nonce="{{csp_nonce}}">
- $('#switch-btn').click(function(e) {
- document.token.submit();
- e.preventDefault();
- });
-</script>
-
-{% endblock %}

Powered by Google App Engine
This is Rietveld 408576698