| OLD | NEW |
| 1 # Copyright 2014 The LUCI Authors. All rights reserved. | 1 # Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Auth management UI handlers.""" | 5 """Auth management UI handlers.""" |
| 6 | 6 |
| 7 import functools | 7 import functools |
| 8 import json | 8 import json |
| 9 import os | 9 import os |
| 10 import urlparse | 10 import urlparse |
| 11 import webapp2 | 11 import webapp2 |
| 12 | 12 |
| 13 from google.appengine.api import users | 13 from google.appengine.api import users |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 navbar_tab_url = '/auth/ip_whitelists' | 401 navbar_tab_url = '/auth/ip_whitelists' |
| 402 navbar_tab_id = 'ip_whitelists' | 402 navbar_tab_id = 'ip_whitelists' |
| 403 navbar_tab_title = 'IP Whitelists' | 403 navbar_tab_title = 'IP Whitelists' |
| 404 js_file_url = '/auth/static/js/ip_whitelists.js' | 404 js_file_url = '/auth/static/js/ip_whitelists.js' |
| 405 template_file = 'auth/ip_whitelists.html' | 405 template_file = 'auth/ip_whitelists.html' |
| 406 | 406 |
| 407 | 407 |
| 408 # Register them as default tabs. | 408 # Register them as default tabs. |
| 409 _ui_navbar_tabs = ( | 409 _ui_navbar_tabs = ( |
| 410 GroupsHandler, ChangeLogHandler, OAuthConfigHandler, IPWhitelistsHandler) | 410 GroupsHandler, ChangeLogHandler, OAuthConfigHandler, IPWhitelistsHandler) |
| OLD | NEW |